[vlc] Re: Problem playing MPEG-PS files with mpeg4video

Nico Sabbi nsabbi at tiscali.it
Wed Jan 26 09:58:03 CET 2005


Måns Rullgård wrote:

>Nico Sabbi <nsabbi at tiscali.it> writes:
>
>  
>
>>Gildas Bazin wrote:
>>
>>    
>>
>>>Ok, the main problem here is that we don't have access to the frame
>>>rate information for this kind of streams so we can't really
>>>interpolate the timestamps, thus we rely on each frame having at
>>>least a DTS.
>>>Do you know if there's a way to find out the frame rate info ?
>>>      
>>>
>>this is what I implemented for mplayer:
>>
>>take 3 video frames and store
>>- from the vol header the time_resolution
>>- from the vop headers the 3 time_increments
>>
>>calculate the minimun difference between the 3 time_increments, say diff
>>fps = timeinc_resolution / diff
>>
>>This method works also when there are b-frames because they have to be
>>in the right order, e.g.
>>    
>>
>
>You could also be nice to decoder and store the frame rate in the
>PSM.  Have you tried whether VLC doing so makes VLC any happier?
>
>  
>
VLC doesn't seem to be able to mux mpeg4 in mpeg-ps: the resululting files
contain only audio.
It would be nice to describe the framerate with a descriptor, but which?


    Nico

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the vlc mailing list