oralodabas / google-cast-sdk

Automatically exported from code.google.com/p/google-cast-sdk
0 stars 0 forks source link

Portrait videos aren't displayed properly #545

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Record video in portrait orientation.
2. Cast it to Chromecast via app made using the official guide 
(https://developers.google.com/cast/docs/android_sender).
Relevant code fragment:

MediaMetadata mediaMetadata = new MediaMetadata(MediaMetadata.MEDIA_TYPE_MOVIE);
mediaMetadata.putString(MediaMetadata.KEY_TITLE, "My video");
MediaInfo mediaInfo = new MediaInfo.Builder(videoURL)
    .setContentType("video/mp4")
    .setContentType(contentType)
    .setStreamType(MediaInfo.STREAM_TYPE_BUFFERED)
    .setMetadata(mediaMetadata)
    .build();

mRemoteMediaPlayer.load(mApiClient, mediaInfo, true)

What is the expected output? What do you see instead?

The video should be played properly in portrait orientation. Instead of this, 
it has a portrait shape but the video itself is displayed horizontally (it's 
content is rotated). Images say more then thousand words, so I attached 
screenshots. Note that the same video is displayed correctly in Chrome web 
browser (inside the Video tag).

What version of the product are you using? On what operating system?

The Chromecast firmware version is 27946. The video was casted from multiple 
Android devices (4.x and 5.0 os versions).

Please provide any additional information below.

The video that I used for testing is available under the following url: 
https://www.dropbox.com/s/kc0212kedmy26i8/movie.mov?dl=0

Original issue reported on code.google.com by Blazej.K...@gmail.com on 23 Mar 2015 at 8:58

Attachments:

GoogleCodeExporter commented 9 years ago
This is due to the phone's recording and playback implementation, therefore it 
is not an issue with the Chromecast SDK.

Original comment by jonathan...@google.com on 23 Mar 2015 at 10:21

GoogleCodeExporter commented 9 years ago
It's working in Chrome Web Browser, so obviously something is wrong with the 
Chromecast device. Where should I report it?

Original comment by Blazej.K...@gmail.com on 24 Mar 2015 at 8:05

GoogleCodeExporter commented 9 years ago
My apologies, it seems that I was a bit hasty in my reply. We're looking into 
the issue.

Original comment by jonathan...@google.com on 24 Mar 2015 at 10:48

GoogleCodeExporter commented 9 years ago
Hi! Same issue is for Chrome sender application like sample 
CastHelloVideo-chrome. Is there any news?

Original comment by lsn...@gmail.com on 1 Apr 2015 at 9:17

GoogleCodeExporter commented 9 years ago

Original comment by jonathan...@google.com on 1 Apr 2015 at 9:26