-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I wanna change default encode flag libx264 to h264_qsv so it can use my graphics to help acceleration,but it doesn’t make sense #526
Comments
Thank you,i try it and it does make sense,but i think it is an input option ,the output option is still -c:v libx264.And i found the output option is controlled by the line 583 in the /object/Format.php,i tried to change it to h264_qsv and failed,which i have no idea. |
Yes,i tried to change all libx264 and h264 to h264_qsv but it still reamin unchange -c:v libx264. |
can you paste here a ffmpeg command from your encoder log? |
Yes,below is my log printed when i try to encode my videos. |
/usr/bin/ffmpeg -hwaccel qsv -i "/var/www/html/AVideo/Encoder/videos/80_tmpFile.mp4" -c:v libx264 -movflags faststart -y /var/www/html/AVideo/Encoder/videos/avideoTmpFile_80_streamers_id_2_360.mp4 Hi as I can see you should change the 'Dynamic MP4' and it should work |
Edit and change it. that is the line that is used to build the ffmpeg command |
I wanna change default encode flag libx264 to h264_qsv so it can use my graphics to help acceleration,but it doesn’t make sense,I can’t find the reason , my h264_qsv flag is good to use directly in the termianal but can not be used in a video-encoder.Thanks.
The text was updated successfully, but these errors were encountered: