Page 1 of 1

Transcoding playlist of streams

Posted: 26 May 2015 22:01
by joeusercz
I am transcoding a playlist of streams from a satellite receiver and controlling via a web interface. I have been doing it via the command line on a Linux box and it is working fine. But recently I tried to do the same with Windows, and it fails. If I just open a playlist from the command line, it is expanded into the list of streams ok, but when I add the options for transcoding, it tries to open the playlist file directly as a media file, which of course fails.

The command I use in Linux is:

Code: Select all

cvlc -vvv bouquet.m3u --network-caching=4000 --extraintf="http" --http-port 8080 --sout-transcode-threads=4 --sout '#transcode{vcodec=h264,vb=500,scale=0.4,acodec=mp4a,ab=64,channels=2,samplerate=48000}:http{mux=ts,dst=:8002/}'

I have tried various playlist options, but none seem to work if the transcoding options are added. I have also tried loading the m3u playlist and saving it as an .xspf playlist. I have also tried different video/audio codecs, but the problem remains that it is trying to open the playlist as a media file rather than a playlist.

Re: Transcoding playlist of streams

Posted: 26 May 2015 22:27
by joeusercz

Code: Select all

[030cdad4] dummy interface: VLC media player - 2.2.1 Terry Pratchett (Weatherwax) [030cdad4] dummy interface: Copyright c 1996-2015 the VideoLAN team [030cdad4] dummy interface: Warning: if you cannot access the GUI anymore, open a command-line window, go to the directory where you installed VLC and run "vlc -I qt" [030cdad4] dummy interface: using the dummy interface module... [030cdad4] core interface debug: using interface module "dummy" [0064c7bc] core playlist debug: processing request item: null, node: Playlist, skip: 0 [0064c7bc] core playlist debug: rebuilding array of current - root Playlist [0064c7bc] core playlist debug: rebuild done - 1 items, index -1 [0064c7bc] core playlist debug: starting playback of the new playlist item [0064c7bc] core playlist debug: resyncing on bouquet.m3u [0064c7bc] core playlist debug: bouquet.m3u is at 0 [0064c7bc] core playlist debug: creating new input thread [00694b34] core input debug: Creating an input for 'bouquet.m3u' [00694b34] core input debug: selected subtitle language[0] en [0064c7bc] core playlist debug: requesting art for bouquet.m3u[03109e3c] core stream output debug: using sout chain=`standard{mux="",access="'#transcode{vcodec=h264,vb=500,scale=0.4,acodec=mp4a,ab=64,channels=2,samplerate=48000}",dst="http{mux=ts,dst=:8002/}' "}' [03109e3c] [00694d8c] core stream output debug: core art finder debug: stream=`standard'looking for meta fetcher module matching "any": 1 candidates [03109ed4] core stream out debug: looking for sout stream module matching "standard": 22 candidates [00694d8c] lua art finder debug: Trying Lua scripts in C:\Users\user\AppData\Roaming\vlc\lua\meta\fetcher [00694d8c] lua art finder debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher[03109ed4] core stream out warning: missing value for option mux [03109ed4] core stream out debug: set config option: sout-standard-access to '#transcode{vcodec=h264,vb=500,scale=0.4,acodec=mp4a,ab=64,channels=2,samplerate=48 000}[00694d8c] lua art finder debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac[03109ed4] core stream out debug: set config option: sout-standard-dst to http{mux=ts,dst=:8002/}' [03109ed4] stream_out_standard stream out error: no mux specified or found by extension [03109ed4] core stream out debug: no sout stream modules matched [03109ed4] core stream out debug: destroying chain... (name=(null))[00694d8c] lua art finder debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac[03109ed4] core stream out debug: destroying chain done [03109e3c] core stream output error: [00694d8c] stream chain failed for `standard{mux="",access="'#transcode{vcodec=h264,vb=500,scale=0.4,acodec=mp4a,ab=64,chan nels=2,samplerate=48000}",dst="http{mux=ts,dst=:8002/}'"}'core art finder debug: no meta fetcher modules matched[0064c7bc] [00694b34] core playlist debug: core input error: finished inputcannot start stream output instance, aborting[003577c4] core libvlc debug: [0064c7bc] core playlist debug: dead inputsearching art for bouquet.m3u [0064c7bc] core playlist debug: [00694f6c] changing item without a request (current 0/1)core art finder debug: looking for art finder module matching "any": 2 candidates [0064c7bc] core playlist debug: nothing to play [00694f6c] lua art finder debug: Trying Lua scripts in C:\Users\user\AppData\Roaming\vlc\lua\meta\art [00694f6c] lua art finder debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art [00694f6c] lua art finder debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac [00694f6c] lua art finder debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac [00694f6c] lua art finder debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac [00694f6c] lua art finder debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac [00694f6c] lua art finder debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac [00694f6c] lua art finder debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac [00694f6c] lua art finder debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac [00694f6c] lua art finder debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac [00694f6c] core art finder debug: no art finder modules matched [003577c4] core libvlc debug: art not found for bouquet.m3u [00680b74] [http] lua interface debug: Loading `C:\Program Files (x86)\VideoLAN\VLC\lua\http/index.html' [00680b74] [http] lua interface debug: Loading `C:\Program Files (x86)\VideoLAN\VLC\lua\http/dialogs/browse_window.html' [00680b74] [http] lua interface debug: Loading `C:\Program Files (x86)\VideoLAN\VLC\lua\http/dialogs/stream_window.html' [00680b74] [http] lua interface debug: Loading `C:\Program Files (x86)\VideoLAN\VLC\lua\http/dialogs/create_stream.html' [00680b74] [http] lua interface debug: Loading `C:\Program Files (x86)\VideoLAN\VLC\lua\http/dialogs/offset_window.html' [00680b74] [http] lua interface debug: Loading `C:\Program Files (x86)\VideoLAN\VLC\lua\http/dialogs/mosaic_window.html' [00680b74] [http] lua interface debug: Loading `C:\Program Files (x86)\VideoLAN\VLC\lua\http/dialogs/equalizer_window.html' [00680b74] [http] lua interface debug: Loading `C:\Program Files (x86)\VideoLAN\VLC\lua\http/dialogs/batch_window.html' [00680b74] [http] lua interface debug: Loading `C:\Program Files (x86)\VideoLAN\VLC\lua\http/dialogs/error_window.html' [00680b74] [http] lua interface debug: Loading `C:\Program Files (x86)\VideoLAN\VLC\lua\http/js/common.js' [00680b74] [http] lua interface debug: Loading `C:\Program Files (x86)\VideoLAN\VLC\lua\http/css/ui-lightness/jquery-ui-1.8.13.custom.css' [00680b74] [http] lua interface debug: Loading `C:\Program Files (x86)\VideoLAN\VLC\lua\http/css/main.css' [00680b74] [http] lua interface debug: Loading `C:\Program Files (x86)\VideoLAN\VLC\lua\http/js/jquery.jstree.js' [00680b74] [http] lua interface debug: Loading `C:\Program Files (x86)\VideoLAN\VLC\lua\http/js/ui.js' [00680b74] [http] lua interface debug: Loading `C:\Program Files (x86)\VideoLAN\VLC\lua\http/js/controllers.js' [00680b74] [http] lua interface debug: Loading `C:\Program Files (x86)\VideoLAN\VLC\lua\http/images/speaker-32.png' [00680b74] [http] lua interface debug: Loading `C:\Program Files (x86)\VideoLAN\VLC\lua\http/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png' [00680b74] [http] lua interface debug: Loading `C:\Program Files (x86)\VideoLAN\VLC\lua\http/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png' [00680b74] [http] lua interface debug: Loading `C:\Program Files (x86)\VideoLAN\VLC\lua\http/css/ui-lightness/images/ui-icons_ef8c08_256x240.png' [00680b74] [http] lua interface debug: Loading `C:\Program Files (x86)\VideoLAN\VLC\lua\http/images/buttons.png' [00680b74] [http] lua interface debug: Loading `C:\Program Files (x86)\VideoLAN\VLC\lua\http/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png' [00680b74] [http] lua interface debug: Loading `C:\Program Files (x86)\VideoLAN\VLC\lua\http/css/ui-lightness/images/ui-icons_ffd27a_256x240.png' [00680b74] [http] lua interface debug: Loading `C:\Program Files (x86)\VideoLAN\VLC\lua\http/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png' [00680b74] [http] lua interface debug: Loading `C:\Program Files (x86)\VideoLAN\VLC\lua\http/requests/status.xml' [00680b74] [http] lua interface debug: Loading `C:\Program Files (x86)\VideoLAN\VLC\lua\http/requests/vlm.xml' [00680b74] [http] lua interface debug: Loading `C:\Program Files (x86)\VideoLAN\VLC\lua\http/css/ui-lightness/images/ui-icons_222222_256x240.png' [00680b74] [http] lua interface debug: Loading `C:\Program Files (x86)\VideoLAN\VLC\lua\http/requests/playlist_jstree.xml' [00680b74] [http] lua interface debug: Loading `C:\Program Files (x86)\VideoLAN\VLC\lua\http/images/vlc-48.png' [00680b74] [http] lua interface debug: Loading `C:\Program Files (x86)\VideoLAN\VLC\lua\http/favicon.ico' [00680b74] [http] lua interface debug: Loading `C:\Program Files (x86)\VideoLAN\VLC\lua\http/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png' [0064c7bc] core playlist debug: processing request item: bouquet.m3u, node: Playlist, skip: 0 [0064c7bc] core playlist debug: resyncing on bouquet.m3u [0064c7bc] core playlist debug: bouquet.m3u is at 0 [0064c7bc] core playlist debug: starting playback of the new playlist item [0064c7bc] core playlist debug: resyncing on bouquet.m3u [0064c7bc] core playlist debug: bouquet.m3u is at 0 [0064c7bc] core playlist debug: creating new input thread [0310da2c] core input debug: Creating an input for 'bouquet.m3u' [0310da2c] core input debug: selected subtitle language[0] en [0064c7bc] [03109f6c] core playlist debug: core stream output debug: requesting art for bouquet.m3uusing sout chain=`standard{mux="",access="'#transcode{vcodec= h264,vb=500,scale=0.4,acodec=mp4a,ab=64,channels=2,samplerate=48000}",dst="http{mux=ts,dst=:8002/}'"}' [03109f6c] core stream output debug: stream=`standard'[00680b74] [0310a68c] [http] core stream out debug: [0310d9b4] lua interface debug: looking for sout stream module matching "standard": 22 candidatescore art finder debug: Loading `C:\Program Files (x86)\VideoLAN\VLC\lua\http/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png'looking for meta fetcher module matching "any": 1 candidates [0310a68c] core stream out warning: missing value for option mux [0310a68c] [0310d9b4] core stream out debug: lua art finder debug: set config option: sout-standard-access to '#transcode{vcodec=h264,vb=500,scale=0.4,acodec=mp 4a,ab=64,channels=2,samplerate=48000}Trying Lua scripts in C:\Users\user\AppData\Roaming\vlc\lua\meta\fetcher [0310a68c] core stream out debug: set config option: sout-standard-dst to http{mux=ts,dst=:8002/}'[0310d9b4] lua art finder debug: [0310a68c] Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcherstream_out_standard stream out error: no mux specified or found by extension[0310d9b4] lua art finder debug: [0310a68c] Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luaccore stream out debug: no sout strea m modules matched [0310d9b4] lua art finder debug: [0310a68c] skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luaccore stream out debug: destro ying chain... (name=(null)) [0310d9b4] core art finder debug: no meta fetcher modules matched[0310a68c] core stream out debug: destroying chain done[003577c4] core libvlc debug: [03109f6c] searching art for bouquet.m3ucore stream output error: stream chain failed for `standard{mux="",access="'#transcode{vcodec=h264,vb=500,scale=0.4,acodec=mp4a,ab=64,channels=2,samplerate=48000}",dst="http{mux=ts,dst=: 8002/}'"}'[0310d93c] core art finder debug: looking for art finder module matching "any": 2 candidates[0064c7bc] [0310da2c] core playlist debug: core input error: finished inputcannot start stream output instance, aborting[0310d93c] lua art finder debug: Trying Lua scripts in C:\Users\user\AppData\Roaming\vlc\lua\meta\art[0064c7bc] core playlist debug: dead input[0310d93c] lua art finder debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art[0064c7bc] [0310d93c] core playlist debug: lua art finder debug: changing item without a request (current 0/1)Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VL C\lua\meta\art\00_musicbrainz.luac [0064c7bc] core playlist debug: nothing to play [0310d93c] lua art finder debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac [0310d93c] lua art finder debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac [0310d93c] lua art finder debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac [0310d93c] lua art finder debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac [0310d93c] lua art finder debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac [0310d93c] lua art finder debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac [0310d93c] lua art finder debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac [0310d93c] core art finder debug: no art finder modules matched [003577c4] core libvlc debug: art not found for bouquet.m3u
Image