Is it possible to tell uade123 NOT to loop a music file? I'm trying to batch convert files and using the timeout option doesn't work too well as I end up with short looped songs repeating for far longer than they need to and non-looped songs sometimes getting cut off because of it.
shd
Joined: 29 Jun 2003
Posts: 564
Location: Tampere, Finland
Posted:
2010-02-02 15:08
Enverex wrote:
Is it possible to tell uade123 NOT to loop a music file? I'm trying to batch convert files and using the timeout option doesn't work too well as I end up with short looped songs repeating for far longer than they need to and non-looped songs sometimes getting cut off because of it.
Generally there are two cases:
1. the player can detect song end -> no looping -> a long enough timeout handles the problem
2. the player can not detect song end -> timeout needed, causes the repeating or cut-off that you mentioned. This case needs to be handled manually. However, it is possible to program a timeout for a specific song by something like this:
Code:
uade123 --set="timeout=x" song.foo
x is the duration of song in seconds. uade remembers timeout value for song.foo after this. millisecond accuracy is not supported, but I could extend the option to support floating point time.
View next topic View previous topic
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum