[FFmpeg-devel] [RFC] comment mpegvideo_split

Måns Rullgård mans
Fri Apr 4 03:18:16 CEST 2008


Michael Niedermayer <michaelni at gmx.at> writes:

> On Thu, Apr 03, 2008 at 11:20:15PM +0100, M?ns Rullg?rd wrote:
>> 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.
>
> If MPEG2 does not have global headers then nut does not say anything
> about spliting them.

Then why was something acting as though that were the case?

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list