mdhiggins / sickbeard_mp4_automator

Automatically convert video files to a standardized format with metadata tagging to create a beautiful and uniform media library
MIT License
1.51k stars 201 forks source link

Feature Request: Ability to set maximum framerate #653

Closed rob51i03 closed 4 years ago

rob51i03 commented 7 years ago

Would it be possible to set a maximum framerate in autoProcess.ini? I'd like to ensure the video framerate doesn't exceed my Roku box's ability to process, and setting the h264 max level doesn't appear to influence the framerate that the file is re-encoded at?

mdhiggins commented 7 years ago

What video source are you using that you're exceeding the max number of frames on the roku?

Sent from my iPhone

On Jan 27, 2017, at 08:01, rob51i03 notifications@github.com wrote:

Would it be possible to set a maximum framerate in autoProcess.ini? I'd like to ensure the video framerate doesn't exceed my Roku box's ability to process, and setting the h264 max level doesn't appear to influence the framerate that the file is re-encoded at?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

rob51i03 commented 7 years ago

Here's the media info from the Plex server after it's been transcoded by sickbeard_mp4_converter: plexmediainfo_1 plexmediainfo_2

Here's what I see in the Roku logs: 1/27/2017 03:39:28 INFO Choice media: 1080p, 6.3 Mbps container=mp4 videoCodec=h264 audioCodec=aac audioChannels=2 id=189682 part:0 1/27/2017 03:39:28 INFO Choice videoStream: H264 1/27/2017 03:39:28 INFO Choice audioStream: English (AAC-LC Stereo) 1/27/2017 03:39:28 INFO MDE: Frame rate is not supported for resolution: 1080@50. 1/27/2017 03:39:28 INFO MDE: MediaChoice: direct playable=false version=1080p, 6.3 Mbps container=mp4 videoCodec=h264 audioCodec=aac audioChannels=2 id=189682

Hoping this helps

rob51i03 commented 7 years ago

To clarify context for my prior comment, the log is from the Roku Plex client (http://IP.OF.ROKU.BOX:8324/logs) while opening the stream content served by the Plex Server.

mdhiggins commented 7 years ago

I was more curious what download source you were using that was giving your 50fps videos

That’s a very rare occurrence.

I can look into adding framerate adjustment options but you’re better off just downloading standard FPS videos since you can get judder and other issues when downsampling the frame rate.

On Jan 27, 2017, at 1:11 PM, rob51i03 notifications@github.com wrote:

To clarify context for my prior comment, the log is from the Roku Plex client (http://IP.OF.ROKU.BOX:8324/logs http://ip.of.roku.box:8324/logs) while opening the stream content served by the Plex Server.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mdhiggins/sickbeard_mp4_automator/issues/653#issuecomment-275733428, or mute the thread https://github.com/notifications/unsubscribe-auth/ADcO6u6Q7xLXITxvgslF3SfRkE-yVitGks5rWjNXgaJpZM4Lvvar.

rob51i03 commented 7 years ago

I'm using SickRage+NZBGet with Newshosting.com as the source. My Indexer is DogNZB. Is there a way with this setup that you know would avoid downloading videos with high framerates? In Sickrage my quality preferences are set to:

Allowed: 720p HDTV; Preferred: 1080p HDTV, 1080p WEB-DL

The episodes in question were at h264 level 4.2, which allows up to 60fps at 1080p IIRC.

Your amazing coding has vastly reduced my issues in streaming downloaded content to the Roku, so a big thanks for all you've done.

mdhiggins commented 7 years ago

I'm just surprised uploaders are bothering to upload 50fps video files since pretty much all TV content is ~24fps. Is this an issue you're having with every show? I would say your Sickrage preferences look fine and shouldn't be having this issue. I'll look into adding an FPS limiting option though, shouldn't be too hard to implement

rob51i03 commented 7 years ago

It's a recent issue and not widespread. I can live with it, but wouldn't it be great for my system to be smart enough to either filter this problem out before it's downloaded, or convert the problem away? That would at least reduce the "awwww Daaad!" moments in front of the TV a little!

If you could implement, I'd be delighted to see it :-)

elit3ge commented 7 years ago

I have noticed that one 4 of my downloads come as 25fps and end up being converted to 50fps.