Video and input.http
--------------------
Key: LS-633
URL: http://dev.sourcefabric.org/browse/LS-633
Project: Liquidsoap
Issue Type: Bug
Reporter: Samuel Mimram
Priority: Major
Consider the following script:
set("log.level", 3)
set("log.file", false)
set("log.stdout", true)
set("frame.video.channels",2)
set("frame.audio.samplerate",44100)
set("frame.video.width",320)
set("frame.video.height",240)
set("frame.video.samplerate",25)
s =
input.http("http://upload.wikimedia.org/wikipedia/commons/7/75/Big_Buck_Bunny_Trailer_400p.ogg")
s = mksafe(s)
s = output.pulseaudio(s)
s = drop_audio(s)
output.sdl(s)
First, if I remove the output.pulseaudio, there is a synchronization problem
similar to LS-632. Second, the script (as is) ends after the first track. Here
is the log:
2012/09/11 16:18:53 [decoder:3] Method "OGG" accepted "application/ogg".
2012/09/11 16:18:53 [http_5263:3] Decoding...
notification: Speex header too small
notification: Speex header too small
2012/09/11 16:18:54 [mksafe:3] Switch to http_5263 with transition.
2012/09/11 16:18:57 [http_5263:3] Buffer overrun: Dropping 0.02s.
2012/09/11 16:18:57 [http_5263:3] Buffer overrun: Dropping 0.02s.
2012/09/11 16:18:57 [http_5263:3] Buffer overrun: Dropping 0.02s.
...
2012/09/11 16:18:58 [http_5263:3] Buffer overrun: Dropping 0.02s.
2012/09/11 16:18:58 [http_5263:3] Buffer overrun: Dropping 0.02s.
2012/09/11 16:18:58 [http_5263:3] Buffer overrun: Dropping 0.02s.
2012/09/11 16:18:58 [http_5263:3] Buffer overrun: Dropping 0.00s.
2012/09/11 16:19:08 [clock.wallclock_pulse:2] Source pulse_out(liquidsoap:)
failed while streaming: Queue.Empty!
2012/09/11 16:19:08 [clock.wallclock_pulse:3] Raised at file "queue.ml", line
79, characters 10-15
2012/09/11 16:19:08 [clock.wallclock_pulse:3] Called from file
"stream/generator.ml", line 142, characters 38-58
2012/09/11 16:19:08 [clock.wallclock_pulse:3] Called from file
"stream/generator.ml", line 408, characters 16-39
2012/09/11 16:19:08 [clock.wallclock_pulse:3] Called from file
"stream/generator.ml", line 533, characters 11-33
2012/09/11 16:19:08 [clock.wallclock_pulse:3] Called from file
"tools/tutils.ml", line 80, characters 16-19
2012/09/11 16:19:08 [clock.wallclock_pulse:3] Re-raised at file
"tools/tutils.ml", line 82, characters 39-40
2012/09/11 16:19:08 [clock.wallclock_pulse:3] Called from file
"sources/generated.ml", line 93, characters 6-33
2012/09/11 16:19:08 [clock.wallclock_pulse:3] Called from file
"tools/tutils.ml", line 80, characters 16-19
2012/09/11 16:19:08 [clock.wallclock_pulse:3] Re-raised at file
"tools/tutils.ml", line 82, characters 39-40
2012/09/11 16:19:08 [clock.wallclock_pulse:3] Called from file "source.ml",
line 487, characters 8-26
2012/09/11 16:19:08 [clock.wallclock_pulse:3] Called from file
"operators/switch.ml", line 205, characters 10-18
2012/09/11 16:19:08 [clock.wallclock_pulse:3] Called from file "source.ml",
line 487, characters 8-26
2012/09/11 16:19:08 [clock.wallclock_pulse:3] Called from file
"outputs/output.ml", line 169, characters 8-23
2012/09/11 16:19:08 [clock.wallclock_pulse:3] Called from file "clock.ml", line
157, characters 17-25
2012/09/11 16:19:08 [mksafe:3] Switch to safe_blank with forgetful transition.
2012/09/11 16:19:08 [main:3] Shutdown started!
...
Also, notice that sometimes (presumably when the download is too slow), it
refuses to play the track:
2012/09/11 16:33:00 [decoder:3] Method "OGG" accepted "application/ogg".
2012/09/11 16:33:00 [http_5263:3] Decoding...
notification: Speex header too small
notification: Speex header too small
2012/09/11 16:33:00 [http_5263:2] Feeding stopped: Theora.Invalid_data
2012/09/11 16:33:02 [decoder:3] Method "OGG" accepted "application/ogg".
2012/09/11 16:33:02 [http_5263:3] Decoding...
notification: Speex header too small
notification: Speex header too small
2012/09/11 16:33:02 [http_5263:2] Feeding stopped: Theora.Invalid_data
2012/09/11 16:33:04 [decoder:3] Method "OGG" accepted "application/ogg".
2012/09/11 16:33:04 [http_5263:3] Decoding...
notification: Speex header too small
notification: Speex header too small
2012/09/11 16:33:04 [mksafe:3] Switch to http_5263 with transition.
...
--
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
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Savonet-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-devl