

Print( "Attempting reconnect in 10 seconds")ĭEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. # Skip the "flushing" packets that demux generates if packet.dts is None: # For each packet from the RTSP stream for packet in rtsp_mux(rtsp_stream): Hls_stream = hls_file.add_stream(template=rtsp_stream) # Make output streams using the rtsp input as a template

# Open input and output files with av.open(RTSP_URL, 'hls_flags': 'delete_segments+discont_start', """ # Packages # Standard library import time PS: FEEL FREE TO delete this comment if it seems inappropriate If any of you could help I'd be glad leandromoreira/ffmpeg-libav-tutorial#54 The basic idea is to start show a small simple transmuxing and growing this code to make more things. and some of you might have experience on this. I did the three first examples but I'm facing some weird problems that I think it's related to the way I'm coding the setup of timing and the decoder mostly.

