ffmpeg -i "rtsp://dev:rezaIpCctv1402@192.168.20.43:554/cam/realmonitor?channel=1&subtype=1" -fflags flush_packets -max_delay 5 -flags -global_header -hls_time 5 -hls_list_size 3  -vcodec copy -tag:v hvc1 -y .\videos\ipcam\01\index.m3u8
ffmpeg -i "rtsp://dev:rezaIpCctv1402@192.168.20.44:554/cam/realmonitor?channel=1&subtype=1" -fflags flush_packets -max_delay 5 -flags -global_header -hls_time 5 -hls_list_size 3 -vcodec copy -tag:v hvc1 -y .\videos\ipcam\02\index.m3u8


ffmpeg -i "rtsp://dev:rezaIpCctv1402@192.168.20.43:554/cam/realmonitor?channel=1&subtype=1" -fflags flush_packets -max_delay 5 -flags -global_header -hls_time 5 -hls_list_size 3 -hls_flags delete_segments -start_number 1 -vcodec copy -tag:v hvc1 -y .\videos\ipcam\01\index.m3u8

ffmpeg -i "rtsp://dev:rezaIpCctv1402@192.168.20.43:554/cam/realmonitor?channel=1&subtype=1" -c:v copy -c:a copy -hls_time 2 -hls_list_size 10 -hls_flags delete_segments -start_number 1 .\videos\ipcam\01\index.m3u8

ffmpeg -i "rtsp://dev:rezaIpCctv1402@192.168.20.43:554/cam/realmonitor?channel=1&subtype=1" -fflags flush_packets -max_delay 5 -flags -global_header -hls_time 5 -hls_list_size 3 -vcodec copy -tag:v hvc1 -y .\videos\ipcam\01\index.m3u8



ffmpeg -fflags nobuffer -loglevel debug -rtsp_transport tcp -i "rtsp://dev:rezaIpCctv1402@192.168.20.43:554/cam/realmonitor?channel=1&subtype=1" -vsync 0 -copyts -vcodec copy  -start_number 1 -movflags frag_keyframe+empty_moov -an -hls_flags delete_segments+append_list -f hls -hls_time 1 -hls_list_size 3 -hls_segment_type mpegts -hls_segment_filename './stream/%d.ts' ./stream/index.m3u8


ffmpeg -i "rtsp://dev:rezaIpCctv1402@192.168.20.43:554/cam/realmonitor?channel=1&subtype=1" -fflags flush_packets -max_delay 5 -flags -global_header -hls_time 5 -hls_list_size 3 -vcodec copy -start_number 1 -tag:v hvc1 -y .\videos\ipcam\01\index.m3u8

ffmpeg -v info -rtsp_transport tcp -i "rtsp://dev:rezaIpCctv1402@192.168.20.43:554/cam/realmonitor?channel=1&subtype=1" -c:v copy -c:a copy -maxrate 400k -bufsize 1835k -pix_fmt yuv420p -flags -global_header -hls_time 10 -hls_list_size 6  -start_number 1 .\videos\ipcam\01\index.m3u8




rtsp://dev:rezaIpCctv1402@192.168.20.43:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif

ffmpeg -v info -rtsp_transport tcp -i "rtsp://dev:rezaIpCctv1402@192.168.20.43:554/cam/realmonitor?channel=1&subtype=1&unicast=true&proto=Onvif" -c:v copy -c:a copy -maxrate 400k -bufsize 1835k -pix_fmt yuv420p -flags -global_header -hls_time 5 -hls_list_size 6  -start_number 1 .\videos\ipcam\01\index.m3u8






