2023-09-28, 04:36 AM
2023-09-28, 02:41 PM
Some of this information is read from the headers in the media file, some of it is determined by ffprobe I believe. You can edit anything in the headers, as long as it's mkv, with mkxtoolnix.
2023-09-28, 04:23 PM
Thanks for the reply
all of them are .MKV and are mux with mkvtoolnix -for the "default" tag, if I put no to "default track" in mkvtoolenix, it's removed from Jellyfin -But for remove "Stereo" and "Dolby Digital+" do you have clue (in mkvtoolnix) ? Thanks kalemvar
2023-09-29, 08:15 AM
Those are properties of the audio track. You can't remove them.
Jellyfin 10.9.11 LSIO Docker | Ubuntu 24.04 LTS | i7-13700K | Arc A380 6 GB | 64 GB RAM | 79 TB Storage
2023-09-29, 03:00 PM
Thanks,
it's logical that I can't remove them, is it possible to remove or edit them shorter, like E-AC3 or something ? I guess probably not but I'm asking Thanks kalemvar
2023-09-29, 03:41 PM
I'm not sure. That might be how Jellyfin parses DD+, E-AC3, E-AC3, EAC-3, etc...
You can use ffprobe to look at what this information is set as currently on files with Code: ffprobe -show_streams -select_stream X:a "filename.ext" Where "X" is the audio stream index, starting at zero. I'm not at my computer right now, I'm on mobile or I'd run one for you and throw some output here. I'll do that later today once I'm done out in the world. You can change the data in a number of ways. I'd say Mkvtoolnix is the right tool since you can just alter the data without doing any encoding. You can alter metadata with ffmpeg as well, though, which is what I'm more familiar with using the metadata flag with the correct specifiers. I don't know what the right field for this is, however, and I also don't know the downstream effects of changing the field to something possibly non-standard. Pulling your file out of spec might make it not play, not work with ffmpeg any longer, cause other metadata issues, etc... You're welcome to try, see what happens, and change it back if it breaks. I'd back up your file first. Use ffprobe to figure out where this data is stored and Mkvtoolnix or ffmpeg to alter the metadata field to the desired value, then refresh the file in Jellyfin, confirm whether it worked, check that it functions, see if it works anywhere else you care about, and go about your day...
Jellyfin 10.9.11 LSIO Docker | Ubuntu 24.04 LTS | i7-13700K | Arc A380 6 GB | 64 GB RAM | 79 TB Storage
2023-09-30, 05:02 AM
Big Thanks for the reply
I would very much like a complete example with details on how you do it. It's really appreciate Kalemvar
Apologies it took me this long to reply, but here's a sample of ffprobe output.
Code: bitmap@server~: ffprobe -hide_banner -v quiet -show_streams -select_streams a media.mkv I would guess that the TAG fields are what you're editing with metadata calls in ffmpeg...so I gave it a shot. I don't think you can edit metadata fields in bulk, you have to make multiple calls. I tried to edit two at once and it set a single field to both values (using the standard colon-separated syntax that ff* tools like to use). So here's how I edited the metadata using ffmpeg (which originally took about 60 seconds, the second run took about 10 seconds): Code: bitmap@server:folder$ ffmpeg -y -i media.mkv -c copy -metadata:s:a:0 'language=eng' -metadata:s:a:0 'title=OPUS 5.1' "test.mkv" The problem here is that ffmpeg muxes the file as it changes the metadata. MKVToolnix doesn't, so it's the better tool for this job. I'm just less familiar with it. Here's the output from ffprobe after this operation: Code: bitmap@server:folder$ ffprobe -hide_banner -v quiet -show_streams -select_streams a -i test.mkv I would look at MKVToolnix, specifically mkvpropedit. Brief look seems like there's not a ton on audio track editing with tags, but I didn't do a deep dive. A quick search around might give you more examples to work from. The reason I have the flow above worked out is because it's easy to integrate into my scripting for automated encoding and it's all in the same ecosystem so I know I'm working with the same information (ffprobe will have the same info as ffmpeg to work with). The muxing time is irrelevant when you're already encoding or remuxing a file anyway...
Jellyfin 10.9.11 LSIO Docker | Ubuntu 24.04 LTS | i7-13700K | Arc A380 6 GB | 64 GB RAM | 79 TB Storage
2023-10-06, 07:00 AM
Thanks for your reply and your advance explanation.
I'm a bit lost with those commands, can you explain a bit more on how this work ? maybe MKVToolnix is a better option but I really don't know what flag to change, to make Jellyfin display - EAC-3 instead of "Dolby Digital+" and edit/remove "Stereo". Same goes to subtitle, the "Subrip" isn't really beautiful on the display. Thanks for your time and clarification kalemvar
2023-10-07, 06:21 AM
(This post was last modified: 2023-10-07, 06:29 AM by kalemvar. Edited 2 times in total.)
If I follow this guide on the forum : https://forum.jellyfin.org/t-from-disc-t...r-jellyfin
I can probably achieve this without editing the codec ID If I'm looking at those pictures : Audio name says : English 5.1 DTS-HD Master Audio ES and the result on this one with the exact same name without the codec and surround/stereo That the goal I'm looking right now Thanks guys |
|
|