Jump to content

Convert Media error during transcode


Recommended Posts

ewalkersc
Posted

I am trying to use the convert media on some of my recorded live tv.  Below is the error from the log file when it tries to convert.   I am running server version 3.4.1.0 on a QNAP NAS.

 

 

 

2018-06-22 00:01:17.549 Info App: Profile: Cloud Sync, Path: /share/media/Recordings/2018 FIFA World Cup/2018 FIFA World Cup 2018_06_20_08_00_00 - Portugal vs. Morocco.ts, isEligibleForDirectPlay: True, isEligibleForDirectStream: True
2018-06-22 00:01:17.549 Info App: Profile: Cloud Sync, No direct play profiles found for Path: /share/media/Recordings/2018 FIFA World Cup/2018 FIFA World Cup 2018_06_20_08_00_00 - Portugal vs. Morocco.ts
2018-06-22 00:01:17.590 Info MediaEncoder: /share/CACHEDEV1_DATA/.qpkg/EmbyServer/bin/ffmpeg -re -hwaccel vaapi -hwaccel_output_format vaapi -vaapi_device /dev/dri/card0 -i file:"/share/media/Recordings/2018 FIFA World Cup/2018 FIFA World Cup 2018_06_20_08_00_00 - Portugal vs. Morocco.ts" -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_vaapi -force_key_frames "expr:gte(t,n_forced*5)" -vf "format=nv12|vaapi,hwupload" -b:v 6777638 -maxrate 6777638 -bufsize 13555276 -r 30 -profile:v 578 -level 41 -vsync -1 -map_metadata -1 -map_chapters -1 -threads 0 -codec:a:0 copy -y "/share/CACHEDEV1_DATA/.qpkg/EmbyServer/programdata/sync/9527b2279d714d54a6943aaeb153e536/1ae4c1d99dd54a7db7d6ac7ac12e1217/22ad6e776a7940fda7ebaac68188d10b.mp4"
2018-06-22 00:01:17.745 Info MediaEncoder: FFMpeg exited with code 1
2018-06-22 00:01:17.822 Error App: Error during sync transcoding
    *** Error Report ***
    Version: 3.4.1.0
    Command line: /share/CACHEDEV1_DATA/.qpkg/EmbyServer/system/EmbyServer.dll -programdata /share/CACHEDEV1_DATA/.qpkg/EmbyServer/programdata -ffmpeg /share/CACHEDEV1_DATA/.qpkg/EmbyServer/bin/ffmpeg -ffprobe /share/CACHEDEV1_DATA/.qpkg/EmbyServer/bin/ffprobe -defaultdirectory /share/CACHEDEV1_DATA -updatepackage emby-server-qnap_{version}_x86_64.qpkg
    Operating system: Unix 4.2.8.0
    64-Bit OS: True
    64-Bit Process: True
    User Interactive: True
    Processor count: 4
    Program data path: /share/CACHEDEV1_DATA/.qpkg/EmbyServer/programdata
    Application directory: /share/CACHEDEV1_DATA/.qpkg/EmbyServer/system
    System.Exception: Encoding failed
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Emby.Server.MediaEncoding.Encoder.MediaEncoder.<EncodeVideo>d__75.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Emby.Server.Sync.SyncJobProcessor.<Sync>d__28.MoveNext()
    System.Exception
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Emby.Server.MediaEncoding.Encoder.MediaEncoder.<EncodeVideo>d__75.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Emby.Server.Sync.SyncJobProcessor.<Sync>d__28.MoveNext()
 

Posted

Did it generate a transcode log? Can you please attach that? Thanks.

ewalkersc
Posted

Here is the text of the log

 

 

/share/CACHEDEV1_DATA/.qpkg/EmbyServer/bin/ffmpeg -re -hwaccel vaapi -hwaccel_output_format vaapi -vaapi_device /dev/dri/card0 -i file:"/share/media/Recordings/2018 FIFA World Cup/2018 FIFA World Cup 2018_06_20_08_00_00 - Portugal vs. Morocco.ts" -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_vaapi -force_key_frames "expr:gte(t,n_forced*5)" -vf "format=nv12|vaapi,hwupload" -b:v 6777638 -maxrate 6777638 -bufsize 13555276 -r 30 -profile:v 578 -level 41 -vsync -1 -map_metadata -1 -map_chapters -1 -threads 0 -codec:a:0 copy -y "/share/CACHEDEV1_DATA/.qpkg/EmbyServer/programdata/sync/9527b2279d714d54a6943aaeb153e536/1ae4c1d99dd54a7db7d6ac7ac12e1217/22ad6e776a7940fda7ebaac68188d10b.mp4"


ffmpeg version 3.4.2 Copyright © 2000-2018 the FFmpeg developers

Posted

Please attach the complete log file, thanks.

ewalkersc
Posted

That is all that was in it

Posted

Ok, try turning off vaapi.

ewalkersc
Posted

That looks to be working.  I have a QNAP TS-251+ running my emby server.  Should I have any hardware acceleration enabled?

Posted

Yes vaapi is supported but occasionally it may fail with certain files and the conversion process doesn't yet have an automatic fallback to cpu transcoding.

ewalkersc
Posted

Is there a known list of files that fail?  It doesn't seem to convert any of my recorded live TV.

Posted

Normally it should be fine with mpeg2 ts so i would have expected this one to work.

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...