Re: [FFmpeg-user] Reordering frames in corrupt GoPro videos

2024-07-20 Thread Mark Filipak
On 20/07/2024 18.11, Vincent Deconinck wrote: On Sat, Jul 20, 2024 at 9:55 PM Mark Filipak wrote: -snip- GoPro splits videos in chunks of around 4GB (which is about 11 minutes with my settings). In other words, I have 5 or 7 files to which I should apply the same shuffling pattern, but the spl

Re: [FFmpeg-user] Reordering frames in corrupt GoPro videos

2024-07-20 Thread Vincent Deconinck
On Sat, Jul 20, 2024 at 9:55 PM Mark Filipak wrote: > I don't know of any tool where you can simply pick up a frame and move it > while you're watching a stream. You might be able to use shuffleframes for > uniform runs, but when the pattern changes you're stuck with making > intermediate shuffle

Re: [FFmpeg-user] Reordering frames in corrupt GoPro videos

2024-07-20 Thread Mark Filipak
On 20/07/2024 13.57, Vincent Deconinck wrote -snip-> But I don't see any such dropped frames in the output.> I reformated the log for the 10 first frames in this spreadsheet:> https://docs.google.com/spreadsheets/d/1nVWROlUkl2rzENiCpey5Sw1z97WS3tfR52ATjfn_rTU/edit?usp=sharing> > Do you see anyt

Re: [FFmpeg-user] Reordering frames in corrupt GoPro videos

2024-07-20 Thread Vincent Deconinck
On Fri, Jul 19, 2024 at 3:59 AM Mark Filipak wrote: > My bad. I assumed you knew more. Oh, no-one should over-estimate my knowledge :-) > Try this: > ffprobe -flags2 +showall -sexagesimal -select_streams v -show_frames -of > flat -dn -i > in_bad_frame_order.mp4 > Thanks. ffprobe does not see

Re: [FFmpeg-user] Reordering frames in corrupt GoPro videos

2024-07-18 Thread Mark Filipak
On 18/07/2024 17.56, Vincent Deconinck wrote: On Thu, Jul 18, 2024 at 12:26 AM Mark Filipak wrote: Based on a recent tip, try this command: ffprobe -flags2 +showall -i ... You may find that what you think is the first frame is not always the first frame. Thanks. I tried the above command b

Re: [FFmpeg-user] Reordering frames in corrupt GoPro videos

2024-07-18 Thread Vincent Deconinck
On Thu, Jul 18, 2024 at 12:26 AM Mark Filipak wrote: > Have you tried appealing to the manufacturer for a repair? > Well, the camera is a GoPro Hero8, it's out of warranty and basically outdated so I doubt they do anything except charge me for more than the price of a brand new one. [Off-topic]

Re: [FFmpeg-user] Reordering frames in corrupt GoPro videos

2024-07-17 Thread Mark Filipak
On 17/07/2024 16.54, Vincent Deconinck wrote: On Fri, Jul 12, 2024 at 1:04 AM Mark Filipak wrote: Try this: -filter_complex "shuffleframes=" It's worked for me. Hi Mark and Paul, Sorry for the delay. Thanks very much for the "shuffleframes" filter tip, this seems the right tool to use,

Re: [FFmpeg-user] Reordering frames in corrupt GoPro videos

2024-07-17 Thread Vincent Deconinck
On Fri, Jul 12, 2024 at 1:04 AM Mark Filipak wrote: > Try this: > -filter_complex "shuffleframes=" > It's worked for me. > Hi Mark and Paul, Sorry for the delay. Thanks very much for the "shuffleframes" filter tip, this seems the right tool to use, even if it implies reencoding. My tests co

Re: [FFmpeg-user] Reordering frames in corrupt GoPro videos

2024-07-11 Thread Paul B Mahol
On Fri, Jul 12, 2024 at 12:43 AM Mark Filipak wrote: > On 11/07/2024 18.05, Vincent Deconinck wrote: > > Hi, > > > > A few months ago, my GoPro randomly started creating some corrupt (or > > partly-corrupt) video files, mixing up frames and causing jaggy > playback.To > > illustrate the case, her

Re: [FFmpeg-user] Reordering frames in corrupt GoPro videos

2024-07-11 Thread Mark Filipak
On 11/07/2024 18.05, Vincent Deconinck wrote: Hi, A few months ago, my GoPro randomly started creating some corrupt (or partly-corrupt) video files, mixing up frames and causing jaggy playback.To illustrate the case, here is an excerpt I generated with "ffmpeg -c copy" from a corrupt source file

Re: [FFmpeg-user] Reordering frames in corrupt GoPro videos

2024-07-11 Thread Mark Filipak
On 11/07/2024 18.05, Vincent Deconinck wrote: Hi, A few months ago, my GoPro randomly started creating some corrupt (or partly-corrupt) video files, mixing up frames and causing jaggy playback.To illustrate the case, here is an excerpt I generated with "ffmpeg -c copy" from a corrupt source file