[FFmpeg-trac] #536(avformat:open): Mux H264 and AAC into WTV (was: WTV MUX - Cannot consume AAC audio or H.264 video...)

FFmpeg trac at avcodec.org
Sat Oct 8 14:16:00 CEST 2011


#536: Mux H264 and AAC into WTV
-------------------------------------+------------------------------------
             Reporter:  ianken       |                    Owner:  michael
                 Type:  enhancement  |                   Status:  open
             Priority:  wish         |                Component:  avformat
              Version:  git-master   |               Resolution:
             Keywords:  wtv          |               Blocked By:
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  0            |
-------------------------------------+------------------------------------
Changes (by cehoyos):

 * status:  new => open
 * reproduced:  0 => 1
 * component:  FFmpeg => avformat
 * priority:  normal => wish
 * version:  unspecified => git-master
 * keywords:  wtv mux h.264 aac => wtv


Comment:

 Demuxing works fine.

 For future reports:
 Please always provide a failing command line including complete, uncut
 output


 {{{
 $ ./ffmpeg -i fate-suite/h264-conformance/AUD_MW_E.264 -vcodec copy
 out.wtv
 ffmpeg version N-33344-g86602d1, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Oct  7 2011 10:23:52 with gcc 4.5.3
   configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc --enable-libmp3lame
   libavutil    51. 20. 0 / 51. 20. 0
   libavcodec   53. 19. 1 / 53. 19. 1
   libavformat  53. 14. 0 / 53. 14. 0
   libavdevice  53.  4. 0 / 53.  4. 0
   libavfilter   2. 43. 6 /  2. 43. 6
   libswscale    2.  1. 0 /  2.  1. 0
 [h264 @ 0x12d3780] Estimating duration from bitrate, this may be
 inaccurate

 Seems stream 0 codec frame rate differs from container frame rate: 50.00
 (50/1) -> 25.00 (50/2)
 Input #0, h264, from 'fate-suite/h264-conformance/AUD_MW_E.264':
   Duration: N/A, bitrate: N/A
     Stream #0:0: Video: h264 (Constrained Baseline), yuv420p, 176x144, 25
 fps, 25 tbr, 1200k tbn, 50 tbc
 [wtv @ 0x12d40e0] can't get video codec_id (0x1c) guid.
 [wtv @ 0x12d40e0] write stream codec info failed codec_type(0x0)
 [wtv @ 0x12d40e0] write stream codec failed codec_type(0x0)
 Output #0, wtv, to 'out.wtv':
   Metadata:
     encoder         : Lavf53.14.0
     Stream #0:0: Video: h264 (H264 / 0x34363248), yuv420p, 176x144,
 q=2-31, 90k tbn, 25 tbc
 Stream mapping:
   Stream #0.0 -> #0.0 (copy)
 Could not write header for output file #0 (incorrect codec parameters ?)
 }}}

 {{{
 $ ./ffmpeg -i fate-suite/aac/al04_44.mp4 -acodec copy out.wtv
 ffmpeg version N-33344-g86602d1, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Oct  7 2011 10:23:52 with gcc 4.5.3
   configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc --enable-libmp3lame
   libavutil    51. 20. 0 / 51. 20. 0
   libavcodec   53. 19. 1 / 53. 19. 1
   libavformat  53. 14. 0 / 53. 14. 0
   libavdevice  53.  4. 0 / 53.  4. 0
   libavfilter   2. 43. 6 /  2. 43. 6
   libswscale    2.  1. 0 /  2.  1. 0
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'fate-suite/aac/al04_44.mp4':
   Metadata:
     major_brand     : mp42
     minor_version   : 0
     compatible_brands: mp42isom
     creation_time   : 2004-02-19 14:38:56
   Duration: 00:00:08.24, start: 0.000000, bitrate: 67 kb/s
     Stream #0:0(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, 1
 channels, s16, 63 kb/s
     Metadata:
       creation_time   : 2004-02-19 14:38:56
 [wtv @ 0x12e40a0] can't get video codec_id (0x15002) guid.
 [wtv @ 0x12e40a0] write stream codec info failed codec_type(0x1)
 [wtv @ 0x12e40a0] write stream codec failed codec_type(0x1)
 Output #0, wtv, to 'out.wtv':
   Metadata:
     major_brand     : mp42
     minor_version   : 0
     compatible_brands: mp42isom
     creation_time   : 2004-02-19 14:38:56
     encoder         : Lavf53.14.0
     Stream #0:0(und): Audio: aac ([255][0][0][0] / 0x00FF), 44100 Hz, 1
 channels, 63 kb/s
     Metadata:
       creation_time   : 2004-02-19 14:38:56
 Stream mapping:
   Stream #0.0 -> #0.0 (copy)
 Could not write header for output file #0 (incorrect codec parameters ?)
 }}}

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


More information about the FFmpeg-trac mailing list