Re: [FFmpeg-user] problem with fast seeking and splitting

2022-05-02 Thread Alexander Solonsky via ffmpeg-user
> On 5/1/2022 10:27 PM, Alexander Solonsky via ffmpeg-user wrote: >> I'm trying to split an input file into 2 second chunks, transcode and >> assemble using a concat muxer. > I hate to question the question, but what's the purpose of this process? > Generally speaki

Re: [FFmpeg-user] problem with fast seeking and splitting

2022-05-02 Thread Alexander Solonsky via ffmpeg-user
Monday, May 2, 2022, 2:21:17 PM, you wrote: > On Mon, May 2, 2022 at 7:27 AM Alexander Solonsky via ffmpeg-user > wrote: >> Dear Experts, >> I'm trying to split an input file into 2 second chunks, transcode and >> assemble using a concat muxer. And experiencing tw

[FFmpeg-user] problem with fast seeking and splitting

2022-05-01 Thread Alexander Solonsky via ffmpeg-user
Dear Experts, I'm trying to split an input file into 2 second chunks, transcode and assemble using a concat muxer. And experiencing two problems: major one: 1) when using ffmpeg -ss 00:00:08 -t 2 -i -c:v libx264 instead of seeking to second 8, ffmpeg seeks somewhere to second 15 or so.

[FFmpeg-user] independent codec settings

2021-04-26 Thread Alexander Solonsky via ffmpeg-user
Dear peers, I use this command to create 2 streams out of 1 with different gop sizes: ffmpeg -i $1 -map 0:v:0 -c:v:0 libx264 -x264-params "keyint=24:keyint_min=24:bframes=1" -map 0:v:0 -c:v:1 libx264 -x264-params "keyint=72:keyint_min=72:bframes=3" $2 -y but the output video streams have