[FFmpeg-user] Dvb Subtitles stopping output
JULIAN GARDNER
joolzg at btinternet.com
Thu Mar 13 13:35:09 CET 2014
Ok ive been playing with dvbsubs and live streams for the last few hours and mostly good, BUT if there is a pause in the dvbsubs streams the output from ffmpeg stops as well and then when the subs start again ffmpeg dumps its packets out. This can be seen on the status line as the "size=" part stops increasing.
Now this causes the streams to stop/start.
command line
ffmpeg -i udp://225.171.0.48:1234 -vcodec libx264 -preset faster -b:v 1300k -acodec libfaac -ab 128k -ac 2 -async 1 -scodec copy -map 0:0 -map 0:1 -map 0:3 -f mpegts udp://225.170.73.192:1234?pkt_size=1316
ffmpeg version N-59799-g3e7d27b Copyright (c) 2000-2014 the FFmpeg developers
built on Jan 13 2014 10:54:16 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libmp3lame --enable-libx264 --enable-libzvbi --cc='ccache cc'
libavutil 52. 62.100 / 52. 62.100
libavcodec 55. 48.101 / 55. 48.101
libavformat 55. 23.103 / 55. 23.103
libavdevice 55. 5.102 / 55. 5.102
libavfilter 4. 1.100 / 4. 1.100
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100
[dvbsub @ 0x35d5100] composition_page_id 0002, ancillary_page_id 0002
[mpeg2video @ 0x35d3240] Invalid frame dimensions 0x0.
Last message repeated 19 times
[mpegts @ 0x35aebc0] Could not find codec parameters for stream 2 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels, s16p): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpegts, from 'udp://225.171.0.48:1234':
Duration: N/A, start: 93419.314222, bitrate: 128 kb/s
Program 22080
Stream #0:0[0x65]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv), 544x576 [SAR 32:17 DAR 16:9], max. 15000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x66](eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 128 kb/s
Stream #0:2[0x68](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels, s16p (visual impaired)
Stream #0:3[0x67](eng): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
Subtitle stream being copied, need to find extradata
SUBTITLE extradata being set
-async is forwarded to lavfi similarly to -af aresample=async=1:min_hard_comp=0.100000:first_pts=0.
[libx264 @ 0x35dea80] using SAR=32/17
[libx264 @ 0x35dea80] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x35dea80] profile High, level 3.0
Output #0, mpegts, to 'udp://225.170.73.192:1234?pkt_size=1316':
Metadata:
encoder : Lavf55.23.103
Stream #0:0: Video: h264 (libx264), yuv420p, 544x576 [SAR 32:17 DAR 16:9], q=-1--1, 1300 kb/s, 90k tbn, 25 tbc
Stream #0:1(eng): Audio: aac (libfaac), 48000 Hz, stereo, s16, 128 kb/s
Stream #0:2(eng): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
Stream mapping:
Stream #0:0 -> #0:0 (mpeg2video -> libx264)
Stream #0:1 -> #0:1 (mp2 -> libfaac)
Stream #0:3 -> #0:2 (copy)
Press [q] to stop, [?] for help
frame= 159 fps=0.0 q=17.0 size= 0kB time=00:00:05.54 bitrate= 0.0kbits/s dup=46 drop=0
frame= 179 fps=174 q=17.0 size= 0kB time=00:00:06.05 bitrate= 0.0kbits/s dup=46 drop=0
frame= 186 fps=122 q=16.0 size= 0kB time=00:00:06.54 bitrate= 0.0kbits/s dup=46 drop=0
frame= 204 fps=100 q=17.0 size= 0kB time=00:00:07.10 bitrate= 0.0kbits/s dup=46 drop=0
frame= 217 fps= 86 q=16.0 size= 0kB time=00:00:07.59 bitrate= 0.0kbits/s dup=46 drop=0
frame= 224 fps= 73 q=16.0 size= 0kB time=00:00:08.06 bitrate= 0.0kbits/s dup=46 drop=0
frame= 243 fps= 68 q=15.0 size= 0kB time=00:00:08.59 bitrate= 0.0kbits/s dup=46 drop=0
frame= 257 fps= 62 q=15.0 size= 0kB time=00:00:09.15 bitrate= 0.0kbits/s dup=46 drop=0
frame= 261 fps= 56 q=14.0 size= 0kB time=00:00:09.66 bitrate= 0.0kbits/s dup=46 drop=0
frame= 275 fps= 53 q=14.0 size= 0kB time=00:00:10.24 bitrate= 0.0kbits/s dup=46 drop=0
frame= 287 fps= 51 q=-1.0 Lsize= 2279kB time=00:00:11.40 bitrate=1637.5kbits/s dup=46 drop=0
Anybody have any ideas/fix for this?
joolz
More information about the ffmpeg-user
mailing list