Skip to contentSkip to conversation

Project help

DISCUSSION Akhila Madhukumar 3 participants 3 messages Jan 18, 2009 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hi.
My group of 4 are doing a project on "Video Streaming in Linux" We are taking the input thru 150 capture card and then passing it on to
ffmpeg to get flv file format which will then be streamed and stored simultaneously. Please give us some information on how should we proceed, also about the v4l2 source code!
--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

#1 lore raw

Hi Akhila.

I did something similar but just two cameras with two Osprey 230 cards.

VLC have a a management interface name VLM accesible via telnet.

Let me explain a little more:

1) Hardware 100% identfied in Linux box: I use Ubuntu Server Hardy Heron with "medubuntu.org" repos configured.

2) VLC and FFMPEG from mediubuntu.org repos: its because they have mp3 and FLV bundled support.

3) Start the VLC service accessible via telnet using this command:

vlc -v --color -I telnet --telnet-port 7777 --telnet-password COCACOLA --rtsp-host 200.90.37.84:4321 &

4) VLM can read a script file. You can write "script.txt" whith this lines:

new event broadcast enabled
setup event input "v4l:///dev/video0:adev=/dev/dsp:audio=1:norm=1:frequency=-1:caching=300:fps=4:channel=0:tuner=-1:width=0:height=0:brightness=-1:colour=-1:hue=-1:contrast=-1:decimation=1:quality=100" setup event output #transcode{vcodec=WMV1,vb=128,scale=1,width=320,height=240,fps=5,acodec=mp3,ab=128,channels=0,samplerate=44100,sfilter=time}:duplicate{dst=std{access=http,mux=asf{title="EVENTO0-CAM0",author=MEMPET,copyright="INFORMACION PUBLICA"},dst=200.90.37.84:1234/event.asf
},dst=std{access=file,mux=asf,dst="/home/operador/event.asf"}}
control event play

5) To access VLM in shell do:

telnet localhost 7777
(enter COCACOLA)
(load the script.txt file)
load /home/operador/script.txt

6) This code willl stream through "http://200.90.37.84:1234/event0.asf"

7) To stop and clean VLM "event":

control event stop
del event

You have to change "transcode" module parameters to you need.

Hope this help.

Success!

Jose

2009/1/19 Akhila Madhukumar <[email protected]>

Quoted 11 lines

Hi.
My group of 4 are doing a project on "Video Streaming in Linux" We are taking the input thru 150 capture card and then passing it on to
ffmpeg to get flv file format which will then be streamed and stored simultaneously. Please give us some information on how should we proceed, also about the v4l2 source code!
--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

#2 lore raw
In reply to Akhila Madhukumar
Quoted 6 lines · Akhila Madhukumar

Hi.
My group of 4 are doing a project on "Video Streaming in Linux" We are taking the input thru 150 capture card and then passing it on to
ffmpeg to get flv file format which will then be streamed and stored simultaneously. Please give us some information on how should we proceed, also about the v4l2 source code!

Sounds like you're trying to work on ffserver:

http://ffmpeg.org/ffserver-doc.html

I assume that you're talking about the Hauppage PVR-150 card, which is an excellent card and shouldn't give you any problems.

Let us know how things go.

--
Regards,
Jackson Yee
The Possum Company
540-818-4079
[email protected]

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list