Wednesday, 15 June 2011

FFmpeg streaming using H.264 (with audio) - Red5 media server (Ubuntu OS) -



FFmpeg streaming using H.264 (with audio) - Red5 media server (Ubuntu OS) -

i'm trying stream webcam ffmpeg red5 server using rtmp. i've done using flv format next line:

ffmpeg -f video4linux2 -i /dev/video0 -f flv rtmp://localhost/live/livestream

i'm new ffmpeg , live streaming, , i've tried stream using h.264/mpeg-4. knowledge bit limited ffmpeg options (which did find here: http://man.cx/ffmpeg%281%29).

so, questions be:

how can utilize h.264/mpeg-4 stream red5 server?

what options stream sound well?

and 1 final issue is:

i'm having delay of 5 seconds when play content jwplayer in mozilla firefox (on ubuntu). can please help me out solve problem? suggestions why might be?

many thanks

there no need utilize ffmpeg streaming h.264/mpeg-4 files because red5 has build in back upwards this. using ffmpeg set unnecessary load on cpu usage. red5 recognize file type automatically, have specify mp4 file in jwplayer.

about delay, far know jwplayer has buffer of 3 seconds default. can seek lower (property bufferlength or that). , maybe jwplayer has "live" property stream minimal delay, not sure that. removing ffmpeg speed process also.

ffmpeg streaming red5 rtmp

No comments:

Post a Comment