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
passing commands to FFMpeg
-
- Posts: 4
- Joined: Thu Aug 30, 2018 8:46 pm
- Location: Canada
- Contact:
-
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: passing commands to FFMpeg
RVMedia does not support reading sound using FFMpeg yet.
It only supports sound from microphones or other local devices.
It only supports sound from microphones or other local devices.
Re: passing commands to FFMpeg
Hi Sergey, 'yet' implies that you're planning to add this feature. Is that right? I think that would be awesome.scotty69169 wrote: ↑Thu Aug 30, 2018 8:57 pm I got ExpressVPN recently and 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
Last edited by Kelch on Thu Sep 08, 2022 3:44 pm, edited 3 times in total.
-
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: passing commands to FFMpeg
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.
But I do not know when it will be implemented, because our next goal (after releasing RVMedia 6) will be FireMonkey and other platforms.
-
- Posts: 6
- Joined: Fri Dec 23, 2016 10:11 am
Re: passing commands to FFMpeg
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.
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.
-
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: passing commands to FFMpeg
Some parameters can be passed to FFmpeg by assigning sub-properties of RVCamera.FFMpegProperty .