[FFmpeg-trac] #5749(undetermined:open): File produced ffmpeg by stream copy reports audio (AAC) for the stream that should be video (MPEG2)

FFmpeg trac at avcodec.org
Tue Aug 2 17:31:13 EEST 2016


#5749: File produced ffmpeg by stream copy reports audio (AAC) for the stream that
should be video (MPEG2)
-------------------------------------+-------------------------------------
             Reporter:  gyhrvy       |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:  mpegps       |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  1
-------------------------------------+-------------------------------------
Changes (by cehoyos):

 * keywords:   => mpegps
 * status:  new => open
 * version:  unspecified => git-master
 * reproduced:  0 => 1


Comment:

 For future tickets, please remember to always provide both the command
 line you tested and the complete, uncut console output.
 {{{
 $ ffmpeg -i vid00003_cut.mpg -vcodec copy -an -ss 1 out.vob
 ffmpeg version N-81219-g8ee113a Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl
   libavutil      55. 28.100 / 55. 28.100
   libavcodec     57. 51.100 / 57. 51.100
   libavformat    57. 44.100 / 57. 44.100
   libavdevice    57.  0.102 / 57.  0.102
   libavfilter     6. 49.100 /  6. 49.100
   libswscale      4.  1.100 /  4.  1.100
   libswresample   2.  1.100 /  2.  1.100
   libpostproc    54.  0.100 / 54.  0.100
 Input #0, mpeg, from 'vid00003_cut.mpg':
   Duration: 00:00:02.44, start: 0.384444, bitrate: 8393 kb/s
     Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, bt470bg),
 720x576 [SAR 16:15 DAR 4:3], 7680 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
     Stream #0:1[0x1c0]: Audio: mp2, 44100 Hz, stereo, s16p, 224 kb/s
 [svcd @ 0x3394c80] Using AVStream.codec to pass codec parameters to muxers
 is deprecated, use AVStream.codecpar instead.
 [svcd @ 0x3394c80] VBV buffer size not set, using default size of 130KB
 If you want the mpeg file to be compliant to some specification
 Like DVD, VCD or others, make sure you set the correct buffer size
 Output #0, svcd, to 'out.vob':
   Metadata:
     encoder         : Lavf57.44.100
     Stream #0:0: Video: mpeg2video (Main), yuv420p(tv, bt470bg), 720x576
 [SAR 16:15 DAR 4:3], q=2-31, 7680 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
 Press [q] to stop, [?] for help
 frame=   25 fps=0.0 q=-1.0 Lsize=    1018kB time=00:00:01.28
 bitrate=6515.1kbits/s speed= 251x
 video:1003kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 1.452841%
 }}}
 {{{
 $ ffmpeg -i out.vob
 ffmpeg version N-81219-g8ee113a Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl
   libavutil      55. 28.100 / 55. 28.100
   libavcodec     57. 51.100 / 57. 51.100
   libavformat    57. 44.100 / 57. 44.100
   libavdevice    57.  0.102 / 57.  0.102
   libavfilter     6. 49.100 /  6. 49.100
   libswscale      4.  1.100 /  4.  1.100
   libswresample   2.  1.100 /  2.  1.100
   libpostproc    54.  0.100 / 54.  0.100
 [mp3 @ 0x35ddd00] Header missing
     Last message repeated 406 times
 [mpeg @ 0x35dc280] decoding for stream 0 failed
 [mpeg @ 0x35dc280] Could not find codec parameters for stream 0 (Audio:
 mp3, 0 channels, s16p): unspecified frame size
 Consider increasing the value for the 'analyzeduration' and 'probesize'
 options
 Input #0, mpeg, from 'out.vob':
   Duration: 00:00:00.96, start: 0.620000, bitrate: 8686 kb/s
     Stream #0:0[0x1e0]: Audio: mp3, 0 channels, s16p
 At least one output file must be specified
 }}}

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


More information about the FFmpeg-trac mailing list