Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON output enhancement request #1287

Open
ArtificialMarty opened this issue Apr 18, 2018 · 0 comments
Open

JSON output enhancement request #1287

ArtificialMarty opened this issue Apr 18, 2018 · 0 comments
Assignees
Milestone

Comments

@ArtificialMarty
Copy link

Description of problem or feature request

I am loving the JSON output from HandBrakeCLI, but it's missing some data I'd like to see.

In TitleList[N].AudioList[M], here's an example:

{
"Attributes": {
"AltCommentary": false,
"Commentary": false,
"Default": true,
"Normal": false,
"Secondary": false,
"VisuallyImpaired": false
},
"BitRate": 1536000,
"ChannelCount": 6,
"ChannelLayout": 1551,
"ChannelLayoutName": "5.1",
"Codec": 262144,
"CodecName": "dca",
"Description": "English (DTS-HD MA) (5.1 ch)",
"LFECount": 1,
"Language": "English",
"LanguageCode": "eng",
"SampleRate": 48000
}

But the Codec and CodecName don't tell me that it is DTS-HD (vs. DTS), nor that it is the MA flavor of DTS-HD (vs. HRA or 1 other I've seen that I can't seem to find). Similarly, there's no way (other than parsing the Description) to discover all the flavors of Dolby for other codecs. In short, I'd like to see all the data that HandBrake uses to produce that Description.

In TitleList[N].Geometry, I feel there should be elements DAR and SAR to match the existing PAR.

I'd like a more descriptive name for TitleList[N].Type; as it stands, I have no Idea what it means. (I'm a perl person, so reading the code is probably problematical.)

I feel that TitleList[N].VideoCodec should be expanded to contain info like bit depth, and probably several other attributes I don't know about yet. Ffprobe shows a lot more info. But to get that, I'd have to use MakeMKV to extract the title, then parse the ffprobe output.

HandBrake version (e.g., 1.0.0)

HandBrake 1.1.0 (2018040700) - 64bit
OS: Microsoft Windows NT 10.0.16299.0 - 64bit
CPU: Intel(R) Core(TM) i7-6950X CPU @ 3.00GHz
Ram: 130973 MB,
GPU Information:
NVIDIA GeForce GTX 1080 - 23.21.13.9065
Screen: 1920x1080
Temp Dir: C:\Users\Marty Shannon\AppData\Local\Temp
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\Marty Shannon\AppData\Roaming\HandBrake Team\HandBrake\1.1.0.0

Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.3 High Sierra, Windows 10 Creators Update)

Microsoft Windows NT 10.0.16299.0 - 64bit

Error message text or screenshot

N/A

HandBrake Activity Log required (see https://handbrake.fr/docs/en/latest/help/activity-log.html)

N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

4 participants