Portrait videos do not play

samsung-smart-hub

#1

I'm actually pretty sure that this isn't a Plex problem, but I figured I'd ask here because this seems like a knowledgeable bunch. Basically, portrait videos from iPhone and Android with rotation metadata, that is, the video isn't in portrait itself, don't play on my UN65J6300AFXZC. My phones, tablets, VLC, and Plex Server Web Interface player all read the rotation metadata and rotate the video correctly for playing. If I re-encode and rotate the video with ffmpeg it plays on the TV. Obviously, since I'm asking here, I don't want to rotate all my portrait videos. Thoughts? Thanks!


#2

In order to display a rotated movie you need the movie to have enough information about the rotation and you need to enable transcoding, if it did not do that on it’s own.

Just tried it, works for me.


#3

Hmm... Plex Server>Settings>Transcoder is set to Automatic. In fact, I don't see a way to turn it off. Why would that need to be on anyways? The TV can handle MP4's. Define "enough rotation information"? I can show you an exiftool or ffmpeg dump of the metadata of an MOV and MP4 that doesn't play. This is wierd. Oh, and thanks for taking the time to think about this.


#4

ffmpeg dump from portrait mp4 recorded on Android that doesn't play...

ffmpeg version 3.1.5 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 5.4.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-libebur128 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
libavutil 55. 28.100 / 55. 28.100
libavcodec 57. 48.101 / 57. 48.101
libavformat 57. 41.100 / 57. 41.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 47.100 / 6. 47.100
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 1.100 / 2. 1.100
libpostproc 54. 0.100 / 54. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'VID_20160913_182003.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2016-09-13 22:20:35
location : +45.4699-075.5183/
location-eng : +45.4699-075.5183/
Duration: 00:00:31.23, start: 0.000000, bitrate: 8202 kb/s
Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1280x720, 8021 kb/s, SAR 1:1 DAR 16:9, 29.88 fps, 29.92 tbr, 90k tbn, 180k tbc (default)
Metadata:
rotate : 90
creation_time : 2016-09-13 22:20:35
handler_name : VideoHandle
Side data:
displaymatrix: rotation of -90.00 degrees
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 96 kb/s (default)
Metadata:
creation_time : 2016-09-13 22:20:35
handler_name : SoundHandle
At least one output file must be specified


#5

The plot thickens. The TV plays the video just fine and correctly rotated. Either by DLNA casting it to the TV or using the TV's DLNA browser. It's Plex that won't play it. What do you need to debug?


#6

You may try to run the server's Analyzer on that section and see if that picks up the correct details.
As for producing a log , look here.


#7

Here is some debugging info. PMS log for Samsung Plex app failing to play the video in question and for the TV's native DLNA interface successfully playing it. Also, the video's "info" xml file from the Plex Server Web interface.


#8

No one else? Really?


#9

I suffer this regularly. The audio comes through but the video has alot of feedback in terms of colors and shapes, some static look and occasionally we can see some of the image in corners. If we player landscape recordings, it comes through just fine. I know it's been a while for this thread but am looking for better solutions than DLNA.