I am using ffmpeg to convert an HLS stream to mp4 using this command:
ffmpeg -i https://example.com/xxx.m3u8 -y -vcodec copy -c copy -bsf:a aac_adtstoasc test.mp4
I only have access to this video from the stream, and I need it in mp4 format to send on for processing, but I want to be able to set the FPS of the mp4, so that it is consistent.
The HLS stream looks like this:
#EXTM3U
#EXT-X-STREAM-INF:BANDWIDTH=264000
xxx/xxx007e.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=464000
xxx/xxx0080.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=768000
xxx/xxx0082.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=1200000
xxx/xxx0084.m3u8