{"action":"created","issue":{"url":"https://api.github.com/repos/FallingSnow/h265ize/issues/24","repository_url":"https://api.github.com/repos/FallingSnow/h265ize","labels_url":"https://api.github.com/repos/FallingSnow/h265ize/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/FallingSnow/h265ize/issues/24/comments","events_url":"https://api.github.com/repos/FallingSnow/h265ize/issues/24/events","html_url":"https://github.com/FallingSnow/h265ize/issues/24","id":149611932,"number":24,"title":"Feature / Question:","user":{"login":"jscottdouglas","id":15646181,"avatar_url":"https://avatars.githubusercontent.com/u/15646181?v=3","gravatar_id":"","url":"https://api.github.com/users/jscottdouglas","html_url":"https://github.com/jscottdouglas","followers_url":"https://api.github.com/users/jscottdouglas/followers","following_url":"https://api.github.com/users/jscottdouglas/following{/other_user}","gists_url":"https://api.github.com/users/jscottdouglas/gists{/gist_id}","starred_url":"https://api.github.com/users/jscottdouglas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jscottdouglas/subscriptions","organizations_url":"https://api.github.com/users/jscottdouglas/orgs","repos_url":"https://api.github.com/users/jscottdouglas/repos","events_url":"https://api.github.com/users/jscottdouglas/events{/privacy}","received_events_url":"https://api.github.com/users/jscottdouglas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-19T23:32:54Z","updated_at":"2016-04-21T00:40:51Z","closed_at":null,"body":"Not really the best place to ask this I guess but anyway to add to delete audio tracks that are not a certain language? for example I tend to get alot of stuff that is dual language however I'd like to remove everything but english / unknown. \r\n\r\nAlso was wondering if you have anything that I might use to identify all the video files I have that contain unknown audio tracks.  Can't seem to find the best way to go about this.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/FallingSnow/h265ize/issues/comments/212671710","html_url":"https://github.com/FallingSnow/h265ize/issues/24#issuecomment-212671710","issue_url":"https://api.github.com/repos/FallingSnow/h265ize/issues/24","id":212671710,"user":{"login":"FallingSnow","id":2512197,"avatar_url":"https://avatars.githubusercontent.com/u/2512197?v=3","gravatar_id":"","url":"https://api.github.com/users/FallingSnow","html_url":"https://github.com/FallingSnow","followers_url":"https://api.github.com/users/FallingSnow/followers","following_url":"https://api.github.com/users/FallingSnow/following{/other_user}","gists_url":"https://api.github.com/users/FallingSnow/gists{/gist_id}","starred_url":"https://api.github.com/users/FallingSnow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FallingSnow/subscriptions","organizations_url":"https://api.github.com/users/FallingSnow/orgs","repos_url":"https://api.github.com/users/FallingSnow/repos","events_url":"https://api.github.com/users/FallingSnow/events{/privacy}","received_events_url":"https://api.github.com/users/FallingSnow/received_events","type":"User","site_admin":false},"created_at":"2016-04-21T00:40:51Z","updated_at":"2016-04-21T00:40:51Z","body":"To answer the first part, it is possible to add a function to delete tracks that are not eng/unk since the script already identifies the languages. However, we'll have to wait till I have more free time in a week or two.\r\n\r\nI would write a script for this. First loop through all the files in a directory and its subdirectories: https://stackoverflow.com/questions/4638874/how-to-loop-through-a-directory-recursively-to-find-files-with-certain-extension ([You can use the find function in h265ize to locate all video files](https://github.com/FallingSnow/h265ize/blob/master/h265ize#L355)). Then run something like `mediainfo` or `ffprobe` against each file and parse the output for `language: unknown` or something. If it finds it, just print the file name.\r\n\r\nHere is an example of me parsing the output of ffprobe on each stream of a video file: https://github.com/FallingSnow/h265ize/blob/master/h265ize#L639-L641"}}