-
-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Broken OGG Stream Created #549
Comments
I can reproduce this on Debian 9.4 using it's default Gstreamer v1.10 and compiling Gstreamer v1.14. This isn't a Liquidsoap issue. This is can be done by just encoding a file to theora through Gstreamer itself. |
Thanks for reporting. I'll try to have a look at it. |
I am not entirely sure if the theora encoding is using gstreamer or it's own built in code. Because gstreamer also produces this error I just made assumption that LS is using gstreamer to create the stream. |
Liquidsoap uses the theora library directly without the need for gstreamer. Considering that the same message occurs with streams created with gstreamer, which is prolly a totally different workflow, I'm tempted to assume that this is a bug with the decoder and not the encoder(s). |
ffmpeg does not produce these errors and the video works for all clients. |
Interesting. I'll have a look at their code. |
Could you try with this:
|
Firefox v60,0.2 will play the stream but only after pausing the stream and starting it again. ffplay produces the same errors as above in initial report but will play the stream. VLC produces no errors, plays the stream. Chrome v67.0.3396.99 is the most troublesome on if it will play the stream or not. Pressing pause and play repeatedly and waiting up to a minute, it might play a minute of the stream then stop again. Using the ffmpeg command below to stream to Icecast server produces no errors in ffplay, plays correctly in Chrome and Firefox and VLC.
|
I can reproduce now. Also shown in |
I've tried many different tweaks to no avail. I'm not sure what we're doing differently from |
Can other's reproduce this error? Compiled via opam. Current environment.
Linux hostname 4.16.4-200.fc27.x86_64 #1 SMP Tue Apr 24 23:19:54 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
$ liquidsoap --version Liquidsoap 1.3.3
$ gst-launch-1.0 --version gst-launch-1.0 version 1.12.4 GStreamer 1.12.4
Using any output method will produce these errors:
output.harbor(%ogg(%theora(quality=25,width=320,height=240),%vorbis),format="video/ogg",mount="/teste",mksafe(mainsource))
The video will play, however, ffplay will continuously output these errors. This will also occur in the output.icecast() as well. I haven't tested the other outputs as I am sure they are all affected. Because... If I encode using gst-launch-1.0 a using theoraenc, I will get the same results in the output.ogg file.
I am interested to know what other versions of Gstreamer are doing and if this can be reproduced.
The text was updated successfully, but these errors were encountered: