Jump to content

Portrait Video Problem


vhuang1103

Recommended Posts

vhuang1103

Dear Support:

                      I use emby with my Andorid TV(Sony XBR-75X900F),When I play the Portrait video(record by mobile phone) on TV,It have wrong direction

 

                      But play well via emby web

 

                      Please see the attachment

 

TV

post-587643-0-08586200-1582079288_thumb.jpg

 

Web

 

post-587643-0-58404200-1582079321_thumb.png

Link to comment
Share on other sites

vhuang1103

Hi there, what version of the app are you running on Android TV?

Hello~I use the recent app on Android TV,It should be 1.7.78g

Link to comment
Share on other sites

vhuang1103

Hi.  If you use the "Playback Correction" menu, does it correct it?

 

Hello~It seen not correction to right direction after I use "Playback Correction"

 

5e4d50a472bda_3428.jpg5e4d50be6738b_3429.jpg

Link to comment
Share on other sites

That was after selecting "Yes" on the playback correction dialog?  Try it again...

 

You can use that option repeatedly to try different methods of playback.

Link to comment
Share on other sites

vhuang1103

That was after selecting "Yes" on the playback correction dialog?  Try it again...

 

You can use that option repeatedly to try different methods of playback.

 

Yes,That was use playback correction one time

 

and I use playback correction again during play the video,Emby tell me "Too Many Erorrs,Give Up"

 

And return to the play menu

Link to comment
Share on other sites

There should have been some ffmpeg logs generated.  Can I see those?

 

Looks like even ffmpeg is having trouble with the orientation...

Link to comment
Share on other sites

Okay, so even when transcoding it still doesn't orient properly so that would indicate to me something strange about the recording (or at least unexpected by us and ffmpeg).

 

@@softworkz, you see anything interesting?

Link to comment
Share on other sites

Okay, so even when transcoding it still doesn't orient properly so that would indicate to me something strange about the recording (or at least unexpected by us and ffmpeg).

 

@@softworkz, you see anything interesting?

 

The required rotation is indicated in two different ways in the source video:

  1. Metadata "rotate"
  2. Side-Data: Transform matrix

 

When running ffmpeg (no matter whether directstream or transcode), we're always stripping off all metadata, that means #1 gets lost and #2 is preserved.

That would explain why some clients show the video rotated (those looking for #2) and other won't (those looking for #1).

Link to comment
Share on other sites

vhuang1103

The required rotation is indicated in two different ways in the source video:

  1. Metadata "rotate"
  2. Side-Data: Transform matrix

 

When running ffmpeg (no matter whether directstream or transcode), we're always stripping off all metadata, that means #1 gets lost and #2 is preserved.

That would explain why some clients show the video rotated (those looking for #2) and other won't (those looking for #1).

 

Hello~Does this mean my video file had incorrect information for rotation

 

          But the Emby Web Player is play well

Link to comment
Share on other sites

Hello~Does this mean my video file had incorrect information for rotation

 

          But the Emby Web Player is play well

 

No, the information is at two different places and one of them isn't preserved by Emby right now.

 

 

Link to comment
Share on other sites

  • 1 month later...
  • 3 years later...

Still the same problem, actual version 2.0.98g - Android TV 11
All problems just like mentioned above, i'm not sure if i should unlock app with this type of errors.

 

Link to comment
Share on other sites

4 hours ago, Davkoks said:

Still the same problem, actual version 2.0.98g - Android TV 11
All problems just like mentioned above, i'm not sure if i should unlock app with this type of errors.

 

@Davkoks

Hi.  Can you try sideloading our standard android app on the same device and see how that compares?

https://emby.media/emby-for-android.html

Thanks.

 

Link to comment
Share on other sites

On 12/10/2023 at 11:58 PM, Luke said:

@Davkoks

Hi.  Can you try sideloading our standard android app on the same device and see how that compares?

https://emby.media/emby-for-android.html

Thanks.

 

@Luke
Helo
In an application installed from .apk, the effect is the same.
instaled version: Emby for Android 3.3.50 (taken from links provided by You)

I've tried play this video from usb-drive and effect is the same as well.
After all, it looks like tv have some weird codecs in it

Link to comment
Share on other sites

On 12/13/2023 at 1:28 PM, Davkoks said:

@Luke
Helo
In an application installed from .apk, the effect is the same.
instaled version: Emby for Android 3.3.50 (taken from links provided by You)

I've tried play this video from usb-drive and effect is the same as well.
After all, it looks like tv have some weird codecs in it

So 3.3.50 plays in correct orientation on your phone but not your TV? That's what you're saying? Both at 3.3.50?

Link to comment
Share on other sites

On 12/17/2023 at 8:03 AM, Luke said:

So 3.3.50 plays in correct orientation on your phone but not your TV? That's what you're saying? Both at 3.3.50?

@Luke


Unfortunetly yes.

I've checked playing thesame video directly from memory, and both, default preview, and from VLD player instyaled on TV had problems with it. (emby was better in retaining vertical in this case but instead of rotating view, it stretched the image - other aps havent rotate it)

Link to comment
Share on other sites

22 hours ago, Luke said:

Hi, did you test to make sure that the problem occurs with the sample that you cut?

All videos from my phone work the same way (same video record settings) . I did not test it in android version of app installed on TV, but behavior on Android TV version was wrong as mentioned before.

Link to comment
Share on other sites

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...