Hello!

This script plays an mp4 file:

    #!/usr/local/bin/liquidsoap
    # XTRadio Video
    # Standard settings
    set("log.file.path","/tmp/filesrc.log")
    set("log.level",5)
    set("server.telnet",false)
set("decoder.file_extensions.gstreamer",["wmv","avi","mp4","3gp","webm","mkv","wma","video/mp4"])
    # Stream Settings

video=input.gstreamer.video(pipeline="filesrc
location=/home/per/tmp/test/TV.mp4 ! decodebin")

source=video
source = mksafe(source)

output.sdl(source)



This next script gives me an error:

    #!/usr/local/bin/liquidsoap
    # XTRadio Video
    # Standard settings
    set("log.file.path","/tmp/vlc-radio.log")
    set("log.level",5)
    set("server.telnet",false)
set("decoder.file_extensions.gstreamer",["wmv","avi","mp4","3gp","webm","mkv","wma","video/mp4"])
    # Stream Settings

video=playlist("/tmp/filmlista.txt")


source=video
source=mksafe(source)

output.sdl(source)



The error message in the log file is:

2018/08/18 20:49:38 [decoder:4] Decoding "/home/per/tmp/test/TV.mp4"
ended: Gstreamer.Failure.

link to full log below:

https://mustafejen.se/~per/tmp/vlc-radio.txt
<https://mustafejen.se/%7Eper/tmp/vlc-radio.txt>

Regards,

Per Gunnarsson





------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to