Bug#574628: liquidsoap: Drop video when processing Ogg Theora file
Hi !
Le vendredi 19 mars 2010 09:14:41, Petter Reinholdtsen a écrit :
> I am trying to use liquidsoap to generate a video stream, and this do
> not work as expected. Liquidsoap is able to load a file and write a
> new file based on the input, but the video disappear in the process.
>
> I tested using the file in
> <URL: http://www.nuug.no/pub/video/frikanalen/1241.ogv > (stored in
> /tmp/input.ogv), and this liquidsoap script:
>
> set("log.file.path","/tmp/test.log")
> set("frame.video.channels",1)
> stream = single("/tmp/input.ogv")
> output.file.theora(reopen_on_metadata=true, "/tmp/output.ogv",stream)
>
> The resulting file /tmp/output.ogv is without video. There is only
> audio in the file. Am I using liquidsoap wrong, or is there something
> missing in the liquidsoap video support?
>
> I am basing my tries on the documentation available from
> <URL: http://savonet.sourceforge.net/doc-0.9.2/video.html >.
Thanks for your report !
The video support in liquidsoap 0.9.2 is not complete.. It is much more
advanced in the SVN version.
As for your issue, it comes from the fact that the current ocaml-theora
binding in Debian uses the old theora API.
Even though the theora library is supposed to maintain backward compatibility
with the old API, it seems that at least in the way we use it it got broken at
some point between 1.0 and 1.1
To fix this, you may, as you prefer:
* Install liquidspap SVN
* Downgrade libtheora to a 1.0 version
* Install the ocaml-theora binding from our svn and recompile liquidsoap
against it.
I would personally suggest to try liquidsoap SVN. The support for video there
should be more complete (in particular channel mapping and other details).
Also, we need more reports and testers before we can push for the first 1.0
beta release :-)
Romain
Reply to: