[FFmpeg-trac] #2969(undetermined:open): Matroska video track with overlay marked as non-default

FFmpeg trac at avcodec.org
Wed Sep 18 10:55:02 CEST 2013


#2969: Matroska video track with overlay marked as non-default
-------------------------------------+-------------------------------------
             Reporter:  MarkZV       |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  important    |                Component:
              Version:  git-master   |  undetermined
             Keywords:  regression   |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  1
-------------------------------------+-------------------------------------
Changes (by cehoyos):

 * priority:  normal => important
 * status:  new => open
 * reproduced:  0 => 1


Comment:

 From a users' perspective, this is a regression since c6f4a3a but it was
 actually reproducible before (with the sample from ticket #1815):
 {{{
 $ ffmpeg -i test_orig.mkv -i ffmpeg-logo.png -filter_complex overlay -sn
 out.mkv
 ffmpeg version 2.0 Copyright (c) 2000-2013 the FFmpeg developers
   built on Aug 14 2013 14:02:28 with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl
   libavutil      52. 38.100 / 52. 38.100
   libavcodec     55. 18.102 / 55. 18.102
   libavformat    55. 12.100 / 55. 12.100
   libavdevice    55.  3.100 / 55.  3.100
   libavfilter     3. 79.101 /  3. 79.101
   libswscale      2.  3.100 /  2.  3.100
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  3.100 / 52.  3.100
 Input #0, matroska,webm, from 'test_orig.mkv':
   Metadata:
     creation_time   : 2012-10-15 18:28:54
   Duration: 00:00:30.02, start: 0.000000, bitrate: 102 kb/s
     Stream #0:0: Video: h264 (High), yuv420p, 320x240, SAR 1:1 DAR 4:3, 25
 fps, 25 tbr, 1k tbn, 50 tbc (default)
     Stream #0:1: Audio: ac3, 48000 Hz, stereo, fltp, 32 kb/s (default)
 (forced)
     Stream #0:2: Audio: ac3, 48000 Hz, stereo, fltp, 32 kb/s (forced)
     Stream #0:3: Audio: ac3, 48000 Hz, stereo, fltp, 32 kb/s
     Stream #0:4: Subtitle: dvd_subtitle (default)
     Stream #0:5: Subtitle: dvd_subtitle (forced)
     Stream #0:6: Subtitle: dvd_subtitle
 Input #1, image2, from 'ffmpeg-logo.png':
   Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
     Stream #1:0: Video: png, rgba, 396x100, 25 tbr, 25 tbn, 25 tbc
 Output #0, matroska, to 'out.mkv':
   Metadata:
     encoder         : Lavf55.12.100
     Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 320x240 [SAR
 1:1 DAR 4:3], q=2-31, 200 kb/s, 1k tbn, 25 tbc
     Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, fltp,
 192 kb/s (default) (forced)
 Stream mapping:
   Stream #0:0 (h264) -> overlay:main (graph 0)
   Stream #1:0 (png) -> overlay:overlay (graph 0)
   overlay (graph 0) -> Stream #0:0 (mpeg4)
   Stream #0:1 -> #0:1 (ac3 -> ac3)
 Press [q] to stop, [?] for help
 frame=  750 fps=0.0 q=2.0 Lsize=    1077kB time=00:00:30.01 bitrate=
 294.1kbits/s
 video:360kB audio:704kB subtitle:0 global headers:0kB muxing overhead
 1.262209%
 }}}
 {{{
 $ ffmpeg -i out.mkv
 ffmpeg version 2.0 Copyright (c) 2000-2013 the FFmpeg developers
   built on Aug 14 2013 14:02:28 with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl
   libavutil      52. 38.100 / 52. 38.100
   libavcodec     55. 18.102 / 55. 18.102
   libavformat    55. 12.100 / 55. 12.100
   libavdevice    55.  3.100 / 55.  3.100
   libavfilter     3. 79.101 /  3. 79.101
   libswscale      2.  3.100 /  2.  3.100
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  3.100 / 52.  3.100
 Input #0, matroska,webm, from 'out.mkv':
   Metadata:
     ENCODER         : Lavf55.12.100
   Duration: 00:00:30.02, start: 0.000000, bitrate: 294 kb/s
     Stream #0:0: Video: mpeg4 (Simple Profile), yuv420p, 320x240 [SAR 1:1
 DAR 4:3], 25 fps, 25 tbr, 1k tbn, 25 tbc
     Stream #0:1: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s (default)
 (forced)
 At least one output file must be specified
 }}}
 From a quick look, the matroska muxer behaves correctly: If the input file
 contains a non-default video track and a default audio-track, the video
 tracks default flag is set to 0, the audio tracks to 1.

 I suspect the filter system or the overlay filter do not copy the
 disposition.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2969#comment:1>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list