-
Notifications
You must be signed in to change notification settings - Fork 750
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
Can't translate ffmpeg command into javacv #538
Comments
If you're facing any issues in particular, please also provide the error message you get! Thanks |
I'm sorry. I can use FfmpegFrameRecorder.setVideoCodecName(“h264_qsv”) to specify encoder, |
We will need to add calls to Please let me know if you are having issues making the modifications and I will help! Thanks |
It's great.Thanks! |
Are you having any issues making the modifications yourself? |
The instance of AVCodec can be find by the method AvCodec.avcodec_find_decoder_by_name(),but I don't know how to use this instance,the method grabber.setVideoCodec only need int. |
Right, so we need to add |
After I modified the code, the decoder do not work correctly: |
Me neither, someone will need to read documentation, study the code, ask the developers of FFmpeg, etc... |
grabber.setPixelFormat(avutil.AV_PIX_FMT_YUV420P); |
You'll needto use something that supports that pixel format for display to see the colors. |
Hi: |
That's great! Could please send a pull request instead? Thank you! |
Thanks for pull bytedeco/javacv#948! |
BTW, if the |
I can run under command successfuly:
ffmpeg -hwaccel qsv -c:v h264_qsv -rtsp_transport tcp -i rtsp://admin:[email protected] -f flv -vcodec h264_qsv rtmp://193.169.100.222/live/stream1
what to do translate it into javacv ?
The text was updated successfully, but these errors were encountered: