Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ffmpeg to oggfwd with audio

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Video Streaming
View previous topic :: View next topic  
Author Message
funkoolow



Joined: 29 Sep 2009
Posts: 7

PostPosted: Fri Sep 07, 2012 3:30 pm    Post subject: ffmpeg to oggfwd with audio Reply with quote

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!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Video Streaming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber