funkoolow
Joined: 29 Sep 2009 Posts: 7
|
Posted: Fri Sep 07, 2012 3:30 pm Post subject: ffmpeg to oggfwd with audio |
|
|
hi,
i'm tryin since days to make a screencast to be sent to icecast for subsequent stream and, after intense research on web, i'm stuck at being able to stream with oggfwd BUT loosing audio stream.
here are my latest results:
this produces a video stream accessible via icecast2 of a small portion of my desktop:
Code: |
ffmpeg -f x11grab -s vga -r 20 -i :0.0 -f yuv4mpegpipe -pix_fmt yuv411p - | ffmpeg2theora - -o /dev/stdout | oggfwd -p -d "" -g "" -u "" localhost 8000 pw /stream.ogg |
this produces an audio/video output file on ~/Desktop/file.ogg of the same portion:
Code: |
ffmpeg -f alsa -ac 2 -i pulse -f x11grab -r 20 -s vga -i :0.0 Scrivania/file.ogg |
this produces a stream as in example 1 BUT without any audio stream included:
Code: |
ffmpeg -f alsa -ac 2 -i pulse -f x11grab -r 20 -s vga -i :0.0 -f yuv4mpegpipe -pix_fmt yuv411p - | ffmpeg2theora - -o /dev/stdout | oggfwd -p -d "" -g "" -u "" localhost 8000 icecastpw /stream.ogg |
what am I missing? can it be a matter of codecs (all pacakeges are from ubuntu 10.04 standard repos and not from sources)? or piping? and sorry for any horrible mistake but i'm an extreme newbie at all this...
thanks in advance to anyone! |
|