Hi Francois,

I'm using a third party compiled API, to talk to FFmpeg. I can't change the 
command line structure. I would have to purchase the API source to do it.

If that is true. They should remove the pages from the website, talking about 
the feature.

But I can see using these files for several of my projects. It's too bad they 
removed this feature.

Thanks,

Scott.

-----Original Message-----
From: ffmpeg-user <[email protected]> On Behalf Of Francois Visagie
Sent: September 4, 2018 4:00 PM
To: 'FFmpeg user questions' <[email protected]>
Subject: Re: [FFmpeg-user] preset files

> -----Original Message-----
> From: ffmpeg-user [mailto:[email protected]] On Behalf Of 
> Scott Johnson
> Sent: 31 August 2018 15:07
> To: [email protected]
> Subject: [FFmpeg-user] preset files
> 
> Hi Everyone,
> 
> 
> 
> Here is a newbie question.
> 
> 
> 
> I have a C++ API that uses FFmpeg to stream an IP camera to my application.
> I can not pass any variables to the background call to FFmpeg, other 
> than the source rtsp and transport type call.
> 
> 
> 
> Here is the command I used to test the FFmpeg settings to make it work 
> with my camera. Or should I say, here is the command I had to build to 
> get it to work.
> 
> 
> 
> ffmpeg -rtsp_transport tcp -i "rtsp://192.168.90.112:554/profile2/" 
> -c:v copy -c:a aac -max_muxing_queue_size 99999 -map 0 foo.mp4
> 
> 
> 
> I now need to take some of the parts and put them in a preset file. 
> Because FFmpeg does not like my pcm_alaw audio codex. I had to use 
> "-c:a aac" to replace the audio steam with a blank one. I also had to 
> add the "-max_muxing_queue_size 99999" to prevent buffer issues.
> 
> 
> 
> My video is using the h.264 codex. Do I just need to make a file named 
> h264.ffpreset, with the following lines:
> 
> 
> 
>                c:a=aac
> 
>                max_muxing_queue_size=99999
> 
> 

As far as I know the use of preset files has been deprecated.

I'd use a wrapper that takes the source and transport type arguments from your 
API and then specifies the additional settings on the actual ffmpeg command 
line.

> 
> 
> 
> Thanks,
> 
> 
> 
> Scotty.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> ffmpeg version N-91715-gd71dfc087b Copyright (c) 2000-2018 the FFmpeg 
> developers
> 
>   built with gcc 8.2.1 (GCC) 20180813
> 
>   configuration: --enable-gpl --enable-version3 --enable-sdl2 
> --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass 
> --enable-libbluray --enable-libfreetype --enable-libmp3lame 
> --enable-libopencore-amrnb --enable-libopencore-amrwb --enable- 
> libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy 
> --enable-libsoxr --enable-libtheora --enable-libtwolame 
> --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 
> --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma 
> --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis 
> --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex 
> --enable-libxvid --enable-libaom --enable-libmfx --enable-amf 
> --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc 
> --enable-nvdec --enable-dxva2 --enable-avisynth
> 
>   libavutil      56. 19.100 / 56. 19.100
> 
>   libavcodec     58. 27.100 / 58. 27.100
> 
>   libavformat    58. 17.103 / 58. 17.103
> 
>   libavdevice    58.  4.101 / 58.  4.101
> 
>   libavfilter     7. 26.100 /  7. 26.100
> 
>   libswscale      5.  2.100 /  5.  2.100
> 
>   libswresample   3.  2.100 /  3.  2.100
> 
>   libpostproc    55.  2.100 / 55.  2.100
> 
> _______________________________________________
> ffmpeg-user mailing list
> [email protected]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> 
> To unsubscribe, visit link above, or email 
> [email protected] with subject "unsubscribe".

_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email [email protected] with 
subject "unsubscribe".

_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to