[FFmpeg-devel] [RFC] comment mpegvideo_split
Måns Rullgård
mans
Fri Apr 4 00:20:15 CEST 2008
Michael Niedermayer <michaelni at gmx.at> writes:
> On Thu, Apr 03, 2008 at 11:05:18PM +0200, Baptiste Coudurier wrote:
>> Michael Niedermayer wrote:
>> > On Thu, Apr 03, 2008 at 03:52:19PM +0200, Baptiste Coudurier wrote:
>> > [...]
>> >> FYI:
>> >> ffmpeg -i <file.m2v> -vcodec copy test.nut does not work as is.
>> >
>> > fixed
>> >
>>
>> Hehe yes, though I doubt mplayer using libmpeg2 can decode mpeg2 in nut :/
>
> It likely would just need a 2 line change ...
>
> Anyway, maybe we should just disable the mpeg1/2 header split
> thing. Ive read the nut spec again and it only recommands to put
> global headers in
MPEG2 does not have global headers. Splitting the stream like this is
arguably creating an invalid MPEG2 stream. If Nut wants to store it
in a special way, the Nut demuxer should reassemble it to a compliant
form.
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-devel
mailing list