Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video appears interlaced / combing #6

Open
zynine- opened this issue Sep 28, 2016 · 5 comments
Open

Video appears interlaced / combing #6

zynine- opened this issue Sep 28, 2016 · 5 comments

Comments

@zynine-
Copy link
Owner

zynine- commented Sep 28, 2016

Symptoms:

Video appears interlaced.

Cause:

Video is interlaced from the source. Plex does not seem to be able to identify interlaced video, hence it does not deinterlace for transcoded streams.

Some clients are capable of deinterlacing the Original Quality streams that are not transcoded by Plex Media Server.

Resolution 1:

There is no known method of forcing deinterlacing support from plug-in level or Plex. Deinterlacing will require more system resources. Deinterlacing can be achieved by modifying the Client Profiles to add:

<Setting name="VideoEncodeFlags" value="-deinterlace" />

Client Profiles are located at:

  • 64-bit Windows: %PROGRAMFILES(X86)%\Plex\Plex Media Server\Resources\Profiles

  • 32-bit Windows: %PROGRAMFILES%\Plex\Plex Media Server\Resources\Profiles

  • Linux: /usr/lib/plexmediaserver/Resources/Profiles

Example for Android.xml:

<VideoProfile protocol="hls" container="mpegts" codec="h264" audioCodec="aac" 
 context="streaming">
   <Setting name="VideoEncodeFlags" value="-deinterlace" />
</VideoProfile>

Restart Plex Media Server after modifying the Client Profiles.

Resolution 2:

If you have a HDHomeRun Extend (HDTC-2US), you can use transcoding profiles.

Set Pre-Transcode (HDTC-2US only) to Mobile (720p) or Internet### profiles, and video streams will be progressive / deinterlaced. Heavy profile video stream will still be interlaced.

Credits:

roberto188@plex

@cowboytronic
Copy link

Deinterlacing can be achieved by modifying the device profiles to add:

<Setting name="VideoEncodeFlags" value="-deinterlace" />

How? Is this done in a config file or a plist somewhere?

@zynine-
Copy link
Owner Author

zynine- commented Mar 22, 2017

Plex Directory.
eg. Windows: C:\Program Files (x86)\Plex\Plex Media Server\Resources\Profiles

@cowboytronic
Copy link

Perhaps the directory structure is different on linux

root@Tower:/# find /mnt/user/appdata/plex -maxdepth 4
/mnt/user/appdata/plex
/mnt/user/appdata/plex/Library
/mnt/user/appdata/plex/Library/Application Support
/mnt/user/appdata/plex/Library/Application Support/Plex Media Server
/mnt/user/appdata/plex/Library/Application Support/Plex Media Server/Crash Reports
/mnt/user/appdata/plex/Library/Application Support/Plex Media Server/Plug-in Support
/mnt/user/appdata/plex/Library/Application Support/Plex Media Server/Logs
/mnt/user/appdata/plex/Library/Application Support/Plex Media Server/Codecs
/mnt/user/appdata/plex/Library/Application Support/Plex Media Server/Cache
/mnt/user/appdata/plex/Library/Application Support/Plex Media Server/Plug-ins
/mnt/user/appdata/plex/Library/Application Support/Plex Media Server/Media
/mnt/user/appdata/plex/Library/Application Support/Plex Media Server/Metadata
/mnt/user/appdata/plex/Library/Application Support/Plex Media Server/Thumbnails
/mnt/user/appdata/plex/Library/Application Support/Plex Media Server/plexmediaserver.pid
/mnt/user/appdata/plex/Library/Application Support/Plex Media Server/Preferences.xml

Which file should I be looking for to add this setting?

@zynine-
Copy link
Owner Author

zynine- commented Mar 27, 2017

Try finding for Android.xml
That should bring you to the right directory.

@mhertzfeld
Copy link

Can't find the directory in FreeBSD.

Can anyone provide me with the path I need?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants