[Ffmpeg-devel] [PATCH] Fix A/V sync in some NSV files

David Conrad umovimus
Sun Mar 18 05:42:03 CET 2007


Hi,

The NSV demuxer currently assumes that a video frame's timestamp  
increases by one on each frame, but some low-bitrate NSV files omit  
video frames for some NSV frames, and expect the timestamp to  
increase by one every NSV frame. This is most noticable in http:// 
samples.mplayerhq.hu/nsv/64vp3.nsv where the video runs several times  
faster than the audio. The attached patch fixes this by  
unconditionally incrementing the video's timestamp with each NSV frame.

-David
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nsv-video-sync.patch
Type: application/octet-stream
Size: 865 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070318/f206f7ad/attachment.obj>



More information about the ffmpeg-devel mailing list