Hi,

I’m record a stream from ip camera with H264 video encoding & PCMA audio 
encoding to m3u8
Ffmpeg version:3.2.4
OS:OSX

Here is my command:

ffmpeg -rtsp_transport tcp -i rtsp://192.168.0.40/1/h264major -vcodec copy 
-acodec aac -hls_init_time 2 -hls_time 60
-hls_list_size 0 -hls_flags +single_file+round_durations -hls_segment_filename 
test.ts -t 3600 test.m3u8

But in the m3u8 file,every segment entry’s duration is 2 seconds

Which part did I do wrong?

Thx in advance!
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to