Jump to content

Error during download with transcoding


Recommended Posts

Posted

Hi,

I have a problem with my Emby Server (4.7.13.0) running on windows.

I can convert media (ffmpeg-transcode-4d2836ad-1530-4a54-ad43-4e4ce72d8a44_1.txt) and I can transcode the same media while watching (ffmpeg-transcode-3fdea064-a73c-4c62-a463-638f4187a114_1.txt), but I can not download this media file including transcoding (ffmpeg-transcode-cbf2a996-c0ee-4846-9f5a-2b4394f32e7f_1.txt). Then I get this error:

Quote

2023-08-07 10:24:23.800 Error App: Error during sync transcoding
    *** Error Report ***
    Version: 4.7.13.0
    Command line: C:\Users\Emby\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp
    Operating system: Microsoft Windows 10.0.22621
    Framework: .NET 6.0.16
    OS/Process: x64/x64
    Runtime: C:/Users/Emby/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
    Processor count: 8
    Data path: C:\Users\Emby\AppData\Roaming\Emby-Server\programdata
    Application path: C:\Users\Emby\AppData\Roaming\Emby-Server\system
    System.Exception: System.Exception: Error starting ffmpeg
       at Emby.Server.MediaEncoding.Encoder.BaseEncoder.Start(EncodingJobOptions options, IProgress`1 progress, CancellationToken cancellationToken)
       at Emby.Server.MediaEncoding.Encoder.MediaEncoder.EncodeVideo(EncodingJobOptions options, IProgress`1 progress, CancellationToken cancellationToken)
       at Emby.Server.Sync.SyncJobProcessor.SyncVideo(SyncJobItem jobItem, Video item, User user, Boolean enableConversion, Boolean forceConversion, SyncOptions syncOptions, ISyncProvider provider, IProgress`1 progress, CancellationToken cancellationToken)
    Source: Emby.Server.MediaEncoding
    TargetSite: Void MoveNext()

Quote

10:24:23.753 [libx264 @ 0000025bfedaaec0] using SAR=1/1
10:24:23.754 [libx264 @ 0000025bfedaaec0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 AVX512
10:24:23.756 [libx264 @ 0000025bfedaaec0] profile Main, level 3.2, 4:2:0, 8-bit
10:24:23.756 [libx264 @ 0000025bfedaaec0] 264 - core 159 r2991 1771b55 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x1:0 me=hex subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=4 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=12 lookahead_threads=2 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=300 keyint_min=151 scenecut=0 intra_refresh=0 rc_lookahead=10 rc=crf mbtree=1 crf=20.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=6912 vbv_bufsize=13824 crf_max=0.0 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00
10:24:23.756 [matroska @ 0000025bfe2b5900] Tag [6][0][0][0] incompatible with output codec id '94215' ([0][0][0][0])
10:24:23.756 Could not write header for output file #0 (incorrect codec parameters ?): Invalid data found when processing input
10:24:23.756 Error initializing output stream 0:0 -- 
10:24:23.767 [aac @ 0000025bfeda9f00] Qavg: 239.321
10:24:23.767 [aac @ 0000025bfeda9f00] 2 frames left in the queue on closing
10:24:23.767 [aac @ 0000025bfedaa6c0] Qavg: 234.790
10:24:23.767 [aac @ 0000025bfedaa6c0] 2 frames left in the queue on closing
10:24:23.768 [aac @ 0000025bff886e80] Qavg: 212.802
10:24:23.768 [aac @ 0000025bff886e80] 2 frames left in the queue on closing
10:24:23.774 Conversion failed!

Is there anything, I can do? I do not want to convert all media before downloading, because I have to remove it afterwards. 

Thank you!

Regards, Michael

ffmpeg-transcode-cbf2a996-c0ee-4846-9f5a-2b4394f32e7f_1.txt ffmpeg-transcode-3fdea064-a73c-4c62-a463-638f4187a114_1.txt embyserver (2).txt ffmpeg-transcode-4d2836ad-1530-4a54-ad43-4e4ce72d8a44_1.txt

Posted

Hi, can you provide a copy of the original file for testing? Thanks.

  • 2 weeks later...
Posted

@pachi81good news. I tested this against our latest code and it looks like we've already got it resolved in the upcoming 4.8 server release. It converted successfully for me.

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