Problems with mp4 files

Discuss about plugins that don't have a dedicated forum
Post Reply
xabierpayet
Posts: 267
Joined: Fri Feb 24, 2012 9:34 am

Problems with mp4 files

Post by xabierpayet »

i have several mp4 files and if i attempt to rewind 1 second any video, the video ever play from the same point, it´s normal? if i rewind the video 10 seconds, the video make the 10 seconds step correctly

pos=GetAttribute(#VIDEO,1,#ATTRPOSITION)
pos=pos+1000
SeekVideo(1, pos)
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Problems with mp4 files

Post by airsoftsoftwair »

That's normal. Fine-tuned seeking is a very difficult task with lots of codecs. Maybe newer versions of FFmpeg are more precise here but avcodec.hwp uses a 10+ years old version of FFmpeg and seeking has always been somewhat experimental with it. There'll also often be some artefacts for a short time after seeking a stream.
Post Reply