ffmpeg to create a .TS file

Digital ATV - The latest generation, cutting edge ATV - Please discuss it all here.
Forum rules
This forum is run by the BATC (British Amateur Television Club), it is service made freely available to all interested parties, please do not abuse this privilege.

Thank you
Post Reply
PE5PVB
Posts: 161
Joined: Sun Sep 02, 2012 6:51 pm

ffmpeg to create a .TS file

Post by PE5PVB » Mon Oct 03, 2022 9:39 pm

Hi,

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
But the output file runs ok on VLC, but not on the transmitter. I have another demo file which plays without problems. I think I forgot something.
It's not a bandwidth problem. Symbolrate is high enough.

Post Reply

Return to “DATV - Digital ATV”