Yes that is what I found, also I found that different channels used a different resolution and they can change it up or down at will on the same channel during a day. What this means is that it is very difficult to get consistant quality and filesize as you would need to script a different quality setting depending on what resolution the video is in, I have seen other scripts do this and they are overly complex. My solution was to keep it simple and make the resolution smaller and then the same quality setting worked for all my channels. Of course every country has broadcasted material in different formats and each user of this script will have a different idea of what is a good filesize VS quality tradeoff VS speed to complete the transcode. On top of that you also find that some handbrake settings will then break the ability to play the files on mobile devices should you wish to watch your own movie or show on an airplane flight.axel77 wrote: It's actually pretty surprising that the biggest difference isn't in the resolution, but in the compression format.
Moderator: Forum Moderators
I agree it may seem better to use the -Y but there was a reason why I used the -X and it may have been for supporting and getting more consistant results between 4:3, 16:9 and 21:9 programs as Handbrake will detect the black bars and strip/crop the black pixels away. It was a long time ago when I came up with those settings based on looking at what a large variety of recordings came out to be so I cant be sure. Record different channels at different times of the day and also different aspect ratios to compare before settling on your settings.axel77 wrote: If you want to get 720p you'll need to change the -X to -Y. It's actually pretty surprising that the biggest difference isn't in the resolution, but in the compression format.
Very happy people are finding the script useful and this was one reason why I wanted to keep it to bash terminal commands so it is easy for a noob to edit changes as it will not suit what everyone wants. Try to limit the changes you make because if I make major changes and post an updated version it will make your life easier putting your changes into the new script.
I've had a look around, but I can't see an answer to this: is there a way to run this script (presumably as a User Job) on specific recordings that have been made, rather than as an 'applies-to-every-recording' way?
I hoped there might be a key command in the FrontEnd to run a User Job - but I can't see that.
look near the very end for the --queuejob switch.
press M > job options > begin job name. Alternatively if you use Mythweb you can queue a job from the recording details page.I hoped there might be a key command in the FrontEnd to run a User Job - but I can't see that.
I'm not able to make this script work, and after fixing permissions hell, I've finally gotten a log and I see two things that may be of concern:
Code: Select all
Using configuration directory = /etc/mythtv 2018-12-14 10:37:04.296850 I Assumed character encoding: en_US.UTF-8 2018-12-14 10:37:04.297082 E Error parsing: /etc/mythtv/config.xml at line: 1 column: 1 2018-12-14 10:37:04.297089 E Error Msg: unexpected end of file 2018-12-14 10:37:04.297162 E DBHostName is not set in config.xml 2018-12-14 10:37:04.297177 E DBHostName is not set in config.xml 2018-12-14 10:37:04.297198 N Empty LocalHostName. 2018-12-14 10:37:04.297207 I Using localhost value of DVR-PC
2) Lots and lots of these:
Code: Select all
I AVFrame.format is not set 2018-12-14 10:37:14.996817 I AVFrame.width or height is not set 2018-12-14 10:37:15.002669 I Converting frame #58 from B to I 2018-12-14 10:37:15.004016 I AVFrame.format is not set 2018-12-14 10:37:15.004020 I AVFrame.width or height is not set 2018-12-14 10:37:15.005841 I AVFrame.format is not set 2018-12-14 10:37:15.005846 I AVFrame.width or height is not set 2018-12-14 10:37:15.011282 I Converting frame #59 from P to I 2018-12-14 10:37:15.413924 I Del map found 0 at 54044 (54044)
(Update: Attached my complete log)
- (17.08 KiB) Downloaded 41 times