[FFmpeg-user] Translating working command line to programmatic code
brado at bighillsoftware.com
Wed Aug 8 01:45:46 CEST 2012
Thanks for the response. I referenced the streaming guide while trying to get the command line working. As for v4l2, not sure, but at the moment I'm less concerned about the camera, and more concerned about trying to convert this command line:
ffmpeg -i ~/SampleVideo.mp4 -re -r 24 -b:v 1000k -f flv rtmp://localhost/live/SAMPLE_STREAM
into programmatic code. If anyone can point me in the right direction of the proper library / method calls to use, and/or a sample code snippet would be great, it would be most appreciated.
Founder / Lead Developer
Big Hill Software LLC
On Aug 7, 2012, at 2:22 PM, Roger Pack <rogerdpack2 at gmail.com> wrote:
>> *** My use case:
>> On a Mac, I need to capture video from an attached camera (such as the internal MacBook Pro camera), transcode it to FLV, and then stream (publish) it to Wowza media server for restreaming.
> Is this live streaming?
> Do macs have v4l2?
> http://ffmpeg.org/trac/ffmpeg/wiki/StreamingGuide might be helpful
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
More information about the ffmpeg-user