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

Editted files don't work in TV app #463

Closed
Formshift opened this issue Sep 21, 2020 · 13 comments
Closed

Editted files don't work in TV app #463

Formshift opened this issue Sep 21, 2020 · 13 comments

Comments

@Formshift
Copy link

I editted several MP4 files, but most of the editted files will no longer be accepted in the TV app. The uncut versions were accepted with no issues. Is there any way to see what part of the MP4 causes it ? Thank you.

@Pentaphon
Copy link

The built in player in most TVs are pretty bad at playing files that have been cut, especially not keyframe cut clips. You may consider using another player on your TV like VLC, Kodi, Nova, etc using an Android device to get the best playback.

@Formshift
Copy link
Author

By TV app I meant the TV app from Apple in MacOS. I don't want to use other software since that is what I use to stream all my media to my AppleTV.

@Pentaphon
Copy link

By TV app I meant the TV app from Apple in MacOS. I don't want to use other software since that is what I use to stream all my media to my AppleTV.

Make sure your clips are keyframe cut or it won't play. If they still don't play, you have no choice but to use a player that works.

@Formshift
Copy link
Author

They are keyframe cut, yes. When I do the cuts in Quicktime X, the TV app does accept the file. So it seems like lossless-cut does something that the TV app doesn't accept.

@Pentaphon
Copy link

They are keyframe cut, yes. When I do the cuts in Quicktime X, the TV app does accept the file. So it seems like lossless-cut does something that the TV app doesn't accept.

Then as I said before, you have no choice but to use a better player than the TV app. I don't have any issues playing keyframe cut files on the 4 different players on my PC and TV.

@Formshift
Copy link
Author

Since that's not going to happen, I have no choice but to use a different editor, or hope the developer figures out what the issue might be.

@mifi
Copy link
Owner

mifi commented Nov 15, 2020

what is the tv app? iOS? Macos? apple tv? and what kind of file (codec/format)?

@Formshift
Copy link
Author

The TV app on MacOS. When I drag and drop the files, or put them in the watch-folder "Add to TV library", it doesn't get added to the TV library. The uncut versions get accepted just fine. They are MP4 files with an H264 & AAC track.

@mifi
Copy link
Owner

mifi commented Nov 24, 2020

Ok I managed to reproduce the issue. When drag-dropping the cut file, nothing happens.

I managed to track it down to -movflags use_metadata_tags. When I remove this the cut file works.

This flag was added because of an issue with metadata #99
But there have been other issues due to the flag, so I'm thinking I should make it default false, but with an option to enable it.

@Formshift
Copy link
Author

Okay, thanks for figuring this out. Is this something I can disable myself in the meantime ?

@mifi
Copy link
Owner

mifi commented Nov 24, 2020

You can run your cut, then go to Help -> Last ffmpeg commands and copy this command to the command line, then remove the flags.

...or you can run this command on your output video: ffmpeg -i video.mp4 -c copy -map_metadata 0 out.mp4, but you will lose metadata.

mifi added a commit that referenced this issue Nov 25, 2020
- Implement an Export summary/confirmation sheet when pressing export
- Move output option buttons to export sheet
- Add config option to disable use_metadata_tags (default to false) #463 #402 #99
- Add config option for avoid_negative_ts #13
- Escape key to close sheets
- Change from mousetrap to hotkeys.js (better unbind - more compatible with react)
@mifi
Copy link
Owner

mifi commented Nov 25, 2020

In the next version there will be an option to not preserve MOV metadata (disable the -movflags use_metadata_tags flag). I have also made this the default (flag disabled). This should fix your issue.

@mifi
Copy link
Owner

mifi commented Aug 24, 2021

closing due to inactivity

@mifi mifi closed this as completed Aug 24, 2021
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

3 participants