8 hours ago
Hi,
I was wondering what does Jellyfin's player reads in order to display a movie duration?
Here's the context: I have created "fake" mp4 for my collection of DVDs and BluRay, movies not yet digitalized, in order to still have them in the list, while I browse my movies. I created "fake" mp4 that only last 5 seconds. Since they are named properly, they still show in the library, with all the details (poster, nfo file, etc), but of course, the duration is not an info scrapped from the internet, so it obviously comes from the video file itself.
Now my problem is that when I sort movies by duration, say, ascending, all the "fake" movies are first because they show a duration of 1m.
I found a way to cheat the duration "display" of an mp4 (it shows the duration of the real movie, even if the video plays for only 5 seconds), by changing hex values in the file. Tested on multiple different players, it successfully shows the movie duration (in my case example: 100m), but of course the video plays for only 5 seconds, which is fine, but I thought in Jellyfin, it would now show that this movie has a 100m duration, but it's not the case, it still shows 1m, so it must be reading that info from "something" else in the file.
Does anyone knows how I could trick Jellyfin to think that the movie is actually 100m?
Thanx in advance
Steph
I was wondering what does Jellyfin's player reads in order to display a movie duration?
Here's the context: I have created "fake" mp4 for my collection of DVDs and BluRay, movies not yet digitalized, in order to still have them in the list, while I browse my movies. I created "fake" mp4 that only last 5 seconds. Since they are named properly, they still show in the library, with all the details (poster, nfo file, etc), but of course, the duration is not an info scrapped from the internet, so it obviously comes from the video file itself.
Now my problem is that when I sort movies by duration, say, ascending, all the "fake" movies are first because they show a duration of 1m.
I found a way to cheat the duration "display" of an mp4 (it shows the duration of the real movie, even if the video plays for only 5 seconds), by changing hex values in the file. Tested on multiple different players, it successfully shows the movie duration (in my case example: 100m), but of course the video plays for only 5 seconds, which is fine, but I thought in Jellyfin, it would now show that this movie has a 100m duration, but it's not the case, it still shows 1m, so it must be reading that info from "something" else in the file.
Does anyone knows how I could trick Jellyfin to think that the movie is actually 100m?
Thanx in advance
Steph