Invalid value at line 10, char 16-35: No encoder found for that format.
....................................... [decoder:3] Method "MAD" accepted "/radio/muz/Benassi Bros - Make me feel.mp3". 2012/09/14 14:16:54 [muz:3] Loading playlist... 2012/09/14 14:16:54 [muz:3] Playlist is a directory. 2012/09/14 14:16:54 [muz:3] Successfully loaded a playlist of 398 tracks. 2012/09/14 14:16:54 [decoder:3] Method "MAD" accepted "/radio/muz/Vadim Spark - Odyssey (Original Mix).mp3". 2012/09/14 14:17:04 [muz:3] Finished with "/radio/muz/Demo - Solnyshko (Agent Smith hard sun mix).mp3". 2012/09/14 14:17:04 [muz:3] Prepared "/radio/muz/Vadim Spark - Odyssey (Original Mix).mp3" (RID 3). 2012/09/14 14:17:04 [http_4957:3] New metadata chunk: ? -- Vadim Spark - Odyssey (Original Mix). 2012/09/14 14:23:03 [decoder:3] Method "MAD" accepted "/radio/muz/Don Omar - Danza Kuduro (feat. Lucenzo).mp3". 2012/09/14 14:23:14 [muz:3] Finished with "/radio/muz/Vadim Spark - Odyssey (Original Mix).mp3". 2012/09/14 14:23:14 [muz:3] Prepared "/radio/muz/Don Omar - Danza Kuduro (feat. Lucenzo).mp3" (RID 4). 2012/09/14 14:23:15 [http_4957:3] New metadata chunk: ? -- Don omar - Danza kuduro (feat. lucenzo). 2012/09/14 14:26:10 [decoder:3] Method "MAD" accepted "/radio/muz/Swedish House Mafia - Miami 2 Ibiza.mp3". 2012/09/14 14:26:20 [muz:3] Finished with "/radio/muz/Don Omar - Danza Kuduro (feat. Lucenzo).mp3". 2012/09/14 14:26:20 [muz:3] Prepared "/radio/muz/Swedish House Mafia - Miami 2 Ibiza.mp3" (RID 5). 2012/09/14 14:26:22 [http_4957:3] New metadata chunk: ? -- Swedish House Mafia Feat. Tinie Tempah - Miami 2 Ibiza. 2012/09/14 14:29:58 [decoder:3] Method "MAD" accepted "/radio/muz/Parker & Hanson - Afterthought (Heatbeat remix).mp3". 2012/09/14 14:29:58 [muz:3] Loading playlist... 2012/09/14 14:29:58 [muz:3] Playlist is a directory. 2012/09/14 14:29:58 [muz:3] Successfully loaded a playlist of 398 tracks. 2012/09/14 14:29:59 [decoder:3] Method "MAD" accepted "/radio/muz/The Prodigy - Voodoo People (Pendulum mix).mp3".
2012/09/14 15:48:59 >>> LOG START 2012/09/14 15:48:59 [protocols.external:3] Didn't find "ufetch". 2012/09/14 15:48:59 [protocols.external:3] Found "/usr/bin/wget". 2012/09/14 15:48:59 [main:3] Liquidsoap 1.0.1 2012/09/14 15:48:59 [main:3] Using: graphics=[distributed with Ocaml] pcre=6.2.5 dtools=0.3.0 duppy=0.4.2 duppy.syntax=0.4.2 cry=0.2.2 mm=0.2.0 xmlplaylist=0.1.3 lastfm=0.3.0 ogg=0.4.3 vorbis=0.6.1 speex=0.2.0 mad=0.4.4 flac=0.1.1 flac.ogg=0.1.1 dynlink=[distributed with Ocaml] lame=0.3.1 gstreamer=0.1.0 voaacenc=0.1.0 theora=0.3.0 schroedinger=0.1.0 gavl=0.1.4 bjack=0.1.3 alsa=0.2.1 ao=0.2.0 samplerate=0.1.1 taglib=0.2.0 magic=0.7.3 camomile=0.8.4 faad=0.3.0 soundtouch=0.1.7 portaudio=0.2.0 pulseaudio=0.1.2 ladspa=0.1.4 dssi=0.1.0 sdl=0.9.0 camlimages=4.0.0 lo=0.1.0 yojson=1.0.3 gd=1.0a5 2012/09/14 15:48:59 [dynamic.loader:3] Loaded dynamic aacplus encoder from /usr/lib/ocaml/aacplus 2012/09/14 15:48:59 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.0.1/plugins/voaacenc.cmxs. 2012/09/14 15:48:59 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.0.1/plugins/lame.cmxs. 2012/09/14 15:48:59 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.0.1/plugins/alsa.cmxs. 2012/09/14 15:48:59 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.0.1/plugins/ao.cmxs. 2012/09/14 15:48:59 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.0.1/plugins/ladspa.cmxs. 2012/09/14 15:48:59 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.0.1/plugins/camlimages.cmxs. 2012/09/14 15:48:59 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.0.1/plugins/ogg.cmxs. 2012/09/14 15:48:59 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.0.1/plugins/cry.cmxs. 2012/09/14 15:48:59 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.0.1/plugins/pulseaudio.cmxs. 2012/09/14 15:48:59 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.0.1/plugins/vorbis.cmxs. 2012/09/14 15:48:59 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.0.1/plugins/flac.cmxs. 2012/09/14 15:48:59 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.0.1/plugins/faad.cmxs. 2012/09/14 15:48:59 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.0.1/plugins/mad.cmxs. 2012/09/14 15:48:59 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.0.1/plugins/taglib.cmxs. 2012/09/14 15:48:59 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.0.1/plugins/dssi.cmxs. 2012/09/14 15:48:59 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.0.1/plugins/flac_ogg.cmxs. 2012/09/14 15:48:59 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz master. 2012/09/14 15:48:59 [frame:3] Frame size must be a multiple of 1764 ticks = 1764 audio samples = 1 video samples. 2012/09/14 15:48:59 [frame:3] Targetting 'frame.duration': 0.04s = 1764 audio samples = 1764 ticks. 2012/09/14 15:48:59 [frame:3] Frames last 0.04s = 1764 audio samples = 1 video samples = 1764 ticks.
# Log to stdout set("log.file",false) set("log.stdout",true) set("log.level",4) # Enable video set("frame.video.width",640) set("frame.video.height",480) audio_file = "/home/nivs/projects/liquidsoap/bla.mp3" video_file = "/home/nivs/projects/liquidsoap/bla.jpg" # Grab file's title r = request.create(audio_file) title = if request.resolve(r) then meta = request.metadata(r) meta["title"] else # File not readable log("Error: cannot decode audio file!") shutdown () "" end title = if title == "" then "Unknow title" else title end # The audio song. audio = request.queue(interactive=false,queue=[r]) # Create a video source with the image for video track video = single(video_file) # Mux audio and video #source = mux_audio(audio=audio,video) source = mux_video(video=video,audio) # Disable real-time processing, to process with the maximun speed source = clock(sync=false,source) source = video.add_text("Test тест", source) # Output to a theora file, shutdown on stop output.file(%ogg(%vorbis,%theora), id="youtube",fallible=true, on_stop=shutdown,reopen_on_metadata=true, "/home/nivs/projects/liquidsoap/#{title}.ogv", source)
source = video.add_text("Test тест", source)