Page 2 of 2

Re: Minor bug with SeekMusic

Posted: Sat Jul 18, 2026 9:19 pm
by Bugala
Just noticed that actually even AvCodec doesnt solve the problem entirely.

I now timed some animation by using SeekMusic, and for timing purpose I am using GetAttribute(#MUSIC, 5, #ATTRPOSITION)


When I leave SeekMusic out, Timing is a bit off. Maybe half a second. Location in music is at about 2 minutes.


As in, I used seekmusic to jump to near that 2 minute location to time the animation. And after I had done the timing, I left the SeekMusic out, and let the song play from beginning, resulting in this, maybe half a second off timing.

It is unfortunately noticeable in this case.

This in Windows 11, Hollywood 11.

Re: Minor bug with SeekMusic

Posted: Sat Jul 18, 2026 10:56 pm
by Flinx
As mentioned before, I know such things from MP3s with variable bitrates. If you're not sure about the format, try reencoding the file to a fixed bitrate, for example in the command line:
ffmpeg -y -i test.mp3 -b:a 256k test256.mp3