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

mac os preview not playing video after cut #1879

Closed
4 tasks done
skywinder opened this issue Jan 30, 2024 · 4 comments
Closed
4 tasks done

mac os preview not playing video after cut #1879

skywinder opened this issue Jan 30, 2024 · 4 comments

Comments

@skywinder
Copy link

skywinder commented Jan 30, 2024

I have a lot of issues to go through, so in order to make it easier for me to help you, I ask that you please try these things first

Steps to reproduce

I've cut and exported a piece from a video shot on a DJI FPV drone. This issue only occurs with files from this drone; all other files work fine.

Expected behavior

When I press space on my Mac for a preview, I expect to see a window open with the video playing.

Actual behavior

Instead, I see only a static preview image.

Attached is a screenshot with the data of the tracks and export details, as well as a short video showing how it looks with the original media and the cut versions.

Provide an error report

CleanShot 2024-01-30 at 18 52 30@2x
Screenshot 2024-01-30 at 18 52 25

test-preview.mov

Share the file

No response

Share log

No response

@mifi
Copy link
Owner

mifi commented Jan 31, 2024

Hi. does it play back in Quicktime? Have you tried suggestions from FAQ/troubleshooting? in particular see if it helps to change output format to mov as well as disable the avc track. it's a bit hard to say what's causing this exactly without having a sample file to test

@skywinder
Copy link
Author

Playback works normally, but there are issues with exporting and previewing the video:

  1. I have tried exporting in both MP4 and MOV formats, but the problem persists.

  2. Exporting in Matroska (MKV) format results in an error. This occurs when I try to include a fourth track, which was initially disabled for export. I'm unsure what this track is (it's labeled as some kind of 'nail'). I believe it might be metadata, which I can probably delete.

    CleanShot 2024-01-31 at 13 55 01@2x

    If I delete this 'nail' track, MKV export becomes available, but the preview issue remains – it won’t play.

  3. This seems to be specific to DJI FPV format, as other videos work fine. I’m curious to find and resolve the issue. If you’d like to try, I can share the file, or you can tell me how to debug it. I’m happy to help.

    Here’s a video demonstrating the issue with opening MP4, MOV, and MKV files:

    CleanShot.2024-01-31.at.14.10.55-converted.mp4

P.S. Thanks for the quick reply and for creating a great tool. I will definitely send a donation for this tooling!

@mifi
Copy link
Owner

mifi commented Jan 31, 2024

possible workarounds:

  • disabling the 2nd (avc1) track
  • avoid_negative_ts
  • "Keyframe cut" vs "Normal cut"

@skywinder
Copy link
Author

Yay!

Disabling the 2nd (avc1) track

helped! I don't know why it was breaking the preview, but now everything is good. Thanks. I believe I don't need that lower bitwrate & resilution track anyway!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants