kessibi / libretime-docker

ATTENTION: Libretime now offers a way of running it in docker containers. This project wont see anymore development. One way to get libretime to work within a Docker container
27 stars 12 forks source link

MP3's - Misreported Song Length #3

Closed MNTLe-DMGD closed 4 years ago

MNTLe-DMGD commented 4 years ago

When uploading MP3's to the Airtime Server via the web interface, the song length is misreported.

During playback, songs only play for around 1:30 before cutting off and moving on to the next song. Unknown if this is an upstream issue.

Attempted with both 128k and 320K MP3 files. The issue remains.

This does not affect OGG/Vorbis files.

kessibi commented 4 years ago

I tried on my local machine with the image I just pushed with different songs in a show and they all play for more than 1:30 (ex1) and their length corresponds to the actual song's length (ex2).

At this point in time I don't know what you could try apart from trying the new image.

ex1: image

ex2: image

MNTLe-DMGD commented 4 years ago

No problems. I converted to vorbis anyway. It could be the host machine, it's running a fair few services.

Just a little more background: When I played the song directly from the library, it played the full length. When displayed in the library list, the song would state 1:30 (+/- about 10%). But when pushed to a show, it would only play about 1:30.

There is another possibility - It could be the encoder application I'm using. I used FlacSquisher to create the MP3's from FLAC files. I think it uses Lame to encode, but perhaps the FLAC decoding is causing an issue with the output. I'll do some more tests.

Thanks for looking into this :)

kessibi commented 4 years ago

I'll close this for now, if at some point you find further evidence that libretime is failing somewhere don't hesitate to reopen it.

MNTLe-DMGD commented 4 years ago

Confirmed. The encoder was old, and was causing the misreporting. Switched over to fre:ac, and the reporting/playback is working just fine :)