[FFmpeg-trac] #1598(undetermined:open): Muxing raw h264 into mpegts (and mkv) fails.

FFmpeg trac at avcodec.org
Thu Oct 24 16:52:58 CEST 2013


#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            |
-------------------------------------+-------------------------------------

Comment (by Mista_D):

 Reproduced with FFmpeg 2.0.2

 1. ffmpeg -s 176x144 -f rawvideo -pix_fmt yuv420p -r 25 -i /dev/urandom
 -ar 32000 -ac 1 -f s16le -i /dev/urandom -t 10 -c:v libx264 -c:a libfaac
 noise.ts

 2. ffmpeg -i noise.ts -c:v copy noise.h264 -c:a copy noise.aac

 3. ffmpeg -i noise.h264 -i noise.aac -c copy remuxed.ts

 Same error:

 ffmpeg version 2.0.2 Copyright (c) 2000-2013 the FFmpeg developers
   built on Oct 23 2013 17:38:46 with gcc 4.1.2 (GCC) 20080704 (Red Hat
 4.1.2-52)
   configuration: --prefix=/ff64 --enable-static --enable-postproc
 --enable-gpl --enable-avfilter --enable-libx264 --enable-libxvid --enable-
 libmp3lame --enable-libfaac --enable-pthreads --enable-swscale --enable-
 runtime-cpudetect --disable-devices --disable-avdevice --extra-
 ldflags=-static --disable-shared --enable-bzlib --enable-zlib --extra-
 libs='-lx264 -lxvidcore -lmp3lame -lpthread -lm -lbz2 -lz -lpthread -lvpx
 -lass -lfontconfig -lexpat -lfreetype -lfaac' --disable-encoder=libgsm
 --disable-decoder=libgsm --disable-doc --enable-libvpx --enable-libass
 --enable-version3 --enable-nonfree --enable-libfreetype
   libavutil      52. 38.100 / 52. 38.100
   libavcodec     55. 18.102 / 55. 18.102
   libavformat    55. 12.100 / 55. 12.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, h264, from 'noise.h264':
   Duration: N/A, bitrate: N/A
     Stream #0:0: Video: h264 (High), yuv420p, 176x144, 25 fps, 25 tbr,
 1200k tbn, 50 tbc
 [aac @ 0xb1b9980] Estimating duration from bitrate, this may be inaccurate
 Input #1, aac, from 'noise.aac':
   Duration: 00:00:09.81, bitrate: 67 kb/s
     Stream #1:0: Audio: aac, 32000 Hz, mono, fltp, 67 kb/s
 Output #0, mpegts, to 'remuxed.ts':
   Metadata:
     encoder         : Lavf55.12.100
     Stream #0:0: Video: h264, yuv420p, 176x144, q=2-31, 25 fps, 90k tbn,
 25 tbc
     Stream #0:1: Audio: aac, 32000 Hz, mono, 67 kb/s
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
   Stream #1:0 -> #0:1 (copy)
 Press [q] to stop, [?] for help
 [mpegts @ 0xb143be0] first pts value must be set
 av_interleaved_write_frame(): Invalid data found when processing input

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


More information about the FFmpeg-trac mailing list