I want to convert a .mp4 file to a TS which I can stream to a DVB modulator. It should be 1000k H264 4:3 and 128k AAC audio. Can anybody help me with the syntax to do this?
I now used:
Code: Select all
ffmpeg -y -re -i history.mp4 -vcodec h264_nvenc -aspect 4:3 -b:v 1000k -s 720x576 -r 25 -rc cbr -profile:v main -preset slow -mpegts_original_network_id 1 -mpegts_transport_stream_id 1 -mpegts_service_id 1 -mpegts_pmt_start_pid 100 -c:a aac -b:a 128k -ar 48000 -streamid 0:101 -streamid 1:102 -f mpegts outfile.ts
It's not a bandwidth problem. Symbolrate is high enough.