zynine- / HDHRViewerV2.bundle

HDHomeRun + Plex
MIT License
93 stars 16 forks source link

Video appears interlaced / combing #6

Open zynine- opened 8 years ago

zynine- commented 8 years ago

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:

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 commented 7 years ago

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- commented 7 years ago

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

cowboytronic commented 7 years ago

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- commented 7 years ago

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

mhertzfeld commented 7 years ago

Can't find the directory in FreeBSD.

Can anyone provide me with the path I need?