[libav-bugs] [Bug 362] New: Muxing raw h264 into matroska fails.

bugzilla-daemon at aruru.libav.org bugzilla-daemon at aruru.libav.org
Tue Sep 4 18:29:30 CEST 2012


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

           Summary: Muxing raw h264 into matroska 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


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 matroska:
avconv -loglevel debug -i sample.h264 -c copy -y out.mkv
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 @ 0x243a760] Probed with size=2048 and score=51
[h264 @ 0x243c780] no picture
    Last message repeated 1 times
[h264 @ 0x243a760] 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
Output #0, matroska, to 'out.mkv':
  Metadata:
    encoder         : Lavf54.14.0
    Stream #0.0, 0, 1/1000: Video: libx264, yuv420p, 640x480, 1/25, q=2-31, 1k
tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press ctrl-c to stop encoding
[matroska @ 0x243cfe0] Can't write packet with unknown timestamp
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