Anyone know how to stream something as MP4 with ffmpeg? Like, is there a specific name or term for it I should be looking up?
For context, I'm playing some shitty game that can display videos in-game and I want to tune into always-on streams on it live. Issue is it only takes .mp4, and I had given up on the idea until I learnt Picarto does serve streams as MP4 (among other options, such as the usual HLS), which the game is able to tune into perfectly fine.
So far I've got this, which works on ffplay, VLC, MPC and Firefox the same way picarto streams do, as far as I can tell, but fails to work on that game:
ffmpeg -re -i https://streaming.meteonews.net/hls/stream.m3u8 -preset ultrafast -listen 1 -c:v h264 -c:a aac -f mp4 -content_type video/mp4 -g 60 -movflags faststart+frag_keyframe+empty_moov http://localhost:8080/test.mp4