AllInfo
Main: Info Blog Temp Mail


unix 2016-12-14 15-23-08

Using mencoder to stream to icecast


I'm trying to stream to an icecast server from my TV Caputure card (MSI
TV@Anywhere) using the following tools:

- mencoder
- ffmpeg2theora
- oggfwd


I'm capturing the channel 7 from the TV@Anywhere to an /tmp/pipe file
created with : mknod /tmp/pipe p


This is the command that I'm using to capture and stream:

mencoder tv://7 -tv driver=v4l2:device=/dev/video0:fps=29.97: \
chanlist=us-bcast:audiorate=16000:norm=NTSC:input=0:amode=1: \
volume=100:channel=SE7 -ovc copy -oac copy -o /tmp/pipe - | \
/usr/bin/ffmpeg2theora --artist "TV Manabi" --title "Stream de TV \
Manabi" --date "6-4-2008" --location "Manabi" --organization \
"tvmanabi.com" --copyright "2008 tvmanabi.com" --license "creative \
commons share alike" -x 320 -y 240 -F 25 -v 1 -a 1 -c 1 -H 22050 \
-o /dev/stdout - | oggfwd -p -d "Stream de TV Manabi" -g "TV" \
-n "TV Manabi" -u "www.tvmanabi.com" my.icecastserver.com 8000 \
mypassword /mountpoint.ogg


ffmpeg2theora uses the /tmp/pipe file and oggfw sent the capture to
icecast but... is not working :(

I can stream sending the output file to a normal output, for example:

mencoder tv://7 -tv driver=v4l2:device=/dev/video0:fps=29.97: \
chanlist=us-bcast:audiorate=16000:norm=NTSC:input=0:amode=1: \
volume=100:channel=SE7 -ovc copy -oac copy -o /tmp/mycapure


I can grab the file /tmp/mycapure with ffmpeg2theora and send to
icecast with oggfwd, but the trouble is that the file /tmp/mycapure is
getting bigger and bigger.

Does any one knows how can I stream from the tv input to an icecast
server using theora but keeping the hard disk space? There is another
way to make it work?


Any help from you will be very appreciated.

Best regards,

--
Guillermo Salas M.
Telconet S.A.
Calle 15 y Avenida 24 Esq
Edificio Barre #2 Primer Piso
Telefono : +593 5 262 8071
Celular : +593 9 985 5138
e-mail : gsalas@manta.telconet.net
www : http://www.manta.telconet.net

http://www.telcocarrier.net
SIP : 666@sip.manta.telconet.net
FWD : 558563
USA : 1 360 968 1701

Linux User: 255902

Beat me, whip me, make me use Windows!

Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html

Please avoid the Top Posting, see
http://es.wikipedia.org/wiki/Top-posting

_______________________________________________
MEncoder-users mailing list
MEncoder-users@mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users

3.144.35.148 / 2024-04-27_20-41-20 UTC.