mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 07:31:22 +01:00
rkmpp Convert to yuv422p10le #192
Labels
No labels
bug
enhancement
help wanted
invalid
pull-request
question
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: starred/ffmpeg-rockchip#192
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @zyKrip on GitHub (Jul 9, 2025).
/lib/jellyfin-ffmpeg/ffmpeg -init_hw_device rkmpp=rk -hwaccel rkmpp -hwaccel_output_format drm_prime -i "114-135736328_tiny.mp4" -vf "scale_rkrga=w=1920:h=1080:format=nv12:afbc=1,format=yuv422p10le" -c:v prores_ks -profile:v 0 -c:a copy "output.mov"
How to deal with it in the simplest way possible?
Impossible to convert between the formats supported by the filter 'Parsed_scale_rkrga_0' and the filter 'auto_scale_0'
[vf#0:0 @ 0x559304d500] Error reinitializing filters!
[vf#0:0 @ 0x559304d500] Task finished with error code: -38 (Function not implemented)
[vf#0:0 @ 0x559304d500] Terminating thread with return code -38 (Function not implemented)
[vost#0:0/prores_ks @ 0x559304d060] Could not open encoder before EOF
[vost#0:0/prores_ks @ 0x559304d060] Task finished with error code: -22 (Invalid argument)
[vost#0:0/prores_ks @ 0x559304d060] Terminating thread with return code -22 (Invalid argument)
[out#0/mov @ 0x55930535b0] Nothing was written into output file, because at least one of its streams received no packets.
@nyanmisaka commented on GitHub (Jul 9, 2025):
There is no support for
yuv422p10leon RGA hardware, so you can only disable AFBC inscale_rkrga, thenhwmaptonv12, and then use the CPU to convert it toyuv422p10le.@zyKrip commented on GitHub (Jul 9, 2025):
ffmpeg
-init_hw_device rkmpp=rk
-hwaccel rkmpp
-hwaccel_output_format drm_prime
-afbc rga
-i "114-135736328_tiny.mp4"
-vf "scale_rkrga=w=1920:h=1080:format=nv12:afbc=0,hwmap,format=yuv422p10le"
-c:v prores_ks
-profile:v 0
-b:v 2000k
"_tiny_0.mov"
it's right? but
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: mp42mp41isomavc1
creation_time : 2015-08-08T09:13:38.000000Z
Duration: 00:00:14.56, start: 0.000000, bitrate: 275 kb/s
Stream #0:00x1: Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p(progressive), 480x270 [SAR 1:1 DAR 16:9], 274 kb/s, 25 fps, 25 tbr, 25 tbn (default)
Metadata:
creation_time : 2015-08-08T09:13:38.000000Z
handler_name : L-SMASH Video Handler
vendor_id : [0][0][0][0]
encoder : AVC Coding
Stream mapping:
Stream #0:0 -> #0:0 (h264 (h264_rkmpp) -> prores (prores_ks))
Press [q] to stop, [?] for help
[Parsed_hwmap_1 @ 0x7f80002930] Failed to map frame: -38.
[vf#0:0 @ 0x559e1f9490] Error while filtering: Function not implemented
[vf#0:0 @ 0x559e1f9490] Task finished with error code: -38 (Function not implemented)
[vf#0:0 @ 0x559e1f9490] Terminating thread with return code -38 (Function not implemented)
[vost#0:0/prores_ks @ 0x559e1f9190] Could not open encoder before EOF
[vost#0:0/prores_ks @ 0x559e1f9190] Task finished with error code: -22 (Invalid argument)
[vost#0:0/prores_ks @ 0x559e1f9190] Terminating thread with return code -22 (Invalid argument)
[out#0/mov @ 0x559e1fa500] Nothing was written into output file, because at least one of its streams received no packets.
frame= 0 fps=0.0 q=0.0 Lsize= 0KiB time=N/A bitrate=N/A speed=N/A
Conversion failed!
@nyanmisaka commented on GitHub (Jul 9, 2025):
No.
hwmap,format=nv12,format=yuv422p10le@zyKrip commented on GitHub (Jul 10, 2025):
thanks bro