Firmware: A-410 [01 Apr. 2014] | A-400 [12 Mar. 2014] | C-300 [13 Feb. 2014] | A-300 [24 Feb. 2014] | C-200 [11 July 2013] | A-200/A-210 [11 July 2013] | Popbox V8 [3 Dec 2013]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals

User(s) browsing this thread: 1 Guest(s)
Post Reply 
Batch edit audio tracks in avi
01-16-2012, 04:35 PM
Post: #1
Batch edit audio tracks in avi
So the current YAMJ has the cool feature to scrape the language of audio tracks inside an AVI file.
The problem is: 90% of my files are missing that value. So I'm looking for a solution to add this.

The only software I found which is capable of doing so is "AVI-Mux GUI". The problem is: it ALWAYS remuxes the file, which takes a considerable amount of time. Also it's not possible to create a batch file which would just do that with all of my files (all files have the same language and only 1 audio track, so no problem here).

The software I'm looking for has to be able to directly edit the file without remuxing (is that even possible?), so it's very fast and can do that in one go with all of my files.

I hope somebody knows a software which can do that!
Find all posts by this user
Add Thank You Quote this message in a reply
01-16-2012, 05:19 PM
Post: #2
RE: Batch edit audio tracks in avi
90% of your files are missing the header? would something like avifix or similar help/
Find all posts by this user
Add Thank You Quote this message in a reply
01-16-2012, 09:41 PM (This post was last modified: 01-16-2012 10:14 PM by kollegah1338.)
Post: #3
RE: Batch edit audio tracks in avi
Well no, the header is not missing. It just doesn't contain the right language information for the audio stream.
It's empty for most of the files (at least MediaInfo doesn't show any information, maybe empty = default = English, but I'm not very familiar with the avi specs, at least for mkv it's like that). So I want to add/edit it to German.

Googling for "avifix" didn't bring any good results, it just shows some outdated software "AVI Fixed" from 2003 and DivFix++, but both don't seem to be a solution for my problem.

Or is there a way to make YAMJ use the language information from filenames? All of my files have "German" in filename, but some have multiple audio streams, therefore multiple languages. So this option would only be useful for files which don't store any language information inside (all of my files which do have more than 1 audiostream also have correct language info inside). Anyway this is just a cheap workaround and I'd rather have correct information in my files than just force YAMJ to detect it as something different.

I got a little bit further. I used a hex editor to find out the place where the language information is stored in a file which already contains the correct language. It's in the same block as the encoding tool, which is pretty lame, because that way I can't copy paste one information to another file (which somehow would be possible with a batch command I guess) because I'd lose the information of the original encoding tool. It did work though, I tried it once and MediaInfo showed the correct Language for the audio stream (and also the edited encoding tool of course). But losing one information for the sake of another one is kind of stupid.
So I'm still looking for a tool to do that (coding one myself is not an option, it'd take longer than just remuxing my ~700 files or editing them by hand with a hex editor).
Find all posts by this user
Add Thank You Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [YAMJ] r3877 + Eversion + 0.7.67Mediainfo = NO AUDIO FLAGS??? wryker 25 1,653 03-08-2014 02:42 PM
Last Post: Tony3232
  [YAMJ] Latest Eversion + Mediainfo brings ????? for all the audio wryker 19 1,219 01-23-2014 11:40 AM
Last Post: Omertron
  [YAMJ] AEON Wall Missing Video/Audio file Info Mooredownunder 15 1,353 12-01-2013 11:50 PM
Last Post: Mooredownunder
  [TOOL] Batch check Layer-Break Ander 3 574 10-24-2013 09:31 PM
Last Post: Ander
  [YAMJ] empty Audio/Video channels added to xml files of existings tv-shows Boba Fett 6 1,983 04-16-2013 05:34 PM
Last Post: mattty_d2002
  Any way to remove the file/video/audio attributes from detail page? dtowndave 1 944 03-30-2013 11:09 PM
Last Post: wgstarks
  [YAMJ] multiple audio and video streams being scraped mattty_d2002 7 1,091 03-19-2013 11:08 PM
Last Post: mattty_d2002
  MediaInfo Audio Flag shengabpy 21 2,095 03-07-2013 08:08 PM
Last Post: wryker
Exclamation [YAMJ] [BUG]Skin (Aeon) codec flags, "TrueHD" audio codec, and NFO files Auggie 6 1,516 03-01-2013 09:40 PM
Last Post: modmax
  Help with audio language flags eversion/evZap wgstarks 17 1,703 02-17-2013 10:01 PM
Last Post: wgstarks

Forum Jump: