[FFmpeg-trac] #3489(ffmpeg:new): Failure to copy AVI to AVI with MP2 present

FFmpeg trac at avcodec.org
Sat Mar 22 23:38:51 CET 2014


#3489: Failure to copy AVI to AVI with MP2 present
----------------------------------+-------------------------------------
             Reporter:  gdittmer  |                     Type:  defect
               Status:  new       |                 Priority:  important
            Component:  ffmpeg    |                  Version:  2.1.4
             Keywords:            |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
----------------------------------+-------------------------------------
 I convert HD satellite streams using
 cat *.TS4 | ffmpeg -i - -c copy in.avi
 ffmpeg -i in.avi -c copy out.avi

 in.avi works perfect, plays in VLC, can be converted to any other format.
 out.avi works the same if AC3 sound is auto-selected in line 1
 with MP2 sound auto-selected VLC plays no audio, other players on
 different platforms have mixed results:
 no playback at all, no video, no audio, delayed audio, symptoms mixed in
 one file
 Filesize is reduced after line 2 by 160 bytes.

 diagnostic output from line 2:
 Input #0, avi, from 'in.avi':
   Metadata:
     encoder         : Lavf55.19.104
   Duration: 01:48:14.52, start: 0.000000, bitrate: 11760 kb/s
     Stream #0:0: Video: h264 (High) (H264 / 0x34363248), yuv420p(tv,
 bt709), 1280x720 [SAR 1:1 DAR 16:9], 100 fps, 50 tbr, 100 tbn, 100 tbc
     Stream #0:1: Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz, stereo, s16p,
 256 kb/s
 Output #0, avi, to 'out.avi':
   Metadata:
     ISFT            : Lavf55.19.104
     Stream #0:0: Video: h264 (H264 / 0x34363248), yuv420p, 1280x720 [SAR
 1:1 DAR 16:9], q=2-31, 100 fps, 100 tbn, 100 tbc
     Stream #0:1: Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz, stereo, 256
 kb/s
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
   Stream #0:1 -> #0:1 (copy)

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3489>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list