Giter Site home page Giter Site logo

Comments (7)

RandomNinjaAtk avatar RandomNinjaAtk commented on August 26, 2024

If you can test if ffmpeg can tag it and verify it works, then I can add it in

from docker-amvd.

monkeyhat avatar monkeyhat commented on August 26, 2024

Thanks for this! I had a look through and tried every option I could think of to try and get FFMPEG to do the same as MKVMerge-GUI was doing, but I had no luck. In fact I couldn't really find a way to view the MKVMerge date stuff anywhere but MKVMerge and Plex - so I think it's probably more a fluke that it worked than anything, and not worth pursuing.

Is there any way to get AMVD to export videos in MP4 format? As mentioned, I had some MP4 music videos (which must've been created by an older version of the script, as I believe it only generates MKVs now) - and the Plex "Other videos" local metadata handler seemed to manage quite well with those - properly handling things like the year and the artist. Though, as this is probably more of an issue with the way Plex handles MKVs, I totally understand if not!

from docker-amvd.

RandomNinjaAtk avatar RandomNinjaAtk commented on August 26, 2024

I always debate what format to use, your right that MP4 supports tagging better and most software reads them. MKV tags aren't really used at all from what I can tell from most applications from my personal testing.

The reason to move to MKV was to simplify and standardize, instead of supporting multiple options. Because MP4 has codec (video/audio/subtitle) limitations that MKV does not...

I personally always feel conflicted on what container to use because of these limitations... If mp4 didn't have the same limitations, it would probably be the right choice for that reason...

So I'm not sure if I will enable an option or switch because I want to keep things simple...

Edit:

Did you try adding -metadata DATE="INSERTDATE" to your ffmpeg command to make it work?

2nd Edit:
Also you could use ffprobe to see what the files tags are from the ones you edited via the other tools. Maybe its not simply DATE and something else...

from docker-amvd.

davralin avatar davralin commented on August 26, 2024

https://forums.plex.tv/t/lma-agent-mkv-metadata-still-not-parsing/562298

For context, also read this from 2016:
https://forums.plex.tv/t/mkv-metadata/100607/2

It seems, plex doesn't do metadata from mkv...

from docker-amvd.

monkeyhat avatar monkeyhat commented on August 26, 2024

Thanks for the responses, both. I totally understand the decision to stick with MKV - I use it for everything else as it seems to be a way more capable container (particularly for things like subtitles) - I just thought MP4 might be a work-around in this case. Plex's response to not reading MKV metadata seems pretty much in-line with company policy - "why do something consistently?"

One potential solution: I noticed that someone's made a Plex agent that reads metadata from NFO files. It seems to mainly be geared for movie and TV libraries, and for moving libraries across from XBMC - but Plex allows you to choose an agent for "Other Videos" libraries, so I'm going to give it a try with the NFO files generated by AMVD. Will let you know how it works out!

Thanks again!

from docker-amvd.

davralin avatar davralin commented on August 26, 2024

I parse info.json with jq, and then I touch the file based on that, the files access/modification-time is honored in plex.
Something like:

UPLOAD_DATE=$(/usr/bin/cat movie.info.json | /usr/bin/jq .upload_date | /usr/bin/sed 's/"//g' | /usr/bin/sed 's/$/0000/g')
/usr/bin/touch -a -m -t $UPLOAD_DATE movie.*

info.json is populated with --write-info-json passed to youtube-dl

from docker-amvd.

RandomNinjaAtk avatar RandomNinjaAtk commented on August 26, 2024

Recent updates change this to using MP4, so this is resolved... @monkeyhat

from docker-amvd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.