passing commands to FFMpeg

New product: VCL components for displaying and controlling IP cameras, webcams, video conferencing, video chats
Post Reply
scotty69169
Posts: 1
Joined: Thu Aug 30, 2018 8:46 pm

passing commands to FFMpeg

Post by scotty69169 » Thu Aug 30, 2018 8:57 pm

I got FFmpeg to see my camera correctly and write a file. But I had to use the following command line:

ffmpeg -loglevel debug -rtsp_transport tcp -i "rtsp://admin:123456@192.168.90.112:554/profile2/" -c:v copy -c:a aac -max_muxing_queue_size 99999 -map 0 foo.mp4

Is there a way to pass some of the commands to FFmpeg. Like "-c:a aac", Because my IP camera is using a none supported audio codex(pcm_alaw).

Thanks,

Scotty

Sergey Tkachenko
Site Admin
Posts: 14120
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: passing commands to FFMpeg

Post by Sergey Tkachenko » Fri Aug 31, 2018 5:51 am

RVMedia does not support reading sound using FFMpeg yet.
It only supports sound from microphones or other local devices.

Kelch
Posts: 1
Joined: Mon Aug 27, 2018 10:14 am

Re: passing commands to FFMpeg

Post by Kelch » Mon Sep 03, 2018 11:44 am

Hi Sergey, 'yet' implies that you're planning to add this feature. Is that right? I think that would be awesome.

Sergey Tkachenko
Site Admin
Posts: 14120
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: passing commands to FFMpeg

Post by Sergey Tkachenko » Mon Sep 03, 2018 1:23 pm

Yes, reading sound using FFmpeg is planned in future.

But I do not know when it will be implemented, because our next goal (after releasing RVMedia 6) will be FireMonkey and other platforms.

benitomuso
Posts: 6
Joined: Fri Dec 23, 2016 10:11 am

Re: passing commands to FFMpeg

Post by benitomuso » Wed Sep 26, 2018 1:07 pm

Regarding the original subject of the post: "passing commands to FFMPeg"
In spite that the sound options wanted by Scotty are not supported, is there any way to pass extra parameters to RVMedia affecting the video, for example the ones to resize video or change aspect ratio of the sort:

-hide_banner -x 640 -y 480 -noborder -vf scale=640:480

Thank you.

Sergey Tkachenko
Site Admin
Posts: 14120
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: passing commands to FFMpeg

Post by Sergey Tkachenko » Wed Sep 26, 2018 1:30 pm

Some parameters can be passed to FFmpeg by assigning sub-properties of RVCamera.FFMpegProperty .

Post Reply