recordmydesktop
recordmydesktop copied to clipboard
Keyframe not correctly marked
From https://sourceforge.net/p/recordmydesktop/bugs/95/
I had some problems when I edited ogv files from recordmydesktop in Openshot. Because of that I converted the files to mp4 using ffmpeg. This gave me the warning:
[ogg @ 0x298e040] Header parsing failed for stream 0
[ogg @ 0x298e040] Broken file, keyframe not correctly marked.
So I guess recordmydesktop is not marking keyframes correctly.
In case you want to reproduce the ffmpeg output here is the command I used:
ffmpeg -i desktop.ogv -b:a 128k -b:v 4096k -s 1280x720 -vcodec libx264 -acodec copy -threads 0 desktop.mp4
I also reported the issue here: https://bugs.launchpad.net/ubuntu/+source/recordmydesktop/+bug/1589853
I confirm it. Using recordmydesktop-0.3.8.1 and ffmpeg-3.0.1. The same errors appear and the quality of the result of ffmpeg transcoding is very low.
I have a workaround for using ffmpeg to convert a file from ogv to mp4.
The following works:
ffmpeg -discard nokey -i original_file.ogv -max_muxing_queue_size 9999 converted_file.mp4
and the resulting file had no audio or video issues.
i'm also seeing this problem. I think the workaround is even simpler: just feed it through a simple ffmpeg passthrough:
ffmpeg -i original.ogv -c copy cleaned.ogv
Please, none of these solved the issue for me.