[FFmpeg-trac] #1598(undetermined:open): muxing raw h264 into mpegts (and mkv) fails (was: MUX fail. X264 + AAC to TS.)

FFmpeg trac at avcodec.org
Fri Aug 3 21:52:07 CEST 2012


#1598: muxing raw h264 into mpegts (and mkv) fails
-------------------------------------+-------------------------------------
             Reporter:  Mista_D      |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:  mpegts h264  |               Resolution:
  av_interleaved_write_frame         |               Blocked By:
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by cehoyos):

 * status:  new => open
 * reproduced:  0 => 1
 * priority:  important => normal
 * version:  unspecified => git-master
 * keywords:  mpegts av_interleaved_write_frame => mpegts h264
     av_interleaved_write_frame


Comment:

 {{{
 $ ffmpeg -i out.h264 -vcodec copy out.ts
 ffmpeg version N-43170-gd84dd35 Copyright (c) 2000-2012 the FFmpeg
 developers
   built on Aug  3 2012 21:14:14 with gcc 4.3.2 (GCC)
   configuration: --cc=/usr/local/gcc-4.3.2/bin/gcc --enable-gpl --enable-
 libopenjpeg --enable-libvorbis --enable-libspeex --enable-libmp3lame
 --enable-libtheora --extra-ldflags=-lm --enable-libvpx --enable-libxavs
 --enable-x11grab --enable-libass --enable-nonfree --enable-libfaac
 --enable-libopus --enable-libfdk-aac
   libavutil      51. 66.100 / 51. 66.100
   libavcodec     54. 48.100 / 54. 48.100
   libavformat    54. 22.100 / 54. 22.100
   libavdevice    54.  2.100 / 54.  2.100
   libavfilter     3.  5.102 /  3.  5.102
   libswscale      2.  1.100 /  2.  1.100
   libswresample   0. 15.100 /  0. 15.100
   libpostproc    52.  0.100 / 52.  0.100
 [h264 @ 0x9118500] max_analyze_duration 5000000 reached at 5011233
 [h264 @ 0x9118500] Estimating duration from bitrate, this may be
 inaccurate
 Input #0, h264, from 'out.h264':
   Duration: N/A, bitrate: N/A
     Stream #0:0: Video: h264 (High), yuv420p, 176x144 [SAR 16:11 DAR
 16:9], 29.50 fps, 29.97 tbr, 1200k tbn, 59.94 tbc
 [mpegts @ 0x9112960] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt
 every 40 pkts
 Output #0, mpegts, to 'out.ts':
   Metadata:
     encoder         : Lavf54.22.100
     Stream #0:0: Video: h264, yuv420p, 176x144 [SAR 16:11 DAR 16:9],
 q=2-31, 29.50 fps, 90k tbn, 29.97 tbc
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
 Press [q] to stop, [?] for help
 [mpegts @ 0x9112960] first pts value must set
 av_interleaved_write_frame(): Invalid data found when processing input
 }}}

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


More information about the FFmpeg-trac mailing list