Jump to content

ShieldTV Downloads/Conversions not working


bam2000

Recommended Posts

Hi, 

i have installed Emby Server on my 2019 ShieldTV (Roll) with an MicroSD Card for storage expansion installed as internal.

But i can't get Downloading/Conversions to work. whenever i try to download a series i get a failed message.

this is the log for the transcoding job: 


Logs
ffmpeg-transcode-44b6b82e-0322-429a-8fcc-b8a43f69cd42_1.txt
2020-12-11 11:31:35.143
Operating System: Android 9 (REL) SDK:P BuildId:PPR1.180610.011 Incremental:4079180_2235.1395 Patch-Level: 2020-07-05
OS/Process: Arm/Arm
Emby Server version: 4.6.0.7
Operating system: Unix 4.9.140.5
Command Line: /data/app/com.emby.embyserver-uswXx-RMYm-0wRysMcV2sg==/base.apk
 
 
{"Protocol":"File","Id":"655d47b861a4e429337543cecdd5a0c8","Path":"/storage/SYNOLOGYROUTER/Serien/TV Shows/Futurama/Futurama.S01E04.Begegnung.mit.Zapp.Brannigan.GERMAN.DL.FS.720p.HDTV.x264-TMSF/tmsf-futurama-s01e04-720p.mkv","Type":"Default","Container":"mkv","Size":348089527,"Name":"tmsf-futurama-s01e04-720p","IsRemote":false,"RunTimeTicks":12619840000,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"RequiresLooping":false,"SupportsProbing":false,"MediaStreams":[{"Codec":"h264","ColorTransfer":"bt709","ColorPrimaries":"bt709","ColorSpace":"bt709","TimeBase":"1/1000","CodecTimeBase":"1/50","VideoRange":"SDR","DisplayTitle":"720p H264","NalLengthSize":"4","IsInterlaced":false,"IsAVC":true,"BitRate":2206617,"BitDepth":8,"RefFrames":1,"IsDefault":true,"IsForced":false,"Height":704,"Width":960,"AverageFrameRate":25,"RealFrameRate":25,"Profile":"High","Type":"Video","AspectRatio":"15:11","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File","PixelFormat":"yuv420p","Level":41,"IsAnamorphic":false},{"Codec":"ac3","Language":"ger","TimeBase":"1/1000","CodecTimeBase":"1/48000","Title":"Surround","DisplayTitle":"German AC3 5.1 (Default)","DisplayLanguage":"German","IsInterlaced":false,"ChannelLayout":"5.1","BitRate":384000,"Channels":6,"SampleRate":48000,"IsDefault":true,"IsForced":false,"Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File"},{"Codec":"ac3","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"1/48000","Title":"Stereo","DisplayTitle":"English AC3 stereo","DisplayLanguage":"English","IsInterlaced":false,"ChannelLayout":"stereo","BitRate":384000,"Channels":2,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":2,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File"}],"Formats":[],"Bitrate":2206617,"RequiredHttpHeaders":{},"ReadAtNativeFramerate":false}
 
 
>>>>>> Affected codecs
Encoder Nvidia.h264
Max Bitrate: 48 Mbit/s - Frame Sizes: 48x48...3840x2176 - Width Alignment: 2 - Height Alignment: 2 - Frame Rates: 0fps...960fps
Max Instances: 32 - Color Formats: YUV420P, YUV420P, NV12, Unknown
Profiles: High Profile (Level 5.2), Main Profile (Level 5.2), Baseline Profile (Level 5.2)
 
 
Decoder Nvidia.h264
Max Bitrate: 114 Mbit/s - Frame Sizes: 48x48...3840x2176 - Width Alignment: 2 - Height Alignment: 2 - Frame Rates: 0fps...960fps
Max Instances: 32 - Color Formats: YUV420P, NV12
Profiles: Baseline Profile (Level 5.1), Main Profile (Level 5.2), High Profile (Level 5.2)
 
 
 
 
>>>>>> FindVideoEncoder - Media: h264, UseHardwareCodecs: True, Mode: Automatic
Info Checking: 'Nvidia.h264'
Info Check successful - selecting 'Nvidia.h264'
 
 
>>>>>> FindVideoDecoder - MediaType: h264, Mode: Automatic
Info Checking: 'Nvidia.h264'
Info Check successful - selecting 'Nvidia.h264'
 
 
>>>>>> Processing Plan
Info Name CanDoInHardware WillDoInHardware Reason
Info Nvidia.h264 >> True True Hardware Codec
Info VideoInput >> True True
Info Scaling >> True True
Info VideoOutput >> True True Hardware encoder
Info Nvidia.h264 >> True True Hardware Codec
 
 
>>>>>> Projected Processing Formats
Info Previous HW-Context Format SW-Format Next
Info h264_mediacodecndk >> - yuv420p yuv420p >>
 
 
/data/data/com.emby.embyserver/files/ffmpeg/ffmpeg -loglevel +timing -y -print_graphs_file "/storage/emulated/0/Android/data/com.emby.embyserver/files/logs/ffmpeg-transcode-44b6b82e-0322-429a-8fcc-b8a43f69cd42_1graph.txt" -copyts -start_at_zero -f matroska,webm -re -c:v:0 h264_mediacodecndk -mediacodec_name:v:0 OMX.Nvidia.h264.decode -i "/storage/SYNOLOGYROUTER/Serien/TV Shows/Futurama/Futurama.S01E04.Begegnung.mit.Zapp.Brannigan.GERMAN.DL.FS.720p.HDTV.x264-TMSF/tmsf-futurama-s01e04-720p.mkv" -map 0:0 -map 0:1 -map 0:2 -sn -c:v:0 h264_mediacodecndk -b:v:0 732000 -g:v:0 150 -maxrate:v:0 732000 -bufsize:v:0 1464000 -sc_threshold:v:0 0 -profile:v:0 2 -level:v:0 256 -keyint_min:v:0 150 -mediacodec_name:v:0 OMX.Nvidia.h264.encoder -mediacodec_output_size:v:0 640:468 -c:a:0 copy -metadata:s:a:0 language=ger -disposition:a:0 default -c:a:1 copy -metadata:s:a:1 language=eng -disposition:a:1 0 -avoid_negative_ts disabled -map_metadata -1 -map_chapters -1 "/storage/emulated/0/Emby/Syncing/2/6/44b6b82e-0322-429a-8fcc-b8a43f69cd42.mkv"
 
 
11:31:36.245 ffmpeg version 4.3.0-emby_2020_02_24 Copyright (c) 2000-2019 the FFmpeg developers and softworkz for Emby LLC
11:31:36.247 built with Android (4751641 based on r328903) clang version 7.0.2 (https://android.googlesource.com/toolchain/clang 003100370607242ddd5815e4a043907ea9004281) (https://android.googlesource.com/toolchain/llvm 1d739ffb0366421d383e04ff80ec2ee591315116) (based on LLVM 7.0.2svn)
11:31:36.247 Execution Date: 2020-12-11 11:31:36
11:31:36.484 Input #0, matroska,webm, from '/storage/SYNOLOGYROUTER/Serien/TV Shows/Futurama/Futurama.S01E04.Begegnung.mit.Zapp.Brannigan.GERMAN.DL.FS.720p.HDTV.x264-TMSF/tmsf-futurama-s01e04-720p.mkv':
11:31:36.485 Metadata:
11:31:36.485 CREATION_TIME : 2018-05-13T15:23:47Z
11:31:36.485 ENCODER : Lavf57.7.2
11:31:36.485 Duration: 00:21:01.98, start: 0.000000, bitrate: 2206 kb/s
11:31:36.485 Stream #0:0: Video: h264 (High), yuv420p(tv, bt709, progressive), 960x704 [SAR 1:1 DAR 15:11], Level 41, 25 fps, 25 tbr, 1k tbn, 50 tbc (default)
11:31:36.486 Stream #0:1(ger): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s, Start-Time 0.160s (default)
11:31:36.486 Metadata:
11:31:36.486 title : Surround
11:31:36.487 Stream #0:2(eng): Audio: ac3, 48000 Hz, stereo, fltp, 384 kb/s, Start-Time 0.160s
11:31:36.487 Metadata:
11:31:36.487 title : Stereo
11:31:36.503 Try loading embymc
11:31:36.504 embymc init function called
11:31:36.506 [h264_mediacodecndk @ 0x4a127000] NdkDec: mediacodec_name: OMX.Nvidia.h264.decode
11:31:36.566 Stream mapping:
11:31:36.566 Stream #0:0 -> #0:0 (h264 (h264_mediacodecndk) -> h264 (h264_mediacodecndk))
11:31:36.566 Stream #0:1 -> #0:1 (copy)
11:31:36.566 Stream #0:2 -> #0:2 (copy)
11:31:36.566 Press [q] to stop, [?] for help
11:31:37.572 frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate=N/A throttle=off speed= 0x
11:31:37.656 [h264_mediacodecndk @ 0x4a127000] NdkDec: MediaCodec output format changed: mime: string(video/raw), stride: int32(960), slice-height: int32(704), color-format: int32(21), image-data: data, crop: Rect(0, 0, 959, 703), crop-width: int32(960), crop-height: int32(704), display-width: int32(960), display-height: int32(704), color-range: int32(2), color-standard: int32(1), color-transfer: int32(3), hdr-static-info: data, width: int32(960), height: int32(704)}
11:31:37.664 [h264_mediacodecndk @ 0x4a127c00] NdkEnc: is_rtk: 0 pix_fmt: 23 pixelFormat: 21
11:31:37.664 [h264_mediacodecndk @ 0x4a127c00] NdkEnc: Mime: video/avc Size: 960x704 rc_mode: 1 rc_max_rate: -1131704 rc_buffer_size: 732000 bit_rate: 0
11:31:37.664 [h264_mediacodecndk @ 0x4a127c00] NdkEnc: Framerate: 25 / 1
11:31:37.665 [h264_mediacodecndk @ 0x4a127c00] NdkEnc: Profile: 2 Level: 256
11:31:37.665 [h264_mediacodecndk @ 0x4a127c00] NdkEnc: OutputSize: 640x468
11:31:37.665 [h264_mediacodecndk @ 0x4a127c00] NdkEnc: aspect: 351 / 352
11:31:37.665 [h264_mediacodecndk @ 0x4a127c00] NdkEnc: mediacodec_name: OMX.Nvidia.h264.encoder
11:31:37.720 Could not write header for output file #0 (incorrect codec parameters ?): Invalid data found when processing input
11:31:37.720 Error initializing output stream 0:0 --
11:31:37.801 Conversion failed!

 

Edited by bam2000
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...