[FFmpeg-trac] #3768(ffmpeg:open): dvbsub to overlay get corrupt output

FFmpeg trac at avcodec.org
Thu Jul 31 23:02:39 CEST 2014


#3768: dvbsub to overlay get corrupt output
-------------------------------------+-------------------------------------
             Reporter:               |                    Owner:
  er.anshul.maheshwari@…             |                   Status:  open
                 Type:  defect       |                Component:  ffmpeg
             Priority:  important    |               Resolution:
              Version:  git-master   |               Blocked By:
             Keywords:  dvbsub       |  Reproduced by developer:  1
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by bade):

 I am experiencing a simular problem after compute_edt was introduced in
 this commit
 [http://git.videolan.org/?p=ffmpeg.git;a=commit;h=ca2f59e12108c1754d57a5614f6e38253268b916].

 My dvb subtitles are either not shown, or only shown for about 1 frame. My
 command line is the follow:

 ffmpeg.exe -y -i sample.ts -filter_complex "crop=w=1280:h=718:x=0:y=2
 [vid];[vid]scale=720:404 [vid2]; [0:s:2]crop=w=720:h=576:x=0:y=0
 [sub];[sub]scale=720:404 [sub2];[vid2] [sub2] overlay" -vcodec libx264
 -x264opts -preset slow -level 3.1 -crf 21 -an -threads 0 -r 25 sample.mp4

 The same command line works fine with a ffmpeg version from before the
 commit (eg. version 2.2.3).

 I have uploaded a sample .ts file so its possible to reproduce here
 [http://www.datafilehost.com/d/0832a220]

 And an output sample of the correct .mp4 file produced by an old ffmpeg
 version here [http://www.datafilehost.com/d/ba2eb673]

 The .ts file has the following properties, im using the subtitles in
 stream 0:5 in my command line:

 ffmpeg.exe -i sample.ts
 ffmpeg version N-65126-gdc315cd Copyright (c) 2000-2014 the FFmpeg
 developers
   built on Jul 30 2014 22:26:17 with gcc 4.8.3 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-av
 isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
 --enab
 le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-
 libcaca --
 enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc
 --enable-lib
 modplug --enable-libmp3lame --enable-libopencore-amrnb --enable-
 libopencore-amrw
 b --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-
 libschroedinge
 r --enable-libsoxr --enable-libspeex --enable-libtheora --enable-
 libtwolame --en
 able-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-
 libvorbis
  --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264
 --enable-
 libx265 --enable-libxavs --enable-libxvid --enable-decklink --enable-zlib
   libavutil      52. 94.100 / 52. 94.100
   libavcodec     55. 71.100 / 55. 71.100
   libavformat    55. 50.100 / 55. 50.100
   libavdevice    55. 13.102 / 55. 13.102
   libavfilter     4. 11.102 /  4. 11.102
   libswscale      2.  6.100 /  2.  6.100
   libswresample   0. 19.100 /  0. 19.100
   libpostproc    52.  3.100 / 52.  3.100
 [mp3 @ 02b378a0] Header missing
     Last message repeated 3 times
 [h264 @ 02b36f80] reference picture missing during reorder
 [h264 @ 02b36f80] Missing reference picture, default is 65522
 [h264 @ 02b36f80] mmco: unref short failure
 [mp3 @ 02b378a0] Header missing
     Last message repeated 16 times
 Input #0, mpegts, from 'sample.ts':
   Duration: 00:00:11.17, start: 0.085178, bitrate: 5000 kb/s
   Program 1
     Stream #0:0[0x907]: Video: h264 (High) ([27][0][0][0] / 0x001B),
 yuv420p(tv,
  bt709), 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
     Stream #0:1[0x911](dan): Audio: mp3 ([17][0][0][0] / 0x0011), 44100
 Hz, ster
 eo, s16p, 384 kb/s
     Stream #0:2[0x915](dan): Audio: aac_latm ([17][0][0][0] / 0x0011),
 48000 Hz,
  5.1, fltp
     Stream #0:3[0x7ef](dan): Subtitle: dvb_teletext ([6][0][0][0] /
 0x0006)
     Stream #0:4[0x91f](dan): Subtitle: dvb_subtitle ([6][0][0][0] /
 0x0006)
     Stream #0:5[0x920](dan): Subtitle: dvb_subtitle ([6][0][0][0] /
 0x0006) (hea
 ring impaired)

 Last a quick question. Is it possible to manually disable compute_edt
 using the command line, I can't seem to find it as an option for the
 dvbsub decoder.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3768#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list