Play Back Failure - All Devices

Long Story Short, I ripped V for Vendetta using Makemkv.

it continues to stutter and other issues, so, looking at the file in MKVInfo shows it’s a VC-1 file (apparently, know issues with that)

I manually transcoded because I am converting a few files to x265, I used the following command.

ffmpeg -i “M:\Media\Transocde\V for Vendetta (2005)\V for Vendetta (2005).mkv” ^
-map 0 -c copy -c:v libx265 -preset medium -crf 12 ^
“M:\Media\Adult\Movies\Keepers\Completed\V for Vendetta (2005)\V for Vendetta (2005).mkv”

The process went fine, I can watch in in VLC, but not on any plex device. (and all of the devices support x265)

1.) Looking at the (attached log file) it should direct play, but the error i get is

  • Oct 25, 2016 13:07:52.514 [5900] DEBUG - MDE: V for Vendetta (2005): Direct Play is disabled
  • Oct 25, 2016 13:07:52.514 [5900] DEBUG - MDE: V for Vendetta (2005): media must be transcoded in order to use the hls protocol
  • Oct 25, 2016 13:07:52.514 [5900] DEBUG - MDE: V for Vendetta (2005): no direct play video profile exists for http/mkv/vc1
  • Oct 25, 2016 13:07:52.514 [5900] DEBUG - MDE: V for Vendetta (2005): no direct play video profile exists for http/mkv/vc1/ac3
  • Oct 25, 2016 13:07:52.514 [5900] DEBUG - MDE: V for Vendetta (2005): no direct play video profile exists for http/mkv/vc1/truehd
  • Oct 25, 2016 13:07:52.514 [5900] DEBUG - MDE: V for Vendetta (2005): no direct play video profile exists for http/mkv/vc1/ac3
  • Oct 25, 2016 13:07:52.514 [5900] DEBUG - V for Vendetta - video.bitrate limitation applies: 13988 > 8000
  1. ) Then the Attempt to transcode fails, everytime, on every device
  • Oct 25, 2016 13:07:28.621 [5624] ERROR - LPE: unknown item 84511.
  • Oct 25, 2016 13:07:28.621 [5624] ERROR - Versions: failed to generate query for path library://b1f01aac-097b-48d9-a89e-7a393901f704/item/%2Flibrary%2Fmetadata%2F84511
  • Oct 25, 2016 13:07:28.621 [5624] ERROR - Versions: empty version set query, unable to update status for generator 2683
  • Oct 25, 2016 13:07:30.526 [10128] ERROR - Network Service: Error in browser handle read: 995 (The I/O operation has been aborted because of either a thread exit or an application request) socket=-1
  • Oct 25, 2016 13:07:39.204 [6044] ERROR - LPE: unknown item 16411.
  • Oct 25, 2016 13:07:39.204 [6044] ERROR - Sync: failed to generate query for path library://46bbdfa5-fa18-4446-ad32-d75ec8abf541/item/%2Flibrary%2Fmetadata%2F16411 in sync item 12091907
  • Oct 25, 2016 13:07:39.204 [6044] ERROR - Sync: empty sync set, unable to update status for sync list 9636811, sync item 12091907
  • Oct 25, 2016 13:07:39.239 [6044] ERROR - LPE: unknown item 53468.
  • Oct 25, 2016 13:07:39.239 [6044] ERROR - Sync: failed to generate query for path library://b1f01aac-097b-48d9-a89e-7a393901f704/item/%2Flibrary%2Fmetadata%2F53468 in sync item 12092046
  • Oct 25, 2016 13:07:39.240 [6044] ERROR - Sync: empty sync set, unable to update status for sync list 9558358, sync item 12092046
  • Oct 25, 2016 13:07:39.257 [6044] ERROR - LPE: unknown item 16412.
  • Oct 25, 2016 13:07:39.257 [6044] ERROR - Sync: failed to generate query for path library://46bbdfa5-fa18-4446-ad32-d75ec8abf541/item/%2Flibrary%2Fmetadata%2F16412 in sync item 12136944
  • Oct 25, 2016 13:07:39.257 [6044] ERROR - Sync: empty sync set, unable to update status for sync list 9558358, sync item 12136944
  • Oct 25, 2016 13:07:39.257 [6044] ERROR - LPE: unknown item 16412.
  • Oct 25, 2016 13:07:39.257 [6044] ERROR - Sync: failed to generate query for path library://46bbdfa5-fa18-4446-ad32-d75ec8abf541/item/%2Flibrary%2Fmetadata%2F16412 in sync item 12175128
  • Oct 25, 2016 13:07:39.257 [6044] ERROR - Sync: empty sync set, unable to update status for sync list 9636811, sync item 12175128
  • Oct 25, 2016 13:07:39.257 [6044] ERROR - LPE: unknown item 16401.
  • Oct 25, 2016 13:07:39.257 [6044] ERROR - Sync: failed to generate query for path library://46bbdfa5-fa18-4446-ad32-d75ec8abf541/item/%2Flibrary%2Fmetadata%2F16401 in sync item 12175141
  • Oct 25, 2016 13:07:39.257 [6044] ERROR - Sync: empty sync set, unable to update status for sync list 9636811, sync item 12175141
  • Oct 25, 2016 13:07:52.652 [1396] DEBUG - Job running: FFMPEG_EXTERNAL_LIBS=‘\\?\C:\Users\Media\ Server\AppData\Local\Plex\ Media\ Server\Codecs\5a2d9a2-1127-windows-i386\’ XDG_CACHE_HOME='C:\Users\Media Server\AppData\Local\Plex Media Server\Cache' XDG_DATA_HOME='C:\Program Files (x86)\Plex\Plex Media Server\Resources' X_PLEX_TOKEN=‘xxxxxxxxxxxxxxxxxxxx’ C:\Program Files (x86)\Plex\Plex Media Server\PlexTranscoder.exe -codec:0 “vc1” -codec:1 “ac3_mf” -i “M:\Media\Adult\Movies\Keepers\Completed\V for Vendetta (2005)\V for Vendetta (2005).mkv” -filter_complex “[0:0]scale=w=min(1920,iw):h=min(1080,ih):force_original_aspect_ratio=decrease[0]” -map “[0]” -metadata:s:0 “language=eng” -codec:0 “libx264” -crf:0 “19” -pix_fmt:0 “yuv420p” -maxrate:0 “8000k” -bufsize:0 “16000k” -r:0 “23.975999999999999” -preset:0 “veryfast” -level:0 “5.1” -x264opts:0 “subme=2:me_range=4:rc_lookahead=10:me=hex:8x8dct=1” -force_key_frames:0 “expr:gte(t,0+n_forced*1)” -map “0:1” -metadata:s:1 “language=eng” -codec:1 “aac” -ar:1 “48000” -channel_layout:1 “stereo” -b:1 “193k” -segment_format “mpegts” -f “segment” -flags “-global_header” -segment_time “1” -segment_start_number “0” -segment_copyts “1” -segment_time_delta “0.0625” -max_delay “5000000” -avoid_negative_ts “disabled” -map_metadata “-1” -map_chapters “-1” “media-%05d.ts” “-start_at_zero” “-copyts” -vsync “cfr” “-y” “-nostats” -loglevel “quiet” -loglevel_plex “error” -progressurl “http://127.0.0.1:32400/video/:/transcode/session/8ba95ccbe522909c-com-plexapp-android/progress
  • Oct 25, 2016 13:07:52.835 [10792] ERROR - [Transcoder] [vc1 @ 034d2940] Incomplete extradata
  • Oct 25, 2016 13:07:52.837 [5900] ERROR - [Transcoder] [vc1 @ 034d2940] Incomplete extradata
  • Oct 25, 2016 13:07:52.869 [9576] ERROR - [Transcoder] [vc1 @ 0359a580] Incomplete extradata
  • Oct 25, 2016 13:07:52.869 [10792] ERROR - [Transcoder] Error while opening decoder for input stream #0:0 : Operation not permitted

Thanks for the help.

Your ffmpeg command line is incorrect.

You need to break out video, audio, and subtitles individually. The -c copy is simply pushing the VC1 directly through to the output file. This is what PMS is reporting as a problem (which is common with VC1).

Might I suggest: ffmpeg -i Input_file -c:v libx265 -preset medium -crf 12 -c:a copy -c:s copy output_filename as a starting point?

Edit: When done, don’t forget to have PMS analyze the file again to be certain the DB matches the file.

I can double check, but I think its correct, the -map 0 -c copy only refers to the non-video segments.

Yep, right from https://trac.ffmpeg.org/wiki/Map

Haha, well, now it’s working. Apparently I tried to play it too quickly, Plex was still thinking it was the old file.

however, I did refresh it several times before trying to play it. even rebooted to apply todays PMS update.

You’re right. I overlooked the -map` selector. good catch and thanks.