Seeking out of track badly supported
------------------------------------
Key: LS-650
URL: http://dev.sourcefabric.org/browse/LS-650
Project: Liquidsoap
Issue Type: Bug
Components: Liquidsoap
Affects Versions: NEAR FUTURE
Reporter: Samuel Mimram
Priority: Major
>From Martin on the ML:
Liquidsoap crashes if cue in point is past the end of the track
Hi, Reading the title, it might be tempting to say, "well don't do that :)",
but I think this case should be handled gracefully. Also we found this problem
because we had a track that was corrupted and was reporting its length as much
longer than it really was, hence we discovered this weird situation :)
Recreating this bug is simple. Just use the following attached script, telnet
into Liquidsoap and issue the following command (make sure the track is shorter
than 600 seconds):
queue.push annotate:liq_cue_in="600",liq_cue_out="700":/home/martin/tmp/x.mp3
set("log.file.path", "liq.log")
set("log.stdout", true)
set("server.telnet", true)
set("server.telnet.port", 1234)
queue = audio_to_stereo(id="queue_src", request.equeue(id="queue", length=0.5))
queue = cue_cut(queue)
queue = mksafe(queue)
output.alsa(queue)
I haven't tested this on the Liquidsoap 1.1 beta yet because of taglib
dependency mentioned in previous email, but the Liquidsoap I am running this
script on is fairly recent:
$ liquidsoap --version
Liquidsoap 1.0.1+scm (@:20121101:112655)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://dev.sourcefabric.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Savonet-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-devl