-
Notifications
You must be signed in to change notification settings - Fork 160
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
query-handbrake-log "frame rate not found" on latest HandBrakeCLI logs #326
Comments
@carabino I'm sorry you're having this problem. Have you tried using the old version of |
Not yet, rookie mistake on my part Although it looks like that is the only version installed. I believe I used an alternate PPA for the older Ubuntu so I will track that down to see if I can downgrade using it. |
@carabino Thanks! I will await your update. |
Could not downgrade on Ubuntu 20.04. Added the alternate PPA to the 20.04 and upgraded to 1.3.3, same result. However installed Ubuntu 18.04 from the Microsoft Store, added the PPA, and installed 1.2.1 there. Ran the transcode and the log was successfully able to be read by query-handbrake-log. From stdout: "Elapsed time: 00:25:03" user@system:~$ query-handbrake-log t . Log file has the "frame rate:" line: Seems to be a change somewhere between 1.2.1 and 1.3.1 then. |
@carabino Thanks for all the testing! Yeah, It appears the HandBrake team has, once again, changed their diagnostic/log format. This will be fun to figure out a fix. And by "fun," I mean not fun. |
I set up a new WSL2 instance of Ubuntu 20.04.1 on my Windows 10 machine, and transcoding is successful but extracting the time via query-handbrake-log fails:
user@system:
$ query-handbrake-log t .$/usr/local/bin/query-handbrake-log: frame rate not found: /path/to/log/video.mp4.log
user@system:
Looks to be a change in the output from HandBrakeCLI, as I do see a "frame rate:" line in the log on my old WSL1 Ubuntu 16.04.7 instance that I don't see in this log. This appears to be the key per line 142 of https://github.com/donmelton/video_transcoding/blob/master/bin/query-handbrake-log for rate_line variable.
Old:
[14:41:42] * video track
[14:41:42] + decoder: mpeg2video
[14:41:42] + bitrate 25000 kbps
[14:41:42] + filters
[14:41:42] + Framerate Shaper (mode=0)
[14:41:42] + frame rate: same as source (around 23.976 fps)
[14:41:42] + Crop and Scale (width=1920:height=1080:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[14:41:42] + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1920 * 1080
[14:41:42] + Output geometry
[14:41:42] + storage dimensions: 1920 x 1080
[14:41:42] + pixel aspect ratio: 1 : 1
[14:41:42] + display dimensions: 1920 x 1080
New:
[22:16:23] * video track
[22:16:23] + decoder: mpeg2video
[22:16:23] + bitrate 200 kbps
[22:16:23] + Output geometry
[22:16:23] + storage dimensions: 1920 x 1080
[22:16:23] + pixel aspect ratio: 1 : 1
[22:16:23] + display dimensions: 1920 x 1080
Does not appear to impact speed, bitrate, or ratefactor information options, only time.
Old HandBrakeCLI is 1.1.2, new is 1.3.1.
I am benchmarking so the source file is same on both machines.
The text was updated successfully, but these errors were encountered: