Option to remux 50fps to 25fps after download
As the hlshd mode is no longer available for download for most programmes I would like to request an option be included in get_iplayer to remux 50fps files to 25fps.
Failing that could someone post detailed step by step instructions on how to remux files downloaded using the  --raw option to 25fps and then add the the metatdata.
Not knowing how you use get_iplayer, I'll outline how I use it and convert to 25fps on Mac.

I don't use the PVR instead I have created some Automator services that are available in Safari and retrieve the URL from the currently displayed webpage as MP4 with embedded subtitles and metadata:
  • HD 25 then 50fps TV
  • HD 25fps then SD 25fps TV
  • Best radio
  • Worst radio for podcast

The saved files get put into a structure <show>/<season>, but the HD 25/50 gets placed into a subfolder of this called 50fps. I can then quickly tell if the file is 50fps as it will be ~2GB/hour, if it isn't I move it up to the normal location.

For the 50fps files I use HandBrakeCLI and have created a preset in the HandBrake application, based on one that suits me (AppleTV 1080p30 Surround), that takes the original file and forces (from memory, but these are the main changes):
  • Constant frame rate of 25fps
  • Custom cropping of 0/0/0/0
  • Guestimated the average bitrate as 2340kbps
  • Audio is pass-thru
  • Subtitles included

Saved this as "BBC HD 25fps CFR" and then this can be used from the command line

HandBrakeCLI --preset-import-gui --preset "BBC HD 25fps CFR" -i <input 50fps file> -o <output 25fps file>

I've created an Automator dropper application that takes files dropped on it and does this and places the 25fps files in the right location. Seems to be working ok at the moment. The average bitrate kbps may need to be tweaked because 50fps bitrate isn't constant across downloaded files.

This could be done without a preset or by using FFmpeg, but needs a deeper knowledge of the many options.

All this does is resolve storage and playback issues, not the bandwidth. The best 25fps SD, for me, is good enough for most programmes and, unless playback of 50fps is problematic, the 50fps HD can be retained for occasional use such as nature documentaries. But then viewing is on an old 42" HD plasma TV and enhanced when I remember to put on my glasses.

Possibly Related Threads...
Thread Author Replies Views Last Post
  How can I use ffmpeg to reduce output file frame rate from 50fps to 25fps? Kevingc 3 579 01-05-2018, 02:45 PM
Last Post: dinky
  iplayer 50fps is not 'true' 50fps dongy789 1 593 21-04-2018, 12:27 PM
Last Post: SquarePenguin
  Strike ep.2 - no 25fps version? tc424 2 603 06-03-2018, 10:52 PM
Last Post: SquarePenguin