[Nest] 7 - 02/27/2026, 7:04:32 PM ERROR [Microservices:MediaService] Error occurred during transcoding: ffmpeg exited with code 251: Conversion failed! [Nest] 7 - 02/27/2026, 7:04:32 PM ERROR [Microservices:MediaService] Retrying with VAAPI acceleration disabled [Nest] 7 - 02/27/2026, 7:04:34 PM LOG [Microservices:MediaService] Successfully encoded a66d7050-e5ae-4344-be7e-73c54b8fb141 [Nest] 7 - 02/27/2026, 7:04:35 PM LOG [Microservices:MediaService] Transcoded video exists for asset a41c88ca-5d67-4486-826c-780847ba6c3b, but is no longer required. Deleting... [Nest] 7 - 02/27/2026, 7:04:35 PM LOG [Microservices:MediaService] Transcoding video 10fff03b-6c43-4000-b6e5-928328aefb2a with VAAPI-accelerated encoding and software decoding [Nest] 7 - 02/27/2026, 7:04:37 PM ERROR [Microservices:MediaRepository] [AVHWDeviceContext @ 0x5613470e79c0] Initialised VAAPI connection: version 1.22 [AVHWDeviceContext @ 0x5613470e79c0] VAAPI driver: Mesa Gallium driver 25.0.7 for AMD Radeon RX 7900 XTX (radeonsi, navi31, ACO, DRM 3.64, 6.19.4-2-cachyos). [AVHWDeviceContext @ 0x5613470e79c0] Driver not found in known nonstandard list, using standard behaviour. Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/data/library/admin/2026/2026-02-02/VID_20260202_221259353.mp4': Metadata: major_brand : mp42 minor_version : 0 compatible_brands: isommp42 creation_time : 2026-02-03T03:14:12.000000Z location : +43.8796-070.0725/ location-eng : +43.8796-070.0725/ com.android.version: 16 com.android.manufacturer: Nothing com.android.model: Nothing Phone (3a) Pro Duration: 00:00:44.71, start: 0.000000, bitrate: 19868 kb/s Stream #0:0[0x1](eng): Video: hevc (Main), 1 reference frame (hvc1 / 0x31637668), yuvj420p(pc, bt470bg/bt470bg/smpte170m, left), 1920x1080, 19700 kb/s, 60.07 fps, 60 tbr, 90k tbn (default) Metadata: creation_time : 2026-02-03T03:14:12.000000Z handler_name : VideoHandle vendor_id : [0][0][0][0] Side data: displaymatrix: rotation of -90.00 degrees Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 96 kb/s (default) Metadata: creation_time : 2026-02-03T03:14:12.000000Z handler_name : SoundHandle vendor_id : [0][0][0][0] [out#0/mp4 @ 0x56134722e0c0] Adding streams from explicit maps... [vost#0:0/h264_vaapi @ 0x561347258f80] Created video stream from input stream 0:0 [aost#0:1/copy @ 0x561347257cc0] Created audio stream from input stream 0:1 Stream mapping: Stream #0:0 -> #0:0 (hevc (native) -> h264 (h264_vaapi)) Stream #0:1 -> #0:1 (copy) [vost#0:0/h264_vaapi @ 0x561347258f80] Starting thread... [vf#0:0 @ 0x561347230c00] Starting thread... [vist#0:0/hevc @ 0x561347234380] [dec:hevc @ 0x56134725afc0] Starting thread... [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 0x56134722be40] Starting thread... Press [q] to stop, [?] for help [graph -1 input from stream 0:0 @ 0x7f6eb4003c80] w:1920 h:1080 pixfmt:yuvj420p tb:1/90000 fr:60/1 sar:0/1 csp:bt470bg range:pc [auto_scale_0 @ 0x7f6eb40064c0] w:iw h:ih flags:'' interl:0 [transpose @ 0x7f6eb4004380] auto-inserting filter 'auto_scale_0' between the filter 'graph -1 input from stream 0:0' and the filter 'transpose' [swscaler @ 0x7f6eb4014480] deprecated pixel format used, make sure you did set range correctly [auto_scale_0 @ 0x7f6eb40064c0] w:1920 h:1080 fmt:yuvj420p csp:bt470bg range:pc sar:0/1 -> w:1920 h:1080 fmt:yuv420p csp:bt470bg range:pc sar:0/1 flags:0x00000004 [auto_scale_0 @ 0x7f6eb40064c0] [framesync @ 0x7f6eb40065e8] Selected 1/90000 time base [auto_scale_0 @ 0x7f6eb40064c0] [framesync @ 0x7f6eb40065e8] Sync level 1 [transpose @ 0x7f6eb4004380] w:1920 h:1080 dir:1 -> w:1080 h:1920 rotation:clockwise vflip:0 [graph -1 input from stream 0:0 @ 0x7f6eb4003c80] video frame properties congruent with link at pts_time: 0 [h264_vaapi @ 0x56134722f6c0] Using input frames context (format vaapi) with h264_vaapi encoder. [h264_vaapi @ 0x56134722f6c0] Input surface format is yuv420p. [h264_vaapi @ 0x56134722f6c0] Using VAAPI profile VAProfileH264High (7). [h264_vaapi @ 0x56134722f6c0] Using VAAPI entrypoint VAEntrypointEncSlice (6). [h264_vaapi @ 0x56134722f6c0] Using VAAPI render target format YUV420 (0x1). [h264_vaapi @ 0x56134722f6c0] RC mode: CQP. [h264_vaapi @ 0x56134722f6c0] Block Level bitrate control: OFF. [h264_vaapi @ 0x56134722f6c0] RC quality: 31. [h264_vaapi @ 0x56134722f6c0] RC framerate: 60/1 (60.00 fps). [h264_vaapi @ 0x56134722f6c0] Driver does not report any additional prediction constraints. [h264_vaapi @ 0x56134722f6c0] Using intra, P- and B-frames (supported references: 1 / 1). [h264_vaapi @ 0x56134722f6c0] All wanted packed headers available (wanted 0xd, found 0x1f). [h264_vaapi @ 0x56134722f6c0] Using level 4.2. Output #0, mp4, to '/data/encoded-video/50c54b01-b9c3-4764-ba75-e1a154e90376/10/ff/10fff03b-6c43-4000-b6e5-928328aefb2a.mp4': Metadata: encoder : Lavf61.7.100 Stream #0:0: Video: h264 (High), 1 reference frame (avc1 / 0x31637661), vaapi(pc, bt470bg/bt470bg/smpte170m, progressive, left), 1080x1920, q=2-31, 60 fps, 15360 tbn (default) Metadata: encoder : Lavc61.19.101 h264_vaapi Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 96 kb/s (default) [out#0/mp4 @ 0x56134722e0c0] Starting thread... [h264_vaapi @ 0x56134722f6c0] Failed to end picture encode issue: 6 (invalid VASurfaceID). [h264_vaapi @ 0x56134722f6c0] Encode failed: -5. [vost#0:0/h264_vaapi @ 0x561347258f80] Error submitting video frame to the encoder [vost#0:0/h264_vaapi @ 0x561347258f80] Error encoding a frame: Input/output error [vost#0:0/h264_vaapi @ 0x561347258f80] Task finished with error code: -5 (Input/output error) [vost#0:0/h264_vaapi @ 0x561347258f80] Terminating thread with return code -5 (Input/output error) [vf#0:0 @ 0x561347230c00] All consumers returned EOF [vf#0:0 @ 0x561347230c00] Terminating thread with return code 0 (success) [vist#0:0/hevc @ 0x561347234380] [dec:hevc @ 0x56134725afc0] Decoder returned EOF, finishing [vist#0:0/hevc @ 0x561347234380] [dec:hevc @ 0x56134725afc0] Terminating thread with return code 0 (success) [vist#0:0/hevc @ 0x561347234380] All consumers of this stream are done [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 0x56134722be40] EOF while reading input [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 0x56134722be40] Terminating thread with return code 0 (success) [out#0/mp4 @ 0x56134722e0c0] All streams finished [out#0/mp4 @ 0x56134722e0c0] Terminating thread with return code 0 (success) [mp4 @ 0x561347258a00] Starting second pass: moving the moov atom to the beginning of the file [AVIOContext @ 0x7f6eac0a7a40] Statistics: 534424 bytes read, 0 seeks [AVIOContext @ 0x561347fc7100] Statistics: 1077943 bytes written, 4 seeks, 9 writeouts [out#0/mp4 @ 0x56134722e0c0] Output file #0 (/data/encoded-video/50c54b01-b9c3-4764-ba75-e1a154e90376/10/ff/10fff03b-6c43-4000-b6e5-928328aefb2a.mp4): [out#0/mp4 @ 0x56134722e0c0] Output stream #0:0 (video): 2 frames encoded; 0 packets muxed (0 bytes); [out#0/mp4 @ 0x56134722e0c0] Output stream #0:1 (audio): 2085 packets muxed (534376 bytes); [out#0/mp4 @ 0x56134722e0c0] Total: 2085 packets (534376 bytes) muxed [out#0/mp4 @ 0x56134722e0c0] video:0KiB audio:522KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: 1.716207% frame= 0 fps=0.0 q=0.0 Lsize= 531KiB time=N/A bitrate=N/A speed=N/A [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 0x56134722be40] Input file #0 (/data/library/admin/2026/2026-02-02/VID_20260202_221259353.mp4): [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 0x56134722be40] Input stream #0:0 (video): 31 packets read (660518 bytes); 4 frames decoded; 0 decode errors; [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 0x56134722be40] Input stream #0:1 (audio): 2085 packets read (534376 bytes); [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 0x56134722be40] Total: 2116 packets (1194894 bytes) demuxed [AVIOContext @ 0x561347234ec0] Statistics: 114863848 bytes read, 179 seeks Conversion failed! [Nest] 7 - 02/27/2026, 7:04:37 PM ERROR [Microservices:MediaService] Error occurred during transcoding: ffmpeg exited with code 251: Conversion failed! [Nest] 7 - 02/27/2026, 7:04:37 PM ERROR [Microservices:MediaService] Retrying with VAAPI acceleration disabled [Nest] 540 - 02/27/2026, 7:05:03 PM LOG [Api:WebsocketRepository] Websocket Disconnect: UEMoSSDNSpdm0nljAAAL [Nest] 540 - 02/27/2026, 7:05:04 PM LOG [Api:WebsocketRepository] Websocket Connect: ByWhKBmuZjGmjCOPAAAN [Nest] 7 - 02/27/2026, 7:05:04 PM LOG [Microservices:MediaService] Successfully encoded 5876f78e-ee24-4616-95e1-009613b0c54a [Nest] 7 - 02/27/2026, 7:05:04 PM LOG [Microservices:MediaService] Transcoded video exists for asset 0d8c5e04-5c89-46ea-8f0d-52db0936038a, but is no longer required. Deleting... [Nest] 7 - 02/27/2026, 7:05:05 PM LOG [Microservices:MediaService] Transcoded video exists for asset bd35cd3a-0d94-47d8-a908-2697dacb0a7c, but is no longer required. Deleting... [Nest] 7 - 02/27/2026, 7:05:05 PM LOG [Microservices:MediaService] Transcoded video exists for asset 0e78cb02-f4bd-43cd-94cd-e3a81634e773, but is no longer required. Deleting... [Nest] 7 - 02/27/2026, 7:05:06 PM LOG [Microservices:MediaService] Transcoding video daf39dd3-5a83-417c-b8a6-618c87feb652 with VAAPI-accelerated encoding and software decoding [Nest] 7 - 02/27/2026, 7:05:08 PM ERROR [Microservices:MediaRepository] [AVHWDeviceContext @ 0x55b10fb849c0] Driver not found in known nonstandard list, using standard behaviour. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b10fcc9780] st: 0 edit list: 1 Missing key frame while searching for timestamp: 1332 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b10fcc9780] st: 0 edit list 1 Cannot find an index entry before timestamp: 1332. Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/data/library/admin/2026/2026-01-27/VID_20260127_205540127.mp4': Metadata: major_brand : mp42 minor_version : 0 compatible_brands: isommp42 creation_time : 2026-01-28T01:56:41.000000Z location : +43.8797-070.0726/ location-eng : +43.8797-070.0726/ com.android.version: 16 com.android.manufacturer: Nothing com.android.model: Nothing Phone (3a) Pro Duration: 00:00:59.19, start: 0.000000, bitrate: 21367 kb/s Stream #0:0[0x1](eng): Video: hevc (Main), 1 reference frame (hvc1 / 0x31637668), yuvj420p(pc, bt470bg/bt470bg/smpte170m, left), 1920x1080, 21216 kb/s, 60.01 fps, 60 tbr, 90k tbn (default) Metadata: creation_time : 2026-01-28T01:56:41.000000Z handler_name : VideoHandle vendor_id : [0][0][0][0] Side data: displaymatrix: rotation of 90.00 degrees Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 96 kb/s (default) Metadata: creation_time : 2026-01-28T01:56:41.000000Z handler_name : SoundHandle vendor_id : [0][0][0][0] [out#0/mp4 @ 0x55b10fce6600] Adding streams from explicit maps... [vost#0:0/h264_vaapi @ 0x55b10fd0ee80] Created video stream from input stream 0:0 [aost#0:1/copy @ 0x55b10fce0a40] Created audio stream from input stream 0:1 Stream mapping: Stream #0:0 -> #0:0 (hevc (native) -> h264 (h264_vaapi)) Stream #0:1 -> #0:1 (copy) [vost#0:0/h264_vaapi @ 0x55b10fd0ee80] Starting thread... [vf#0:0 @ 0x55b10fce73c0] Starting thread... [vist#0:0/hevc @ 0x55b10fd15e40] [dec:hevc @ 0x55b10fd10e80] Starting thread... [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b10fcc8e40] Starting thread... Press [q] to stop, [?] for help [graph -1 input from stream 0:0 @ 0x7fbaec003c80] w:1920 h:1080 pixfmt:yuvj420p tb:1/90000 fr:60/1 sar:0/1 csp:bt470bg range:pc [auto_scale_0 @ 0x7fbaec0064c0] w:iw h:ih flags:'' interl:0 [transpose @ 0x7fbaec004380] auto-inserting filter 'auto_scale_0' between the filter 'graph -1 input from stream 0:0' and the filter 'transpose' [swscaler @ 0x7fbaec014480] deprecated pixel format used, make sure you did set range correctly [auto_scale_0 @ 0x7fbaec0064c0] w:1920 h:1080 fmt:yuvj420p csp:bt470bg range:pc sar:0/1 -> w:1920 h:1080 fmt:yuv420p csp:bt470bg range:pc sar:0/1 flags:0x00000004 [auto_scale_0 @ 0x7fbaec0064c0] [framesync @ 0x7fbaec0065e8] Selected 1/90000 time base [auto_scale_0 @ 0x7fbaec0064c0] [framesync @ 0x7fbaec0065e8] Sync level 1 [transpose @ 0x7fbaec004380] w:1920 h:1080 dir:2 -> w:1080 h:1920 rotation:counterclockwise vflip:0 [graph -1 input from stream 0:0 @ 0x7fbaec003c80] video frame properties congruent with link at pts_time: 0 [h264_vaapi @ 0x55b10fcd0b00] Using input frames context (format vaapi) with h264_vaapi encoder. [h264_vaapi @ 0x55b10fcd0b00] Input surface format is yuv420p. [h264_vaapi @ 0x55b10fcd0b00] Using VAAPI profile VAProfileH264High (7). [h264_vaapi @ 0x55b10fcd0b00] Using VAAPI entrypoint VAEntrypointEncSlice (6). [h264_vaapi @ 0x55b10fcd0b00] Using VAAPI render target format YUV420 (0x1). [h264_vaapi @ 0x55b10fcd0b00] RC mode: CQP. [h264_vaapi @ 0x55b10fcd0b00] Block Level bitrate control: OFF. [h264_vaapi @ 0x55b10fcd0b00] RC quality: 31. [h264_vaapi @ 0x55b10fcd0b00] RC framerate: 60/1 (60.00 fps). [h264_vaapi @ 0x55b10fcd0b00] Driver does not report any additional prediction constraints. [h264_vaapi @ 0x55b10fcd0b00] Using intra, P- and B-frames (supported references: 1 / 1). [h264_vaapi @ 0x55b10fcd0b00] All wanted packed headers available (wanted 0xd, found 0x1f). [h264_vaapi @ 0x55b10fcd0b00] Using level 4.2. Output #0, mp4, to '/data/encoded-video/50c54b01-b9c3-4764-ba75-e1a154e90376/da/f3/daf39dd3-5a83-417c-b8a6-618c87feb652.mp4': Metadata: encoder : Lavf61.7.100 Stream #0:0: Video: h264 (High), 1 reference frame (avc1 / 0x31637661), vaapi(pc, bt470bg/bt470bg/smpte170m, progressive, left), 1080x1920, q=2-31, 60 fps, 15360 tbn (default) Metadata: encoder : Lavc61.19.101 h264_vaapi Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 96 kb/s (default) [out#0/mp4 @ 0x55b10fce6600] Starting thread... [h264_vaapi @ 0x55b10fcd0b00] Failed to end picture encode issue: 6 (invalid VASurfaceID). [h264_vaapi @ 0x55b10fcd0b00] Encode failed: -5. [vost#0:0/h264_vaapi @ 0x55b10fd0ee80] Error submitting video frame to the encoder [vost#0:0/h264_vaapi @ 0x55b10fd0ee80] Error encoding a frame: Input/output error [vost#0:0/h264_vaapi @ 0x55b10fd0ee80] Task finished with error code: -5 (Input/output error) [vost#0:0/h264_vaapi @ 0x55b10fd0ee80] Terminating thread with return code -5 (Input/output error) [vf#0:0 @ 0x55b10fce73c0] All consumers returned EOF [vf#0:0 @ 0x55b10fce73c0] Terminating thread with return code 0 (success) [vist#0:0/hevc @ 0x55b10fd15e40] [dec:hevc @ 0x55b10fd10e80] Decoder returned EOF, finishing [vist#0:0/hevc @ 0x55b10fd15e40] [dec:hevc @ 0x55b10fd10e80] Terminating thread with return code 0 (success) [vist#0:0/hevc @ 0x55b10fd15e40] All consumers of this stream are done [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b10fcc8e40] EOF while reading input [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b10fcc8e40] Terminating thread with return code 0 (success) [out#0/mp4 @ 0x55b10fce6600] All streams finished [out#0/mp4 @ 0x55b10fce6600] Terminating thread with return code 0 (success) [mp4 @ 0x55b10fd0e900] Starting second pass: moving the moov atom to the beginning of the file [AVIOContext @ 0x55b10fd33a00] Statistics: 710640 bytes read, 0 seeks [AVIOContext @ 0x55b110a0c780] Statistics: 1433119 bytes written, 4 seeks, 9 writeouts [out#0/mp4 @ 0x55b10fce6600] Output file #0 (/data/encoded-video/50c54b01-b9c3-4764-ba75-e1a154e90376/da/f3/daf39dd3-5a83-417c-b8a6-618c87feb652.mp4): [out#0/mp4 @ 0x55b10fce6600] Output stream #0:0 (video): 2 frames encoded; 0 packets muxed (0 bytes); [out#0/mp4 @ 0x55b10fce6600] Output stream #0:1 (audio): 2774 packets muxed (710592 bytes); [out#0/mp4 @ 0x55b10fce6600] Total: 2774 packets (710592 bytes) muxed [out#0/mp4 @ 0x55b10fce6600] video:0KiB audio:694KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: 1.676771% frame= 0 fps=0.0 q=0.0 Lsize= 706KiB time=N/A bitrate=N/A speed=N/A [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b10fcc8e40] Input file #0 (/data/library/admin/2026/2026-01-27/VID_20260127_205540127.mp4): [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b10fcc8e40] Input stream #0:0 (video): 31 packets read (1527970 bytes); 4 frames decoded; 0 decode errors; [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b10fcc8e40] Input stream #0:1 (audio): 2774 packets read (710592 bytes); [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b10fcc8e40] Total: 2805 packets (2238562 bytes) demuxed [AVIOContext @ 0x55b10fcd1ec0] Statistics: 166541077 bytes read, 366 seeks Conversion failed! [Nest] 7 - 02/27/2026, 7:05:08 PM ERROR [Microservices:MediaService] Error occurred during transcoding: ffmpeg exited with code 251: Conversion failed! [Nest] 7 - 02/27/2026, 7:05:08 PM ERROR [Microservices:MediaService] Retrying with VAAPI acceleration disabled [Nest] 7 - 02/27/2026, 7:05:29 PM LOG [Microservices:MediaService] Successfully encoded 48743fa8-19a0-4e60-9a43-01b8424c8a8c [Nest] 7 - 02/27/2026, 7:05:30 PM LOG [Microservices:MediaService] Transcoded video exists for asset 52b17fd5-e202-442f-85f9-fe65f07cd39a, but is no longer required. Deleting... [Nest] 7 - 02/27/2026, 7:05:30 PM LOG [Microservices:MediaService] Transcoding video 41726ad5-a0ab-4c49-adbe-47045f052a13 with VAAPI-accelerated encoding and software decoding [Nest] 7 - 02/27/2026, 7:05:31 PM ERROR [Microservices:MediaRepository] libswresample 5. 3.100 / 5. 3.100 libpostproc 58. 3.100 / 58. 3.100 [AVHWDeviceContext @ 0x56017404f9c0] libva: VA-API version 1.22.0 [AVHWDeviceContext @ 0x56017404f9c0] libva: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/radeonsi_drv_video.so [AVHWDeviceContext @ 0x56017404f9c0] libva: Found init function __vaDriverInit_1_22 amdgpu: os_same_file_description couldn't determine if two DRM fds reference the same file description. If they do, bad things may happen! [AVHWDeviceContext @ 0x56017404f9c0] libva: va_openDriver() returns 0 [AVHWDeviceContext @ 0x56017404f9c0] Initialised VAAPI connection: version 1.22 [AVHWDeviceContext @ 0x56017404f9c0] VAAPI driver: Mesa Gallium driver 25.0.7 for AMD Radeon RX 7900 XTX (radeonsi, navi31, ACO, DRM 3.64, 6.19.4-2-cachyos). [AVHWDeviceContext @ 0x56017404f9c0] Driver not found in known nonstandard list, using standard behaviour. [aac @ 0x56017419c280] Treating HE-AAC mono as stereo. Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/data/library/admin/2025/2025-10-17/Hottest Girl Loves Me.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2mp41 title : Video by tmtangelo artist : Angelo Padilla date : 20250617 encoder : Lavf61.7.100 comment : https://www.instagram.com/reel/DLAaveggmQF/ description : The cutest #girlfriend #funny #reelviral synopsis : The cutest #girlfriend #funny #reelviral Duration: 00:00:07.47, start: 0.000000, bitrate: 296 kb/s Stream #0:0[0x1](und): Video: vp9 (Profile 0), 1 reference frame (vp09 / 0x39307076), yuv420p(tv, bt709), 720x1280, 249 kb/s, 30 fps, 30 tbr, 15360 tbn (default) Metadata: handler_name : VideoHandler vendor_id : [0][0][0][0] encoder : VPC Coding Stream #0:1[0x2](und): Audio: aac (HE-AAC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 40 kb/s (default) Metadata: handler_name : SoundHandler vendor_id : [0][0][0][0] [out#0/mp4 @ 0x5601741985c0] Adding streams from explicit maps... [vost#0:0/h264_vaapi @ 0x56017419ad00] Created video stream from input stream 0:0 [aost#0:1/copy @ 0x560174199ac0] Created audio stream from input stream 0:1 Stream mapping: Stream #0:0 -> #0:0 (vp9 (native) -> h264 (h264_vaapi)) Stream #0:1 -> #0:1 (copy) [vost#0:0/h264_vaapi @ 0x56017419ad00] Starting thread... [vf#0:0 @ 0x56017419b880] Starting thread... [vist#0:0/vp9 @ 0x5601741ef1c0] [dec:vp9 @ 0x5601741bb640] Starting thread... [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 0x560174193e80] Starting thread... Press [q] to stop, [?] for help [graph -1 input from stream 0:0 @ 0x7ff764003c80] w:720 h:1280 pixfmt:yuv420p tb:1/15360 fr:30/1 sar:0/1 csp:bt709 range:tv [graph -1 input from stream 0:0 @ 0x7ff764003c80] video frame properties congruent with link at pts_time: 0 [h264_vaapi @ 0x56017419c280] Using input frames context (format vaapi) with h264_vaapi encoder. [h264_vaapi @ 0x56017419c280] Input surface format is yuv420p. [h264_vaapi @ 0x56017419c280] Using VAAPI profile VAProfileH264High (7). [h264_vaapi @ 0x56017419c280] Using VAAPI entrypoint VAEntrypointEncSlice (6). [h264_vaapi @ 0x56017419c280] Using VAAPI render target format YUV420 (0x1). [h264_vaapi @ 0x56017419c280] RC mode: CQP. [h264_vaapi @ 0x56017419c280] Block Level bitrate control: OFF. [h264_vaapi @ 0x56017419c280] RC quality: 31. [h264_vaapi @ 0x56017419c280] RC framerate: 30/1 (30.00 fps). [h264_vaapi @ 0x56017419c280] Driver does not report any additional prediction constraints. [h264_vaapi @ 0x56017419c280] Using intra, P- and B-frames (supported references: 1 / 1). [h264_vaapi @ 0x56017419c280] All wanted packed headers available (wanted 0xd, found 0x1f). [h264_vaapi @ 0x56017419c280] Using level 3.1. Output #0, mp4, to '/data/encoded-video/50c54b01-b9c3-4764-ba75-e1a154e90376/41/72/41726ad5-a0ab-4c49-adbe-47045f052a13.mp4': Metadata: encoder : Lavf61.7.100 Stream #0:0: Video: h264 (High), 1 reference frame (avc1 / 0x31637661), vaapi(tv, bt709, progressive), 720x1280, q=2-31, 30 fps, 15360 tbn (default) Metadata: encoder : Lavc61.19.101 h264_vaapi Stream #0:1: Audio: aac (HE-AAC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 40 kb/s (default) [out#0/mp4 @ 0x5601741985c0] Starting thread... [h264_vaapi @ 0x56017419c280] Failed to end picture encode issue: 6 (invalid VASurfaceID). [h264_vaapi @ 0x56017419c280] Encode failed: -5. [vost#0:0/h264_vaapi @ 0x56017419ad00] Error submitting video frame to the encoder [vost#0:0/h264_vaapi @ 0x56017419ad00] Error encoding a frame: Input/output error [vost#0:0/h264_vaapi @ 0x56017419ad00] Task finished with error code: -5 (Input/output error) [vost#0:0/h264_vaapi @ 0x56017419ad00] Terminating thread with return code -5 (Input/output error) [vf#0:0 @ 0x56017419b880] All consumers returned EOF [vf#0:0 @ 0x56017419b880] Terminating thread with return code 0 (success) [vist#0:0/vp9 @ 0x5601741ef1c0] [dec:vp9 @ 0x5601741bb640] Decoder returned EOF, finishing [vist#0:0/vp9 @ 0x5601741ef1c0] [dec:vp9 @ 0x5601741bb640] Terminating thread with return code 0 (success) [vist#0:0/vp9 @ 0x5601741ef1c0] All consumers of this stream are done [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 0x560174193e80] EOF while reading input [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 0x560174193e80] Terminating thread with return code 0 (success) [out#0/mp4 @ 0x5601741985c0] All streams finished [out#0/mp4 @ 0x5601741985c0] Terminating thread with return code 0 (success) [mp4 @ 0x56017419a900] Starting second pass: moving the moov atom to the beginning of the file [AVIOContext @ 0x7ff754009ec0] Statistics: 38084 bytes read, 0 seeks [AVIOContext @ 0x5601741f0500] Statistics: 77561 bytes written, 4 seeks, 5 writeouts [out#0/mp4 @ 0x5601741985c0] Output file #0 (/data/encoded-video/50c54b01-b9c3-4764-ba75-e1a154e90376/41/72/41726ad5-a0ab-4c49-adbe-47045f052a13.mp4): [out#0/mp4 @ 0x5601741985c0] Output stream #0:0 (video): 2 frames encoded; 0 packets muxed (0 bytes); [out#0/mp4 @ 0x5601741985c0] Output stream #0:1 (audio): 160 packets muxed (38036 bytes); [out#0/mp4 @ 0x5601741985c0] Total: 160 packets (38036 bytes) muxed [out#0/mp4 @ 0x5601741985c0] video:0KiB audio:37KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: 3.862131% frame= 0 fps=0.0 q=0.0 Lsize= 39KiB time=N/A bitrate=N/A speed=N/A [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 0x560174193e80] Input file #0 (/data/library/admin/2025/2025-10-17/Hottest Girl Loves Me.mp4): [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 0x560174193e80] Input stream #0:0 (video): 28 packets read (52654 bytes); 5 frames decoded; 0 decode errors; [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 0x560174193e80] Input stream #0:1 (audio): 160 packets read (38036 bytes); [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 0x560174193e80] Total: 188 packets (90690 bytes) demuxed [AVIOContext @ 0x56017419cf00] Statistics: 276986 bytes read, 0 seeks Conversion failed! [Nest] 7 - 02/27/2026, 7:05:31 PM ERROR [Microservices:MediaService] Error occurred during transcoding: ffmpeg exited with code 251: Conversion failed! [Nest] 7 - 02/27/2026, 7:05:31 PM ERROR [Microservices:MediaService] Retrying with VAAPI acceleration disabled [Nest] 7 - 02/27/2026, 7:05:32 PM LOG [Microservices:MediaService] Successfully encoded 41726ad5-a0ab-4c49-adbe-47045f052a13 [Nest] 7 - 02/27/2026, 7:05:32 PM LOG [Microservices:MediaService] Transcoded video exists for asset 9f27f374-01e5-424b-84d9-6cbd20b45442, but is no longer required. Deleting... [Nest] 7 - 02/27/2026, 7:05:32 PM LOG [Microservices:MediaService] Transcoding video 1b3c6543-a960-46d1-8c42-874d69c02f01 with VAAPI-accelerated encoding and software decoding [Nest] 7 - 02/27/2026, 7:05:34 PM ERROR [Microservices:MediaRepository] [AVHWDeviceContext @ 0x564a2197c9c0] Initialised VAAPI connection: version 1.22 [AVHWDeviceContext @ 0x564a2197c9c0] VAAPI driver: Mesa Gallium driver 25.0.7 for AMD Radeon RX 7900 XTX (radeonsi, navi31, ACO, DRM 3.64, 6.19.4-2-cachyos). [AVHWDeviceContext @ 0x564a2197c9c0] Driver not found in known nonstandard list, using standard behaviour. Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/data/library/admin/2026/2026-01-29/VID_20260129_100216151.mp4': Metadata: major_brand : mp42 minor_version : 0 compatible_brands: isommp42 creation_time : 2026-01-29T15:02:44.000000Z location : +43.8797-070.0725/ location-eng : +43.8797-070.0725/ com.android.version: 16 com.android.manufacturer: Nothing com.android.model: Nothing Phone (3a) Pro Duration: 00:00:27.58, start: 0.000000, bitrate: 21497 kb/s Stream #0:0[0x1](eng): Video: hevc (Main), 1 reference frame (hvc1 / 0x31637668), yuvj420p(pc, bt470bg/bt470bg/smpte170m, left), 1920x1080, 21283 kb/s, 60.12 fps, 60 tbr, 90k tbn (default) Metadata: creation_time : 2026-01-29T15:02:44.000000Z handler_name : VideoHandle vendor_id : [0][0][0][0] Side data: displaymatrix: rotation of -90.00 degrees Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 96 kb/s (default) Metadata: creation_time : 2026-01-29T15:02:44.000000Z handler_name : SoundHandle vendor_id : [0][0][0][0] [out#0/mp4 @ 0x564a21ac6940] Adding streams from explicit maps... [vost#0:0/h264_vaapi @ 0x564a21b14e00] Created video stream from input stream 0:0 [aost#0:1/copy @ 0x564a21b13b40] Created audio stream from input stream 0:1 Stream mapping: Stream #0:0 -> #0:0 (hevc (native) -> h264 (h264_vaapi)) Stream #0:1 -> #0:1 (copy) [vost#0:0/h264_vaapi @ 0x564a21b14e00] Starting thread... [vf#0:0 @ 0x564a21b14d00] Starting thread... [vist#0:0/hevc @ 0x564a21b14880] [dec:hevc @ 0x564a21ae71c0] Starting thread... [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 0x564a21ac0e40] Starting thread... Press [q] to stop, [?] for help [graph -1 input from stream 0:0 @ 0x7f0914003c80] w:1920 h:1080 pixfmt:yuvj420p tb:1/90000 fr:60/1 sar:0/1 csp:bt470bg range:pc [auto_scale_0 @ 0x7f09140064c0] w:iw h:ih flags:'' interl:0 [transpose @ 0x7f0914004380] auto-inserting filter 'auto_scale_0' between the filter 'graph -1 input from stream 0:0' and the filter 'transpose' [swscaler @ 0x7f0914014480] deprecated pixel format used, make sure you did set range correctly [auto_scale_0 @ 0x7f09140064c0] w:1920 h:1080 fmt:yuvj420p csp:bt470bg range:pc sar:0/1 -> w:1920 h:1080 fmt:yuv420p csp:bt470bg range:pc sar:0/1 flags:0x00000004 [auto_scale_0 @ 0x7f09140064c0] [framesync @ 0x7f09140065e8] Selected 1/90000 time base [auto_scale_0 @ 0x7f09140064c0] [framesync @ 0x7f09140065e8] Sync level 1 [transpose @ 0x7f0914004380] w:1920 h:1080 dir:1 -> w:1080 h:1920 rotation:clockwise vflip:0 [graph -1 input from stream 0:0 @ 0x7f0914003c80] video frame properties congruent with link at pts_time: 0 [h264_vaapi @ 0x564a21ac46c0] Using input frames context (format vaapi) with h264_vaapi encoder. [h264_vaapi @ 0x564a21ac46c0] Input surface format is yuv420p. [h264_vaapi @ 0x564a21ac46c0] Using VAAPI profile VAProfileH264High (7). [h264_vaapi @ 0x564a21ac46c0] Using VAAPI entrypoint VAEntrypointEncSlice (6). [h264_vaapi @ 0x564a21ac46c0] Using VAAPI render target format YUV420 (0x1). [h264_vaapi @ 0x564a21ac46c0] RC mode: CQP. [h264_vaapi @ 0x564a21ac46c0] Block Level bitrate control: OFF. [h264_vaapi @ 0x564a21ac46c0] RC quality: 31. [h264_vaapi @ 0x564a21ac46c0] RC framerate: 60/1 (60.00 fps). [h264_vaapi @ 0x564a21ac46c0] Driver does not report any additional prediction constraints. [h264_vaapi @ 0x564a21ac46c0] Using intra, P- and B-frames (supported references: 1 / 1). [h264_vaapi @ 0x564a21ac46c0] All wanted packed headers available (wanted 0xd, found 0x1f). [h264_vaapi @ 0x564a21ac46c0] Using level 4.2. Output #0, mp4, to '/data/encoded-video/50c54b01-b9c3-4764-ba75-e1a154e90376/1b/3c/1b3c6543-a960-46d1-8c42-874d69c02f01.mp4': Metadata: encoder : Lavf61.7.100 Stream #0:0: Video: h264 (High), 1 reference frame (avc1 / 0x31637661), vaapi(pc, bt470bg/bt470bg/smpte170m, progressive, left), 1080x1920, q=2-31, 60 fps, 15360 tbn (default) Metadata: encoder : Lavc61.19.101 h264_vaapi Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 96 kb/s (default) [out#0/mp4 @ 0x564a21ac6940] Starting thread... [h264_vaapi @ 0x564a21ac46c0] Failed to end picture encode issue: 6 (invalid VASurfaceID). [h264_vaapi @ 0x564a21ac46c0] Encode failed: -5. [vost#0:0/h264_vaapi @ 0x564a21b14e00] Error submitting video frame to the encoder [vost#0:0/h264_vaapi @ 0x564a21b14e00] Error encoding a frame: Input/output error [vost#0:0/h264_vaapi @ 0x564a21b14e00] Task finished with error code: -5 (Input/output error) [vost#0:0/h264_vaapi @ 0x564a21b14e00] Terminating thread with return code -5 (Input/output error) [vf#0:0 @ 0x564a21b14d00] All consumers returned EOF [vf#0:0 @ 0x564a21b14d00] Terminating thread with return code 0 (success) [vist#0:0/hevc @ 0x564a21b14880] [dec:hevc @ 0x564a21ae71c0] Decoder returned EOF, finishing [vist#0:0/hevc @ 0x564a21b14880] [dec:hevc @ 0x564a21ae71c0] Terminating thread with return code 0 (success) [vist#0:0/hevc @ 0x564a21b14880] All consumers of this stream are done [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 0x564a21ac0e40] EOF while reading input [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 0x564a21ac0e40] Terminating thread with return code 0 (success) [out#0/mp4 @ 0x564a21ac6940] All streams finished [out#0/mp4 @ 0x564a21ac6940] Terminating thread with return code 0 (success) [mp4 @ 0x564a21b15b80] Starting second pass: moving the moov atom to the beginning of the file [AVIOContext @ 0x7f090c068200] Statistics: 331521 bytes read, 0 seeks [AVIOContext @ 0x564a228d7880] Statistics: 668973 bytes written, 4 seeks, 7 writeouts [out#0/mp4 @ 0x564a21ac6940] Output file #0 (/data/encoded-video/50c54b01-b9c3-4764-ba75-e1a154e90376/1b/3c/1b3c6543-a960-46d1-8c42-874d69c02f01.mp4): [out#0/mp4 @ 0x564a21ac6940] Output stream #0:0 (video): 2 frames encoded; 0 packets muxed (0 bytes); [out#0/mp4 @ 0x564a21ac6940] Output stream #0:1 (audio): 1292 packets muxed (331473 bytes); [out#0/mp4 @ 0x564a21ac6940] Total: 1292 packets (331473 bytes) muxed [out#0/mp4 @ 0x564a21ac6940] video:0KiB audio:324KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: 1.812214% frame= 0 fps=0.0 q=0.0 Lsize= 330KiB time=N/A bitrate=N/A speed=N/A [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 0x564a21ac0e40] Input file #0 (/data/library/admin/2026/2026-01-29/VID_20260129_100216151.mp4): [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 0x564a21ac0e40] Input stream #0:0 (video): 31 packets read (1381117 bytes); 4 frames decoded; 0 decode errors; [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 0x564a21ac0e40] Input stream #0:1 (audio): 1292 packets read (331473 bytes); [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 0x564a21ac0e40] Total: 1323 packets (1712590 bytes) demuxed [AVIOContext @ 0x564a21ac9ec0] Statistics: 74130045 bytes read, 22 seeks Conversion failed!