Minor bug with SeekMusic

Report any Hollywood bugs here
Bugala
Posts: 1429
Joined: Sun Feb 14, 2010 7:11 pm

Re: Minor bug with SeekMusic

Post 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.
Flinx
Posts: 383
Joined: Sun Feb 14, 2021 9:54 am
Location: Germany

Re: Minor bug with SeekMusic

Post 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
Post Reply