[libav-bugs] [Bug 361] New: Muxing raw h264 into mpegts fails.

bugzilla-daemon at aruru.libav.org bugzilla-daemon at aruru.libav.org
Tue Sep 4 18:08:03 CEST 2012


https://bugzilla.libav.org/show_bug.cgi?id=361

           Summary: Muxing raw h264 into mpegts fails.
           Product: Libav
           Version: git HEAD
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: libavformat
        AssignedTo: bugzilla at libav.org
        ReportedBy: john.vansickle at gmail.com


I found an older bug on this issue and it appears to have never been fixed.
http://roundup.libav.org/issue2081

----------------------------------------

To reproduce create a small h264 sample (I tried other samples too):
avconv -f rawvideo -s 640x480 -pix_fmt yuv420p -r 25 -i /dev/zero -frames:v 50
-c:v libx264 -crf 20 -f h264 sample.h264

Then try muxing into mpegts:
avconv -loglevel debug -i sample.h264 -c copy -f mpegts -y out.ts
avconv version v0.8-2962-gec36aa6, Copyright (c) 2000-2012 the Libav developers
  built on Aug 30 2012 15:22:08 with gcc 4.7 (Debian 4.7.1-7)
  configuration:
--extra-cflags=-I/home/john/.custom.software/builds/libav-2012.08.30-15.09/include
--extra-ldflags=-L/home/john/.custom.software/builds/libav-2012.08.30-15.09/lib
--prefix=/home/john/.custom.software/builds/libav-2012.08.30-15.09 --enable-gpl
--enable-version3 --enable-nonfree --enable-x11grab --enable-libmp3lame
--enable-libx264 --enable-libvo-aacenc --enable-libvorbis --enable-libvpx
--enable-libfreetype --enable-libtheora --enable-libspeex --enable-debug
  libavutil     51. 39. 0 / 51. 39. 0
  libavcodec    54. 26. 1 / 54. 26. 1
  libavformat   54. 14. 0 / 54. 14. 0
  libavdevice   53.  2. 0 / 53.  2. 0
  libavfilter    3.  1. 0 /  3.  1. 0
  libavresample  0.  0. 3 /  0.  0. 3
  libswscale     2.  1. 1 /  2.  1. 1
[h264 @ 0x2f9d760] Probed with size=2048 and score=51
[h264 @ 0x2f9f780] no picture
    Last message repeated 1 times
[h264 @ 0x2f9d760] Estimating duration from bitrate, this may be inaccurate
Input #0, h264, from 'sample.h264':
  Duration: N/A, bitrate: N/A
    Stream #0.0, 50, 1/25: Video: h264 (High), yuv420p, 640x480, 1/50, 25 fps,
25 tbr, 25 tbn, 50 tbc
[mpegts @ 0x2f9ffe0] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt
every 40 pkts
Output #0, mpegts, to 'out.ts':
  Metadata:
    encoder         : Lavf54.14.0
    Stream #0.0, 0, 1/90000: Video: libx264, yuv420p, 640x480, 1/25, q=2-31,
90k tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press ctrl-c to stop encoding
[mpegts @ 0x2f9ffe0] first pts value must set
av_interleaved_write_frame(): Invalid argument

-- 
Configure bugmail: https://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the libav-bugs mailing list