Page 1 of 1

Streaming from Synology to network with Videolan

Posted: 13 Aug 2009 13:24
by klaasvaak
Hi all,

I’m trying to get VideoLAN running for streaming radio stations and tv (mainly ShoutcastTV – nsv protocol) to two media players (Popcorn Hour A-110 and ShowCenter 200). Unfortenately I didn’t have much success so far.

I have installed VLC media player 0.8.6d Janus on the Synology, as well as the following packages: faad2, ffmpeg, flac, freetype, fribidi, liba52, libdvbpsi, libdvdnav, libdvdread, libid3tag, libmad, libmpcdec, libmpeg2, libogg, libpng, libshout, libupnp, libvorbis, libxml2, ncursesw, speex, avahi and x264

First I tried to stream a simple music file (mp3) with VideoLAN to the network:

Code: Select all

/volume1/public/vivaldi.mp3 :sout=#duplicate{dst=std{access=http,mux=ts,dst=:1234}}
This works fine when streaming to WMP, but not to the Popcorn Hour or ShowCenter. Don’t have a clue why this won’t work as I get no error message from VideoLAN.

The same applies for a simple ShoutCast radio station:

Code: Select all

http://shoutcast.omroep.nl:8100/listen.pls :sout=#duplicate{dst=std{access=http,mux=mp3,dst=:1234}}
When I transcoding video it getting real problematic. I tried a ShoutCast TV stream:

Code: Select all

http://80.245.113.11:8062;stream.nsv :sout=#transcode{vcodec=mp2v,vb=800,scale=1,acodec=mp3,ab=128,channels=2,samplerate=44100}:std{access=http,mux=ts,dst=0.0.0.0:1234}
Streaming the file from a PC to the Popcorn Hour is not a problem, but when I try exactly the same from my Synology it won’t work. I get the following error message:

Code: Select all

status change: ( stop state: 0 ) status change: ( new input: http://80.245.113.11:8062;stream.nsv ) status change: ( audio volume: 256 ) status change: ( play state: 1 ) [00000422] access_http access: Raw-audio server found, nsv demuxer selected [00000426] packetizer_mpeg4audio packetizer: AAC channels: 2 samplerate: 44100 [00000414] stream_out_transcode private error: cannot find encoder ((null)) [00000414] stream_out_transcode private error: cannot create audio chain [00000426] main packetizer error: cannot create packetizer output (mp4a) [00000414] stream_out_transcode private error: cannot find decoder [00000414] stream_out_transcode private error: cannot create video chain [00000425] main packetizer error: cannot create packetizer output (VP61)
Two final issues: when I stream NASA TV from the Synology VLC, the stream won’t start and I’ll get an error message:

Code: Select all

status change: ( new input: http://playlist.yahoo.com/makeplaylist.dll?id=136908 0&segment=149773 ) status change: ( audio volume: 256 ) status change: ( play state: 1 ) status change: ( stop state: 0 ) status change: ( new input: mms://209.73.191.82/nqsenc006_d?StreamID=87995515&pl _auth=0fc106ec85e272c5d03e10f8caf8cead&ht=120&pl_b=00D90C08885377C6970542DF4A4A8 3F348&CG_ID=1369080&Segment=149773 ) status change: ( audio volume: 256 ) status change: ( play state: 1 ) [00000455] access_mms access: selecting stream[0x1] audio (31 kb/s) [00000455] access_mms access: selecting stream[0x2] video (119 kb/s) [00000455] access_mms access: connection successful [00000456] asf private error: vlc_iconv_open failed
When trying to stream a Dutch radio channel ([url=mms://81.23.251.55/ArrowAudio02?.wma&MSWMExt=.asf]Arrow Classic Rock)[/url], I get again an error message:

Code: Select all

status change: ( new input: mms://81.23.251.55/ArrowAudio02?.wma&MSWMExt=.asf ) status change: ( audio volume: 256 ) status change: ( play state: 1 ) [00000469] main access error: Connection to 81.23.251.55 port 1755 failed: Conne ction timed out [00000469] access_mms access error: failed to open a connection (tcp) [00000469] main access error: Connection to 81.23.251.55 port 1755 failed: Conne ction timed out [00000469] access_mms access error: failed to open a connection (tcp) [00000469] access_mms access error: cannot connect to server [00000469] access_mms access error: cannot read data [00000472] main decoder error: no suitable decoder module for fourcc `wma2'. VLC probably does not support this sound or video format
Apparently, my version of VLC cannot handle wma2 or is there a package that I forgot to install?

Who knows what I’m doing wrong and how I could get VideoLAN working on the Synology.

many thanks for any reply, regards, Klaas
---------------------------------------------------------------------------
VLC media player 0.8.6d Janus
Apache 2.2.11 / PHP 5.2.10 / MySQL 5.1.34 / Linux Synology 2.6.15
Synology DS107+ (128), firmware: DSM 2.2-0914
Pinnacle SC200 / PCH A-110

Re: Streaming from Synology to network with Videolan

Posted: 13 Aug 2009 20:57
by jamart3d
just a couple thoughts

try mux=asf or something like this
I think I've trans coded wma2 before,
vlc --high-priority --one-instance -v file :sout="#transcode{vcodec=DIV3,vb=512,scale=.5,acodec=mpga,ab=56,channels=2} :duplicate{dst=std{access=http,mux=asf,dst=:81}}"

or this to just repeat it..
vlc -v http://address:81 --sout '#std{access=http,mux=asf,dst=:8080}' --rt-priority --loop

or if its just an audio stream you want to capture and relay
look into http://streamripper.sourceforge.net/