Skip to content

Instantly share code, notes, and snippets.

Andrey Utkin krieger-od

  • Ukraine, Odessa
Block or report user

Report or block krieger-od

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View lshw
# lshw
zver
description: Desktop Computer
product: System Product Name (SKU)
vendor: System manufacturer
version: System Version
serial: System Serial Number
width: 64 bits
capabilities: smbios-2.7 dmi-2.7 vsyscall32
configuration: boot=normal chassis=desktop family=To be filled by O.E.M. sku=SKU uuid=00EE3E3C-DAD7-DD11-B8D3-C860009D2688
View gist:5269c762a36bcb52b93a
$ ffplay http://lizard.bluecherry.net/~autkin/tw5864_tiled_video/ntsc_d1.h264 -loglevel debug
ffplay version N-74201-g5bf8590 Copyright (c) 2003-2015 the FFmpeg developers
built with gcc 4.9.2 (Gentoo 4.9.2 p1.4, pie-0.6.2)
configuration: --enable-debug=3 --disable-optimizations --extra-cflags='-O0 -g3 -ggdb3' --enable-pic --disable-stripping --enable-openssl --enable-protocol=file --enable-protocol=pipe --enable-protocol=http --enable-protocol=https --enable-muxer=matroska --enable-muxer=mjpeg --enable-muxer=rtp --enable-muxer=mp4 --enable-muxer=rtsp --enable-muxer=rawvideo --enable-muxer=data --enable-demuxer=rtsp --enable-demuxer=matroska --enable-demuxer=mjpeg --enable-decoder=h264 --enable-decoder=mpeg4 --enable-decoder=mjpeg --enable-parser=h264 --enable-parser=mpeg4video --enable-parser=mjpeg --enable-encoder=mjpeg --enable-encoder=mpeg4 --enable-encoder=rawvideo --enable-encoder=libx264 --enable-libx264 --enable-gpl --enable-nonfree --enable-libfreetype --enable-libopenh264 --enable-libvpx --enab
View chrome_vp8enc_no_ref_last.patch
--- third_party/webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc.bkp 2015-05-27 15:20:40.791671042 +0300
+++ third_party/webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc 2015-05-27 15:19:39.733545694 +0300
@@ -787,6 +787,8 @@
return WEBRTC_VIDEO_CODEC_OK;
}
flags[i] = ret;
+ // Never reference previous frame. It breaks decoding of sequential non-key frames if one non-key frame is lost.
+ flags[i] |= VP8_EFLAG_NO_REF_LAST;
}
bool send_key_frame = false;
View rtpengine CPU usage
# while true; do sleep 0.3; top -p 13959 -n 1 | head -n8 | tail -n1; done
13959 root 20 0 400520 7880 1760 S 0.0 0.2 1:23.93 rtpengine
13959 root 20 0 400520 7880 1760 S 0.0 0.2 1:23.93 rtpengine
13959 root 20 0 400520 7880 1760 S 0.0 0.2 1:23.93 rtpengine
13959 root 20 0 400520 7880 1760 S 0.0 0.2 1:23.95 rtpengine
13959 root 20 0 400520 7880 1760 S 6.6 0.2 1:23.96 rtpengine
View pactl_list_sources__bluecherry
krieger@krieger-ubuntu:~$ pactl list sources
Source #0
State: IDLE
Name: alsa_output.pci-0000_00_1b.0.analog-stereo.monitor
Description: Monitor of Built-in Audio Analog Stereo
Driver: module-alsa-card.c
Sample Specification: s16le 2ch 44100Hz
Channel Map: front-left,front-right
Owner Module: 4
Mute: no
View gist:8007327
$ for x in indevs outdevs protocols parsers bsfs demuxers decoders hwaccels filters encoders muxers ; do echo $x:; diff -Nurd <(cd libav/; ./configure --list-$x) <(cd ffmpeg/; ./configure --list-$x); done
indevs:
--- /dev/fd/63 2013-12-17 17:59:38.028803880 +0200
+++ /dev/fd/62 2013-12-17 17:59:38.028803880 +0200
@@ -1,10 +1,14 @@
alsa
bktr
+dshow
dv1394
fbdev
View ffmpeg as client to gstreamer rtsp app output
I=0; while true; do I=$(( I + 1 )); echo -e "\n\n\nI=$I\n\n\n"; DISPLAY=:0; ffmpeg -i rtsp://127.0.0.1:8554/test -t 5 -codec copy -f null /dev/null -y; sleep 1; done
...
I=144
ffmpeg version N-58037-g355cea8 Copyright (c) 2000-2013 the FFmpeg developers
built on Nov 12 2013 01:29:48 with gcc 4.6.3 (Gentoo 4.6.3 p1.13, pie-0.5.2)
configuration: --enable-gpl --enable-libx264 --enable-encoder=libx264 --disable-stripping --enable-debug --extra-cflags='-O0 -g -ggdb' --enable-libvidstab
View rr rtsp serving app output
$ GST_DEBUG=3 ./rr "( videotestsrc ! x264enc ! rtph264pay name=pay0 pt=96 )"
0:00:01.431607364 17993 0x7f4d4c02a000 FIXME default gstutils.c:3626:gst_pad_create_stream_id_internal:<videotestsrc0:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
0:00:01.431697046 17993 0x7f4d4c02a1e0 FIXME default gstutils.c:3626:gst_pad_create_stream_id_internal:<appsrc0:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
0:00:01.431777678 17993 0x7f4d4c02a2d0 FIXME default gstutils.c:3626:gst_pad_create_stream_id_internal:<appsrc1:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
0:00:01.469492204 17993 0x18cf940 FIXME rtspmedia rtsp-media.c:2392:gst_rtsp_media_suspend: suspend for dynamic pipelines needs fixing
0:00:06.633776363 17993 0x18cf940 WARN rtspmedia rtsp-media.c:2662:gst_rtsp_media_set_state:
View rr_rtsp_server.gdb_out
gdb ./rr core.1385231786.10262
GNU gdb (Gentoo 7.5.1 p2) 7.5.1
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
View rr_rtsp_server.out
GST_DEBUG=4 G_DEBUG=fatal_criticals ./rr "( videotestsrc ! x264enc ! rtph264pay name=pay0 pt=96 )"
0:00:00.000047362 10262 0x2459800 INFO GST_INIT gst.c:502:init_pre: Initializing GStreamer Core Library version 1.2.0
0:00:00.000113458 10262 0x2459800 INFO GST_INIT gst.c:503:init_pre: Using library installed in /usr/lib64
0:00:00.000128468 10262 0x2459800 INFO GST_INIT gst.c:513:init_pre: Linux zver 3.8.13-gentoo-zver #1 SMP PREEMPT Thu May 23 13:59:19 EEST 2013 x86_64
0:00:00.000862879 10262 0x2459800 INFO GST_INIT gstmessage.c:123:_priv_gst_message_initialize: init messages
0:00:00.000973121 10262 0x2459800 INFO GST_INIT gstcontext.c:77:_priv_gst_context_initialize: init contexts
0:00:00.001145172 10262 0x2459800 INFO GST_PLUGIN_LOADING gstplugin.c:317:_priv_gst_plugin_initialize: registering 0 static plugins
0:00:00.001267549 10262 0x2459800 INFO GST_PLUGIN_LOADING gstplugin.c:225:gst_plug
You can’t perform that action at this time.