Comments (2)
@mcerveny I managed to find a ffmpeg command that can be used to reproduce the problem. And your patch did fix it.
It seems that ffmpeg is not expecting codec->encode()
to return EAGAIN while the encoder is draining/at eof (!frame)
. So what you added makes sense.
ffmpeg -init_hw_device rkmpp \
-f lavfi -i color=c=cyan:s=1920x1080:d=4:r=25,format=nv12 \
-f lavfi -i testsrc2=s=960x540:d=4:r=25,format=bgra \
-lavfi "[0:v]hwupload[main];[1:v]hwupload[over];[main][over]overlay_rkrga=format=nv12:afbc=1:eof_action=repeat:repeatlast=1,scale_rkrga=w=1280:h=720:afbc=1" \
-c:v h264_rkmpp -v debug -y /tmp/100frames.mp4
from ffmpeg-rockchip.
Closed by 7a0200b
from ffmpeg-rockchip.
Related Issues (20)
- Using with Photoprism HOT 1
- use scale_rkrga filter error in rk3588(ubuntu22.02 desktop) HOT 2
- Questions about cross-compilation HOT 7
- use filter scale_rkrga failed in rk3588(ubuntu22.02 desktop) HOT 1
- 使用av_read_frame进行rtsp拉流阻塞的问题 HOT 2
- crashes - various errors HOT 4
- Compile into static form HOT 1
- Error native compilation in Armbian 5.10.160-legacy-rk35xx HOT 1
- 当摄像头设备分辨率为1920x1080时,tbr帧率识别错误? HOT 1
- undefined reference to ff_h264_* HOT 4
- Segmentation fault: mpp_buffer_group_init HOT 7
- The problem of Chinese garbled code in drawtext HOT 1
- 当前支持rk3528处理器吗? HOT 3
- SIG11 when running ffmpeg HOT 4
- How to get buffer from drm_prime? HOT 3
- h264_rkmpp 接收 rawvideo 灰度图数据失败。Failed to get key input frame from packet meta: -1 HOT 2
- RK3588测速问题 HOT 2
- (Cannot open video device /dev/video0: No such device) HOT 12
- The encoder of rkmpp is not working HOT 2
- segfault with h,264 encode HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ffmpeg-rockchip.