Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#924 closed defect (invalid)

h264 Blu-Ray/HD DVD -> Matroska remuxing doesn't work

Reported by: dear@… Owned by: beastd
Priority: normal Component: vo
Version: unspecified Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

Trying to remux a h264 m2ts file to Matroska. Remuxing just stalls. ffmpeg runs at 100% CPU all the time, but the MKV file stays at 141KB.

C:\Desktop>ffmpeg.exe -i Departed.m2ts -vcodec copy Departed.mkv
FFmpeg version Sherpya-r10707, Copyright (c) 2000-2007 Fabrice Bellard, et al.

libavutil version: 49.5.0
libavcodec version: 51.45.0
libavformat version: 51.14.0
built on Oct 11 2007 06:25:25, gcc: 4.2.1 [Sherpya]

Input #0, mpegts, from 'Departed.m2ts':

Duration: 00:02:23.4, start: 0.287267, bitrate: 6882 kb/s
Stream #0.0[0x1011]: Video: h264, yuv420p, 1920x1080, 25.00 fps(r)

Output #0, matroska, to 'Departed.mkv':

Stream #0.0: Video: libx264, yuv420p, 1920x1080, q=2-31, 25.00 fps(c)

Stream mapping:

Stream #0.0 -> #0.0

Press [q] to stop encoding

And if I try to remux an EVO file, I get this:

C:\Desktop>ffmpeg.exe -i Departed.evo -vcodec copy Departed.mkv
FFmpeg version Sherpya-r10707, Copyright (c) 2000-2007 Fabrice Bellard, et al.

libavutil version: 49.5.0
libavcodec version: 51.45.0
libavformat version: 51.14.0
built on Oct 11 2007 06:25:25, gcc: 4.2.1 [Sherpya]

Seems stream 0 codec frame rate differs from container frame rate: 1.#J (1/0) ->

90000.00 (90000/1)

Input #0, mpeg, from 'Departed.evo':

Duration: 00:02:23.4, start: 0.287267, bitrate: 6129 kb/s
Stream #0.0[0x1e2]: Video: mpeg2video, 90000.00 fps(r)

Output #0, matroska, to 'Departed.mkv':

Stream #0.0: Video: mpeg2video, q=2-31, 90000.00 fps(c)

Stream mapping:

Stream #0.0 -> #0.0

[matroska @ 00A3C94C]dimensions not set
Could not write header for output file #0 (incorrect codec parameters ?)

It seems that the EVO splitter doesn't recognize the h264 video stream correctly. 0x1e2 is h264 and not mpeg2. Tests were done with the "Departed Trailer" EVO sample. The m2ts was remuxed from the EVO file with the TsRemux tool.

Change History (2)

comment:1 by reimar, 17 years ago

Resolution: invalid
Status: newclosed

This certainly is not an MPlayer bug, submit it to the FFmpeg roundup bug tracker.

comment:2 by dear@…, 17 years ago

Could you please give me a link to the ffmpeg bug tracker? I didn't find it. Thank you!!

Note: See TracTickets for help on using tickets.