Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keyframe not correctly marked #23

Open
Enselic opened this issue Mar 13, 2021 · 4 comments
Open

Keyframe not correctly marked #23

Enselic opened this issue Mar 13, 2021 · 4 comments
Labels
bug Something isn't working

Comments

@Enselic
Copy link
Owner

Enselic commented Mar 13, 2021

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

@Enselic Enselic added the bug Something isn't working label Mar 13, 2021
@ID-ima
Copy link

ID-ima commented May 26, 2021

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.

@AJRepo
Copy link

AJRepo commented Sep 11, 2021

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.

@dkg
Copy link

dkg commented Jun 6, 2022

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

@juniorohanyere
Copy link

Please, none of these solved the issue for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants