Re: [FFmpeg-user] How to deal long length of options on some arguments?
On 12/5/2019 6:50 PM, 김민성 wrote: As I said in email, -segment_time will split all segments have same length. I want to split video segments non-uniformly, which requires additional cutting and merging steps if I use -segment_time. Actually, I don't think you said that. A clear definition of the problem is always helpful. You may find it more workable to use a frame-server and pull the number of frames you want for each segment and reassemble them. Also, please don't top-post on this list. Late,r z! ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] How to deal long length of options on some arguments?
As I said in email, -segment_time will split all segments have same length. I want to split video segments non-uniformly, which requires additional cutting and merging steps if I use -segment_time. Thank you. Minsung Kim -Original Message- From: "Carl Zwanzig" To: ; Cc: Sent: 2019-12-06 (금) 09:53:06 (GMT+09:00) Subject: Re: [FFmpeg-user] How to deal long length of options on some arguments? Is there a specific reason to specify the absolute segment starts? It seems like the process would be much easier if you use -segment_time instead. Later, z! ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] How to deal long length of options on some arguments?
Is there a specific reason to specify the absolute segment starts? It seems like the process would be much easier if you use -segment_time instead. Later, z! ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
[FFmpeg-user] How to deal long length of options on some arguments?
Hello. I am trying to set command like below: ffmpeg -i in.mp4 \ -force_key_frames [verymanycheckpoints] \ -segment_times [verymanycheckpoints] \ -segment_list segmentlist.txt \ -f segment \ -reset_timestamps 1 \ out%03d.mp4 \ Current bottleneck is "[very...many...checkpoints]", which is possibly can be very long argument. Using trim filter for splitting many segments is impossible. (ffmpeg runs out of memory, I think) Therefore, I think I have to use segment muxer to split video non-uniformly. But every OS have character limits for single command, which is vulnerable for people like me(who can potentially make 10,000+ segments). How can I pass option "segment_times" and "force_key_frames" by file? (If it's impossible, I can split video uniformly and cut again from those fragments anyway, but I would be happy if there is any direct straightforward way to handle this issue.) Thanks for reading this. Minsung Kim ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".