[FFmpeg-trac] #4200(undetermined:new): dvbsub burning overlay not working
FFmpeg
trac at avcodec.org
Sat Dec 20 12:20:51 CET 2014
#4200: dvbsub burning overlay not working
-------------------------------------+-------------------------------------
Reporter: gentian | Type: defect
Status: new | Priority: important
Component: | Version: git-
undetermined | master
Keywords: dvbsub | Blocked By:
overlay subtitles burning | Reproduced by developer: 0
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
I have been trying to burn live dvbsub subtitles into HLS stream but it is
not working. The encoding starts fine but there are no subtitles on the
video. sometimes you can see them only for a second and then nothing is
shown except some clicks and freezes on the video. what could be wrong?
ffmpeg -i 'udp://@232.1.1.1:5500?fifo_size=1000000&overrun_nonfatal=1'
-filter_complex "[0:p:1002:0][0:p:1002:2]overlay[v]" -map [v] -map
0:p:1002:1 -c:v libx264 -preset superfast -b:v 3024k -maxrate 3024k
-bufsize 1024k -c:a copy -async 1 -deinterlace -f tee
[hls_time=10:hls_list_size=2:hls_wrap=4:start_number=1]/var/www/html/test.m3u8
ffmpeg version git-2014-12-19-c89751a Copyright (c) 2000-2014 the FFmpeg
developers
built on Dec 19 2014 05:46:34 with gcc 4.8.2 (GCC) 20140120 (Red Hat
4.8.2-16)
configuration: --prefix=/root/ffmpeg_build --extra-
cflags=-I/root/ffmpeg_build/include --extra-
ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --extra-libs=-ldl
--enable-gpl --enable-nonfree --enable-libfdk_aac --enable-libx264
--enable-libx265 --enable-libfreetype --enable-fontconfig --enable-iconv
libavutil 54. 15.100 / 54. 15.100
libavcodec 56. 16.100 / 56. 16.100
libavformat 56. 16.101 / 56. 16.101
libavdevice 56. 3.100 / 56. 3.100
libavfilter 5. 4.100 / 5. 4.100
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
[h264 @ 0x2496600] non-existing SPS 0 referenced in buffering period
[h264 @ 0x2496600] non-existing PPS 0 referenced
[h264 @ 0x2496600] non-existing SPS 0 referenced in buffering period
[h264 @ 0x2496600] non-existing PPS 0 referenced
[h264 @ 0x2496600] decode_slice_header error
[h264 @ 0x2496600] no frame!
Input #0, mpegts, from
'udp://@232.1.1.1:5500?fifo_size=1000000&overrun_nonfatal=1':
Duration: N/A, start: 2117.316033, bitrate: N/A
Program 1002
Metadata:
service_name : Film
service_provider: TEST
Stream #0:0[0x3fd]: Video: h264 (Main) ([27][0][0][0] / 0x001B),
yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 50 tbr, 90k tbn,
50 tbc
Stream #0:1[0x3fe](eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz,
stereo, s16p, 160 kb/s
Stream #0:2[0x401](alb): Subtitle: dvb_subtitle ([6][0][0][0] /
0x0006)
Stream #0:3[0x402](eng): Subtitle: dvb_subtitle ([6][0][0][0] /
0x0006)
[mpegts @ 0x247b360] sub2video: using 1920x1080 canvas
[libx264 @ 0x26c8420] using SAR=1/1
[libx264 @ 0x26c8420] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
AVX
[libx264 @ 0x26c8420] profile High, level 4.0
Output #0, tee, to
'[hls_time=10:hls_list_size=2:hls_wrap=4:start_number=1]/var/www/html/test.m3u8':
Metadata:
encoder : Lavf56.16.101
Stream #0:0: Video: h264 (libx264), yuv420p, 1920x1080 [SAR 1:1 DAR
16:9], q=-1--1, 3024 kb/s, 25 fps, 25 tbn, 25 tbc (default)
Metadata:
encoder : Lavc56.16.100 libx264
Stream #0:1(eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz,
stereo, 160 kb/s
Stream mapping:
Stream #0:0 (h264) -> overlay:main
Stream #0:2 (dvbsub) -> overlay:overlay
overlay -> Stream #0:0 (libx264)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[h264 @ 0x33a0f20] reference picture missing during reorder
[h264 @ 0x33a0f20] Missing reference picture, default is 2147483647
[h264 @ 0x24fc7c0] mmco: unref short failure
[h264 @ 0x24fc7c0] reference picture missing during reorder
[h264 @ 0x24fc7c0] Missing reference picture, default is 65600
[h264 @ 0x47aed60] mmco: unref short failure
[h264 @ 0x26155e0] mmco: unref short failure
[mpegts @ 0x247b360] PES packet size mismatch
Last message repeated 10 times
[mpegts @ 0x247b360] PES packet size mismatch0:03.33 bitrate=N/A dup=56
drop=0
frame= 162 fps= 40 q=-1.0 Lsize=N/A time=00:00:06.40 bitrate=N/A dup=56
drop=0
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4200>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list