[Libav-user] Translation of FFmpeg command line command into C API

דוד ברמץ davidbarmatz at gmail.com
Wed Jul 6 13:47:07 CEST 2016


Hello.

right now I'm using FFmpeg as stand-alone application from command line.
I'm get media from multiple input and write them into multiple outputs on
hard drive.
I using the following command (this is for only one input and output):

*ffmpeg  -i
'udp://xxx.xxx.xxx.xxx:1234?overrun_nonfatal=1&fifo_size=50000000 -map 0
-c copy -vn  -f segment -segment_time 30 -ar 8000 -acodec pcm_s32le -ac 1
-strftime 1 /home/Path/On/HardDrive/"T000001_%Y_%m_%d__%H_%M_%S.wav"*

I want to write a program using the FFmpeg C API (I want to write output
into array instead of hard-drive). How could I know how to re-write this
command into program (I already saw and compiled by myself FFmpeg
examples)? Maybe you have a similiar example?

Thank a lot,
DB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20160706/e41e97de/attachment.html>


More information about the Libav-user mailing list