mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 07:31:22 +01:00
difference between h264_rkmpp and hevc_rkmpp #65
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#65
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 @ZH-1225 on GitHub (Jun 14, 2024).
./ffmpeg -i /home/pi/Videos/test_ffmpeg.mp4 -c:v hevc_rkmpp -c:a copy h264_rkmpp.mp4
./ffmpeg -i /home/pi/Videos/test_ffmpeg.mp4 -c:v hevc_rkmpp -c:a copy hevc_rkmpp.mp4
I used two commands to find that the generated MP4 files were about the same size
@j3dd4h commented on GitHub (Jun 14, 2024):
both using same encoder hevc_rkmpp (-c:v hevc_rkmpp )
@Tryanks commented on GitHub (Jun 14, 2024):
./ffmpeg -i /home/pi/Videos/test_ffmpeg.mp4 -c:v hevc_rkmpp -c:a copy h264_rkmpp.mp4
./ffmpeg -i /home/pi/Videos/test_ffmpeg.mp4 -c:v hevc_rkmpp -c:a copy hevc_rkmpp.mp4
@ZH-1225 commented on GitHub (Jun 14, 2024):
./ffmpeg -i /home/pi/Videos/test_ffmpeg.mp4 -c:v h264_rkmpp -c:a copy h264_rkmpp.mp4
./ffmpeg -i /home/pi/Videos/test_ffmpeg.mp4 -c:v hevc_rkmpp -c:a copy hevc_rkmpp.mp4
thanks!
@ZH-1225 commented on GitHub (Jun 14, 2024):
thanks!
@nyanmisaka commented on GitHub (Jun 14, 2024):
You have to set the bitrate or quality factor manually, otherwise the default bitrate of rkmpp encoders is 2000k.
9efe5bcff0/libavcodec/rkmppenc.h (L245)