Transcoder seems to be crashing

No, there isn’t.

The transcoder is 99% FFMPEG so if you have that, you can simply transcode the file.

If FFMPEG blows up then you know it’s the video.

Ya, I guess it is the android app, because the Optimize works, does that use ffmpeg also?

No. Optimize is 100% within PMS. Plex/web is the browser

Do you have any iOS devices?
Nvidia Shield ?

no, i have a plex for windows app?

good enough! Go for it

it doesn’t seem to be transcoding since i’m local, i will switch over to a hotspot and see what happens

doesn’t work
Conversion failed. The transcoder process crashed

I think the web browser might not have been transcoding (nevermind it was)

likely …

Back down to a previous version of PMS (so you can keep going).

This needs to be looked at by someone better than I can.

I got an answer about the player for the phone.

Can you select different versions (older) in the google play store?

don’t think so, i don’t see an option in google play
i’ve backed down PMS to a release from May and it was still not working

OK. While I go look for an app version,

Please see if you can find the android developer’s tool adb for your machine.

How it works is:

  1. adb connect LAN.addr.of.device
  2. it responds with Connected (or failure)
  3. adb install file_name.apk (we previously uninstalled the app)
  4. it will take a moment, it responds with success…
  5. You open the app and “link” it to your account. (yes customizations will be lost)

ok thanks

IFF we identified the phone correctly (it will fail if we’re wrong).

this is the APK you want to side load using ADB.

I deliberately went back 2 versions.

I see what you typed.

Are you saying there is different output based on version and this older version works?

no, one was output from web browser, second output was from android

i am sideloading the older android app now

ok. Take your time.

still doesn’t work

i’m going to try to run ffmpeg manually with those flags and see what happens… maybe it’s the EAE thing

if you can find what works,

Next thing to do is turn on Remote Logging in the app.

That way, you can pull its logs when it works, – save that —

Repeat again and main PMS crash – save that too.

Unfortunately there isn’t anthing EAE / obvious in your logs so I’m afraid you need to start “process of elimination”

i think it’s a ffmpeg issue, but i’m not sure which option is causing it to fail

EAE_ROOT=‘/tmp/pms-2cf9c03e-f3b8-4bf2-a844-394d42ec875e/EasyAudioEncoder’ FFMPEG_EXTERNAL_LIBS=‘/config/Library/Application\ Support/Plex\ Media\ Server/Codecs/fa235d6-3929-linux-x86_64/’ X_PLEX_TOKEN=‘xxxxxxxxxxxxxxxxxxxx’ ‘/usr/lib/plexmediaserver/Plex Transcoder’ ‘-codec:0’ ‘h264’ ‘-codec:2’ ‘eac3_eae’ ‘-eae_prefix:2’ ‘89c15f44f140cc19-com-plexapp-android_’ ‘-analyzeduration’ ‘20000000’ ‘-probesize’ ‘20000000’ ‘-i’ ‘/movies/X264/movie.mkv’ ‘-filter_complex’ ‘[0:0]scale=w=480:h=270[0];[0]format=pix_fmts=yuv420p|nv12[1]’ ‘-map’ ‘[1]’ ‘-codec:0’ ‘libx264’ ‘-crf:0’ ‘23’ ‘-maxrate:0’ ‘523k’ ‘-bufsize:0’ ‘1046k’ ‘-r:0’ ‘23.975999999999999’ ‘-preset:0’ ‘veryfast’ ‘-x264opts:0’ ‘subme=6:me_range=4:rc_lookahead=10:me=hex:8x8dct=1’ ‘-force_key_frames:0’ ‘expr:gte(t,n_forced*8)’ ‘-filter_complex’ ‘[0:2] aresample=async=1:ocl=’'‘stereo’'‘:rematrix_maxval=0.000000dB:osr=48000[2]’ ‘-map’ ‘[2]’ ‘-metadata:s:1’ ‘language=eng’ ‘-codec:1’ ‘libmp3lame’ ‘-q:1’ ‘4’ ‘-map’ ‘0:36’ ‘-metadata:s:2’ ‘language=eng’ ‘-codec:2’ ‘ass’ ‘-map’ ‘0:t?’ ‘-codec:t’ ‘copy’ ‘-segment_format’ ‘matroska’ ‘-f’ ‘ssegment’ ‘-individual_header_trailer’ ‘0’ ‘-flags’ ‘+global_header’ ‘-segment_format_options’ ‘output_ts_offset=10’ ‘-segment_header_filename’ ‘header’ ‘-segment_time’ ‘8’ ‘-segment_start_number’ ‘0’ ‘-segment_copyts’ ‘1’ ‘-segment_time_delta’ ‘0.0625’ ‘-segment_list’ ‘http://127.0.0.1:32400/video/:/transcode/session/89c15f44f140cc19-com-plexapp-android/4864e907-f410-4e6a-9bcb-94519b49c46e/manifest?X-Plex-Http-Pipeline=infinite’ ‘-segment_list_type’ ‘csv’ ‘-segment_list_size’ ‘5’ ‘-segment_list_separate_stream_times’ ‘1’ ‘-segment_list_unfinished’ ‘1’ ‘-max_delay’ ‘5000000’ ‘-avoid_negative_ts’ ‘disabled’ ‘-map_metadata:g’ ‘-1’ ‘-map_metadata:c’ ‘-1’ ‘-map_chapters’ ‘-1’ ‘media-%05d.ts’ ‘-start_at_zero’ ‘-copyts’ ‘-vsync’ ‘cfr’ ‘-y’ ‘-nostats’ ‘-loglevel_plex’ ‘error’ ‘-progressurl’ ‘http://127.0.0.1:32400/video/:/transcode/session/89c15f44f140cc19-com-plexapp-android/4864e907-f410-4e6a-9bcb-94519b49c46e/progress

Stream mapping:
Stream #0:0 (h264) → scale (graph 0)
Stream #0:2 (eac3_eae) → aresample (graph 1)
format (graph 0) → Stream #0:0 (libx264)
aresample (graph 1) → Stream #0:1 (libmp3lame)
Stream #0:36#0:2 (subrip (native) → ass (native))
Press [q] to stop, [?] for help
[libx264 @ 0x149a869f1dc0] using SAR=1/1
[libx264 @ 0x149a869f1dc0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 AVX512
[libx264 @ 0x149a869f1dc0] profile High, level 2.1, 4:2:0, 8-bit
[libx264 @ 0x149a869f1dc0] 264 - core 161 - H.264/MPEG-4 AVC codec - Copyleft 2003-2020 - x264, the best H.264/AVC encoder - VideoLAN - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=6 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=4 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=8 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=250 keyint_min=23 scenecut=40 intra_refresh=0 rc_lookahead=10 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=523 vbv_bufsize=1046 crf_max=0.0 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00
[stream_segment,ssegment @ 0x149a86a18680] Opening ‘header’ for writing
Output #0, stream_segment,ssegment, to ‘media-%05d.ts’:
Metadata:
encoder : Lavf58.27.104
Stream #0:0: Video: h264 (libx264), yuv420p(progressive), 480x270 [SAR 1:1 DAR 16:9], q=-1–1, 23.98 fps, 1k tbn, 23.98 tbc (default)
Metadata:
encoder : Lavc58.52.100 libx264
Side data:
cpb: bitrate max/min/avg: 523000/0/0 buffer size: 1046000 vbv_delay: -1
Stream #0:1(eng): Audio: mp3 (libmp3lame), 48000 Hz, stereo, s32p
Metadata:
encoder : Lavc58.52.100 libmp3lame
Stream #0:2(eng): Subtitle: ass (forced)
Metadata:
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
title : English (Forced)
BPS : 2
DURATION : 01:32:18.992000000
NUMBER_OF_FRAMES: 40
NUMBER_OF_BYTES : 1421
_STATISTICS_WRITING_APP: mkvmerge v59.0.0 (‘Shining Star’) 64-bit
encoder : Lavc58.52.100 ass
Segmentation fault

I found the problem, I changed the 6 to a 2 and it started working.

‘subme=2:me_range=4:rc_lookahead=10:me=hex:8x8dct=1’