Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#The output and error I am getting from ffstream.sh (the error is at the bottom):
icanfly@ns4009874:~$ ./ffstream.sh ghost_in_the_shell\[1856x1008.h264.flac.ac3\]\[niizk\].mkv
ffmpeg version 2.2.git Copyright (c) 2000-2014 the FFmpeg developers
built on May 6 2014 18:27:16 with gcc 4.7 (Debian 4.7.2-5)
configuration: --prefix=/home/icanfly/ffmpeg_build --extra-cflags=-I/home/icanfly/ffmpeg_build/include --extra-ldflags=-L/home/icanfly/ffmpeg_build/lib --bindir=/home/icanfly/bin --extra-libs=-ldl --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-x11grab
libavutil 52. 81.100 / 52. 81.100
libavcodec 55. 60.103 / 55. 60.103
libavformat 55. 37.102 / 55. 37.102
libavdevice 55. 13.101 / 55. 13.101
libavfilter 4. 5.100 / 4. 5.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 18.100 / 0. 18.100
libpostproc 52. 3.100 / 52. 3.100
Input #0, matroska,webm, from 'ghost_in_the_shell[1856x1008.h264.flac.ac3][niizk].mkv':
Metadata:
encoder : libebml v0.7.7 + libmatroska v0.8.1
creation_time : 2009-08-15 23:47:38
Duration: 01:22:39.97, start: 0.000000, bitrate: 13231 kb/s
Stream #0:0: Video: h264 (High), yuv420p, 1856x1008, SAR 207:206 DAR 1334:721, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
Metadata:
title : Koukaku Kidoutai - Ghost in the Shell
Stream #0:1(jpn): Audio: flac, 48000 Hz, stereo, s16 (default)
Metadata:
title : 2.0 FLAC
Stream #0:2(eng): Audio: ac3, 48000 Hz, stereo, fltp, 640 kb/s
Metadata:
title : 2.0 AC3
Stream #0:3(eng): Subtitle: ssa (default)
Metadata:
title : ASS
Stream #0:4(eng): Subtitle: subrip
Metadata:
title : SRT
Stream #0:5: Attachment: ttf
Metadata:
filename : ITC Franklin Gothic LT Medium Condensed.ttf
mimetype : application/x-truetype-font
[matroska,webm @ 0x1e780e0] sub2video: using 1856x1008 canvas
[graph 0 input from stream 0:3 @ 0x1ef31a0] w:1856 h:1008 pixfmt:bgra tb:1/1000 fr:0/1 sar:0/1 sws_param:flags=2
[graph 0 input from stream 0:0 @ 0x1e79200] w:1856 h:1008 pixfmt:yuv420p tb:1/1000 fr:24000/1001 sar:207/206 sws_param:flags=2
[auto-inserted scaler 0 @ 0x1f991e0] w:iw h:ih flags:'bilinear' interl:0
[Parsed_overlay_0 @ 0x1f98400] auto-inserting filter 'auto-inserted scaler 0' between the filter 'graph 0 input from stream 0:3' and the filter 'Parsed_overlay_0'
[auto-inserted scaler 1 @ 0x1e6f580] w:iw h:ih flags:'bilinear' interl:0
[Parsed_overlay_0 @ 0x1f98400] auto-inserting filter 'auto-inserted scaler 1' between the filter 'graph 0 input from stream 0:0' and the filter 'Parsed_overlay_0'
[auto-inserted scaler 0 @ 0x1f991e0] w:1856 h:1008 fmt:bgra sar:0/1 -> w:1856 h:1008 fmt:yuva420p sar:0/1 flags:0x2
[auto-inserted scaler 1 @ 0x1e6f580] w:1856 h:1008 fmt:yuv420p sar:207/206 -> w:1856 h:1008 fmt:yuva420p sar:207/206 flags:0x2
[Parsed_overlay_0 @ 0x1f98400] main w:1856 h:1008 fmt:yuva420p overlay w:1856 h:1008 fmt:yuva420p eof_action:repeat
[Parsed_overlay_0 @ 0x1f98400] [framesync @ 0x1f1d528] Selected 1/1000 time base
[Parsed_overlay_0 @ 0x1f98400] [framesync @ 0x1f1d528] Sync level 2
[graph 1 input from stream 0:1 @ 0x1e66ce0] tb:1/48000 samplefmt:s16 samplerate:48000 chlayout:0x3
[audio format for output stream 0:1 @ 0x1f7f2e0] auto-inserting filter 'auto-inserted resampler 0' between the filter 'Parsed_anull_0' and the filter 'audio format for output stream 0:1'
[auto-inserted resampler 0 @ 0x1f56e00] ch:2 chl:stereo fmt:s16 r:48000Hz -> ch:1 chl:mono fmt:fltp r:22050Hz
[graph 2 input from stream 0:0 @ 0x1f57640] w:1856 h:1008 pixfmt:yuv420p tb:1/1000 fr:24000/1001 sar:207/206 sws_param:flags=2
[scaler for output stream 0:2 @ 0x1ef8a20] w:1280 h:720 flags:'0x4' interl:0
[scaler for output stream 0:2 @ 0x1ef8a20] w:1856 h:1008 fmt:yuv420p sar:207/206 -> w:1280 h:720 fmt:yuv420p sar:6003/5768 flags:0x4
[libvpx @ 0x1f792e0] v1.3.0
[libvpx @ 0x1f792e0] --prefix=/home/icanfly/ffmpeg_build --disable-examples
[libvpx @ 0x1f0e4a0] v1.3.0
[libvpx @ 0x1f0e4a0] --prefix=/home/icanfly/ffmpeg_build --disable-examples
Output #0, ffm, to 'http://cyberlife.io:8090/feed.ffm':
Metadata:
creation_time : now
encoder : Lavf55.37.102
Stream #0:0: Video: vp8 (libvpx), yuva420p, 1856x1008, q=10-52, 3000 kb/s, 1000k tbn, 23.98 tbc (default)
Metadata:
title : Koukaku Kidoutai - Ghost in the Shell
Stream #0:1(jpn): Audio: vorbis (libvorbis), 22050 Hz, mono, fltp, 48 kb/s (default)
Metadata:
title : 2.0 FLAC
Stream #0:2: Video: vp8 (libvpx), yuv420p, 1280x720 [SAR 6003:5768 DAR 1334:721], q=10-52, 3000 kb/s, 1000k tbn, 23.98 tbc (default)
Metadata:
title : Koukaku Kidoutai - Ghost in the Shell
Stream mapping:
Stream #0:0 (h264) -> overlay:overlay (graph 0)
Stream #0:3 (ssa) -> overlay:main (graph 0)
overlay (graph 0) -> Stream #0:0 (libvpx)
Stream #0:1 -> #0:1 (flac -> libvorbis)
Stream #0:0 -> #0:2 (h264 -> libvpx)
Press [q] to stop, [?] for help
*** 10 dup! fps=1.0 q=0.0 q=0.0 size= 4kB time=00:00:00.41 bitrate= 79.0kbits/s
av_interleaved_write_frame(): Connection reset by peer
Last message repeated 10 times
No more output streams to write to, finishing.
[output stream 0:1 @ 0x1e6ea00] 100 buffers queued in output stream 0:1, something may be wrong.
av_interleaved_write_frame(): Connection reset by peer
frame= 12 fps=7.9 q=0.0 Lq=0.0 size= 8kB time=00:00:00.62 bitrate= 105.2kbits/s dup=10 drop=0
video:10kB audio:0kB subtitle:0kB other streams:0kB global headers:3kB muxing overhead: unknown
Input file #0 (ghost_in_the_shell[1856x1008.h264.flac.ac3][niizk].mkv):
Input stream #0:0 (video): 22 packets read (489729 bytes); 22 frames decoded;
Input stream #0:1 (audio): 16 packets read (12535 bytes); 16 frames decoded (65536 samples);
Input stream #0:2 (audio): 8 packets read (20480 bytes);
Input stream #0:3 (subtitle): 0 packets read (0 bytes); 0 frames decoded;
Input stream #0:4 (subtitle): 0 packets read (0 bytes);
Input stream #0:5 (attachment): 0 packets read (0 bytes);
Total: 46 packets (522744 bytes) demuxed
Output file #0 (http://cyberlife.io:8090/feed.ffm):
Output stream #0:0 (video): 12 frames encoded; 12 packets muxed (7849 bytes);
Output stream #0:1 (audio): 234 frames encoded (14976 samples); 29 packets muxed (87 bytes);
Output stream #0:2 (video): 11 frames encoded; 11 packets muxed (1941 bytes);
Total: 52 packets (9877 bytes) muxed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.