ffmpeg-tutorials icon indicating copy to clipboard operation
ffmpeg-tutorials copied to clipboard

Examples and tutorials for FFmpeg

Results 3 ffmpeg-tutorials issues
Sort by recently updated
recently updated
newest added

av_hwdevice_ctx_create(&capture_hw_device_ctx, AV_HWDEVICE_TYPE_D3D11VA, nullptr, nullptr, 0) 上述代码在只有AMD集显的电脑上返回错误,值为:-1313558101 使用av_strerror转为文本:Unknown error occurred。

我正在使用 ffmpeg 将视频读取接入深度学习的工具链条。 我想实现的等效的代码如下: > ffmpeg -loglevel warning -hwaccel cuda -hwaccel_device 0 -vcodec h264_cuvid -resize 640x480 -i "/home/lchenxf/ml-project/sample_720p.mp4" -pix_fmt rgb24 -f rawvideo pipe: 看到您的教程中,有关于 `hwaccel cuda`的编码和解码示例,比较基础。实际应用中,我还要给解码器的传递配置参数。例如 `-resize 640x480` ,这是利用NVENC实现的图像缩放,实测比CPU版本的 vfilter...

'07_audio_player'有两个bug (1) 播放mp3文件,内存一直在增长 (2) 音频文件没有播放完,就自动退出了 退出后,控制台打印 ![wechat_2025-01-14_153252_251](https://github.com/user-attachments/assets/65918721-d7be-4145-a139-3498e27d84ea) 下面是测试的音频文件 [王睿卓-茶花开了.zip](https://github.com/user-attachments/files/18406934/-.zip)

bug