Jump to content

Recommended Posts

Posted

Hi:

 

    I find a weird probelm of hw transcoding rotated video. All video with rotation 0 can be transcoded well and all video with rotation 90 or -90 are failed. 

 

   Then I did a test. I choosed one failed video with rotation 90, and set its rotation to 0 by exiftool manualy.  As expected, the failed video was hw transcoded normally.

 

   My server is intel nuc 7pjyh and os is ubuntu 18.04. The logs of the test were attached.

 

    

ffmpeg-transcode-7ade3475-3912-4033-b2df-d962bf76eba2.txt

ffmpeg-transcode-34fdd1dd-d86f-45a6-97b3-b938b0e85038.txt

Posted

Hi, which ones are these logs from? Thanks.

Posted

Hi, which ones are these logs from? Thanks.

 

The first log is about transcoding the video of rotation 90. (failed)

The second is about the video of rotation 0. (successful)

 

Thanks

Posted

Ok, the first one isn't actually failing, it's just going too slow to be playable.

Posted (edited)

Ok, the first one isn't actually failing, it's just going too slow to be playable.

 

You mean the hw transcoding was too slow to be playable? But why it could be transcoded well just by setting the video rotation tag to zero(which was proven by the second log)?  I'm confused with if there is substantive difference between them.

Edited by 020794
Posted

ffmpeg is trying to autorotate, and that process is probably too slow for your machine to handle.

Posted (edited)

ffmpeg is trying to autorotate, and that process is probably too slow for your machine to handle.

Thanks for your replies.

 

Could Emby add some option to disable auto scaling?

 

I think it will be helpful for those low end hardware with hw acceleration for NAS use typically.

Edited by 020794
Posted

Yea it's possible. I think we just need to learn what other side effects that might bring.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...