Stryker33
Stryker33

Reputation: 473

FFmpeg Stream Transcoding

I have got a streaming application that displays the stream sent from a Flash Media Server. I want to grab that stream and transcode it to a output stream with a different bitrate using ffmpeg.

Could such kind of thing be done using ffmpeg?

Upvotes: 0

Views: 3099

Answers (1)

sashoalm
sashoalm

Reputation: 79467

This will get input from a feed, and transcode it to an MKV file with default audio and video codecs, and 1024k bitrate for the video stream (audio bitrate is specified with '-ab'):

ffmpeg -i "http://my_server/video_feed" -b 1024k output.mkv

For a live feed try this (not sure if it'll work, I don't have ffmpeg to test it right now):

ffmpeg -i "http://my_server/input_video_feed" -b 1024 -f flv "http://my_server/output_video_feed"

This should create a FLV feed.

Upvotes: 1

Related Questions