alkalinelito
Posts: 2
Joined: Sun Oct 19, 2014 1:36 am

Streaming analag v4l video, posible?

Sun Oct 19, 2014 1:45 am

Hello , I installed on my RPI an easycap stk1160 usb analog capture card.

I'm trying to use videolan to stream the content over my network , it works but its unwatchable ( Video artifacts and Audio shutters) . I guess its because of the transcoding parameters , the rpi cpu goes to 100% .

This is what I'm trying now:

Code: Select all

cvlc v4l2:///dev/video0 :norm=PAL_BGHIN :input-slave=alsa://plughw:1,0 --sout '#transcode{vcodec=DIV3,vb=256,scale=1,acodec=mp3,ab=64,channels=2}:std{access=mmsh,mux=asfh,dst=:8080}'
-Are there any options to stream more cpu efficient ? This is my first time using videolan streaming and I'm mostrly trying the commmands on their wiki .

-The rpi has hardware h264 encoding, is there anyway I can use this to stream /dev/video0 ?

-Or maybe the answer is not using videolan at all ?

Thanks

ghans
Posts: 7882
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: Streaming analag v4l video, posible?

Sun Oct 19, 2014 6:02 pm

I guess you will have to fiddle around with gstreamer. You need a hardware-accelerated version :
http://www.raspberrypi.org/forums/viewt ... 66&t=34250


http://wiki.oz9aec.net/index.php/Gstreamer_cheat_sheet


Good luck , you will need it. :?

ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

Return to “General discussion”