You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on my pet project which requires some video editing, i.e. filtering. At first, I was thinking about wrapping needed FFmpeg's functionality myself, but then I try out your library first. Unfortunately, I couldn't find any video filtering example, so I was trying to recreate FFmpeg's filtering_video.c example. Since I'm writing this issue you may've guessed that I've miserably failed. I've tried to apply two filters:
Just a dummy null filter. As a result I get the same video but with the first second missing.
trim filter. I trim 5 seconds from 10-second video and as a result I get a very slow 60-second video. I figured that I have some time_base problems, but it's very confusing since I'm new to FFmpeg. Then I've noticed that output packets don't have pts and dts set and when I set them manually I get a correct video, but I don't think it should be like that, right?
I was hoping that you could help me with that by providing a correct video filtering example or at least giving some insights on what I'm doing wrong.
@h4tr3d what is the situation with the filtering code? I have the feeling that it is in a roofing more or less finished, some minor construction remains state?
Hello there!
I'm working on my pet project which requires some video editing, i.e. filtering. At first, I was thinking about wrapping needed FFmpeg's functionality myself, but then I try out your library first. Unfortunately, I couldn't find any video filtering example, so I was trying to recreate FFmpeg's
filtering_video.c
example. Since I'm writing this issue you may've guessed that I've miserably failed. I've tried to apply two filters:null
filter. As a result I get the same video but with the first second missing.trim
filter. I trim 5 seconds from 10-second video and as a result I get a very slow 60-second video. I figured that I have sometime_base
problems, but it's very confusing since I'm new to FFmpeg. Then I've noticed that output packets don't havepts
anddts
set and when I set them manually I get a correct video, but I don't think it should be like that, right?I was hoping that you could help me with that by providing a correct video filtering example or at least giving some insights on what I'm doing wrong.
Here's my code.
FFmpeg
P.S. The video I'm using for tests I got from https://github.com/leandromoreira/ffmpeg-libav-tutorial using
fetch_bbb_video.sh
script.The text was updated successfully, but these errors were encountered: