[Libav-user] General concat input to stream output questions

Deron deron at pagestream.org
Mon Feb 14 01:25:08 EET 2022


Hello,

I've been a user of ffmpeg for many years, but always managed until now 
to do what I need without diving into libav.

I would like to stream multiple media files (never ending list) to an 
mpegts. Concat doesn't work because (I presume) non-incrementing PTS, so 
I would like to try my hand at an endless video stream and I'd like a 
little guidance or maybe someone has seen something similar done and can 
point me to the project?

Looking at the transcoding example, I'm going to guess I can create the 
output context and then for each input create a context and decode it 
into the filtergraph. With each new video, I presume I would need to 
make some kind of changes to the filtergraph? How much needs to be 
rebuilt, and how much can just be repurposed?

Is there any kind of examples which breaks down ffmpeg parameters to 
libav calls?

As a side note, is there some way to search the archives of this list? 
Seems like a lot of knowledge buried in plain sight.

Thanks in advance for any help,

Deron


ffmpeg -i "callsign.mp4" -s 1280x720 -aspect 1280:720 -pix_fmt yuv420p 
-r 60000/1001 -vf scale=1280:720 -af volume=0.6 -vsync cfr 
-metadata:s:v:0 language=eng -muxrate 16393000 -b:v 4000k -maxrate:v 
13000k -minrate:v 0 -bufsize:v 6000k -acodec ac3 -b:a 128k -ar 48k -ac 2 
-metadata:s:a:0 language=eng -metadata service_provider=KD0AYO -metadata 
service_name=4 -mpegts_transport_stream_id 8642 -metadata 
atsc_name=KD0AYO -metadata atsc_channel=4.1 -streamid 0:49 -streamid 
1:52 -mpegts_service_id 3 -f mpegts -mpegts_service_type 
mpeg2_digital_hdtv 'tcp://127.0.0.1:5432'




More information about the Libav-user mailing list