Re: [FFmpeg-user] How to dynamically drop frames as required to keep transcoding real time?

2021-04-08 Thread Mark Filipak (ffmpeg)
On 2021-04-08 04:56, Nicolas George wrote: Adrian Cable (12021-04-08): Mark – yes – you’re understanding exactly right! I was thinking specifically of the encoder ‘throttle’ being a frame rate control, but other forms of quality control that could be self-adjusted by the encoder to keep up with

Re: [FFmpeg-user] -b:v option

2021-04-08 Thread Mar Andrés López
Sorry I would have to specify a bit more. I want to do this in order to generate a DASH content, one of the profiles sould have the original bitrate, and the other ones fixed values. As an example: ffmpeg -i bunny.mp4 -preset superfast -r 25 -vcodec libx264 -acodec aac -b:a 128k -ac 1 -ar

Re: [FFmpeg-user] -b:v option

2021-04-08 Thread Carl Eugen Hoyos
> Am 08.04.2021 um 12:45 schrieb Mar Andrés López : > > Is posible to specify bitrate option -b:v as the bitrate from the input? > instead of doing -b:v 300k is posible for example -b:v source, which would > output the bitrate from original video? No, technically this would make very little

[FFmpeg-user] -b:v option

2021-04-08 Thread Mar Andrés López
Dear all, Is posible to specify bitrate option -b:v as the bitrate from the input? instead of doing -b:v 300k is posible for example -b:v source, which would output the bitrate from original video? Aa lot of thanks. P Please consider the environment before printing this e-mail.

Re: [FFmpeg-user] Plotting Circles and labels on individual frames of a movie

2021-04-08 Thread Rainer M Krug
Thanks Michael - your book becomes even more valuable! > On 8 Apr 2021, at 11:12, Michael Koch wrote: > > Am 08.04.2021 um 11:10 schrieb Rainer M Krug: >> Hi Nicolas >> >>> On 8 Apr 2021, at 10:58, Nicolas George wrote: >>> >>> Rainer M Krug (12021-04-08): I have found “draw_text”

Re: [FFmpeg-user] Plotting Circles and labels on individual frames of a movie

2021-04-08 Thread Rainer M Krug
> On 8 Apr 2021, at 10:23, Michael Koch wrote: > > Am 08.04.2021 um 09:46 schrieb Rainer M Krug: >> Hi >> >> I have a series of videos of moving particles (multiple particles per frame >> / movie), and would like to add a circle around each particle and add a >> label. At the moment I am

Re: [FFmpeg-user] Plotting Circles and labels on individual frames of a movie

2021-04-08 Thread Michael Koch
Am 08.04.2021 um 11:10 schrieb Rainer M Krug: Hi Nicolas On 8 Apr 2021, at 10:58, Nicolas George wrote: Rainer M Krug (12021-04-08): I have found “draw_text” (https://ffmpeg.org/ffmpeg-filters.html#drawtext), but I have no idea how I could do this. We can assume that I have a text file with

Re: [FFmpeg-user] Plotting Circles and labels on individual frames of a movie

2021-04-08 Thread Rainer M Krug
Hi Nicolas > On 8 Apr 2021, at 10:58, Nicolas George wrote: > > Rainer M Krug (12021-04-08): >> I have found “draw_text” >> (https://ffmpeg.org/ffmpeg-filters.html#drawtext), but I have no idea >> how I could do this. We can assume that I have a text file with the >> following columns: >> >>

Re: [FFmpeg-user] Plotting Circles and labels on individual frames of a movie

2021-04-08 Thread Nicolas George
Rainer M Krug (12021-04-08): > I have found “draw_text” > (https://ffmpeg.org/ffmpeg-filters.html#drawtext), but I have no idea > how I could do this. We can assume that I have a text file with the > following columns: > > FRAME: the frame on which the labels and circle should be plotted > X:

Re: [FFmpeg-user] How to dynamically drop frames as required to keep transcoding real time?

2021-04-08 Thread Nicolas George
Adrian Cable (12021-04-08): > Mark – yes – you’re understanding exactly right! I was thinking > specifically of the encoder ‘throttle’ being a frame rate control, but > other forms of quality control that could be self-adjusted by the > encoder to keep up with the input would also work for me. >

Re: [FFmpeg-user] Plotting Circles and labels on individual frames of a movie

2021-04-08 Thread Michael Koch
Am 08.04.2021 um 09:46 schrieb Rainer M Krug: Hi I have a series of videos of moving particles (multiple particles per frame / movie), and would like to add a circle around each particle and add a label. At the moment I am using a script in R to plot, for each frame, these circles and labels

Re: [FFmpeg-user] Overlay images to frames in video

2021-04-08 Thread Rainer M Krug
Thanks a lot - these are the things I was afraid of missing. I will change it and use 'overlay=x=0:y=0’ for clarity. Rainer > On 8 Apr 2021, at 09:45, Michael Koch wrote: > > Am 08.04.2021 um 09:27 schrieb Rainer M Krug: >> ffmpeg -i ‘background_movie.avi' -i 'overlay.avi' -filter_complex

[FFmpeg-user] Plotting Circles and labels on individual frames of a movie

2021-04-08 Thread Rainer M Krug
Hi I have a series of videos of moving particles (multiple particles per frame / movie), and would like to add a circle around each particle and add a label. At the moment I am using a script in R to plot, for each frame, these circles and labels into a png with alpha channel, combine the pngs

Re: [FFmpeg-user] Overlay images to frames in video

2021-04-08 Thread Michael Koch
Am 08.04.2021 um 09:27 schrieb Rainer M Krug: ffmpeg -i ‘background_movie.avi' -i 'overlay.avi' -filter_complex 'overlay=0x0’ ‘final_movie.avi’ I think overlay=0x0 is not doing what you expect. It does set the x option to hexadecimal 0, and it doesn't specify the y option. In your case that

Re: [FFmpeg-user] Overlay images to frames in video

2021-04-08 Thread Rainer M Krug
Thanks for your reply Comments inline > On 7 Apr 2021, at 21:28, pdr0 wrote: > > Rainer M. Krug-2 wrote >> Hi >> >> First poster, o apologies for any forgotten info. >> >> >> I have a video with the following metadata: >> >> ``` >> $ ffprobe ./1.pre-processed.data/bemovi/20210208_00097.avi

[FFmpeg-user] FFmpeg vsync option

2021-04-08 Thread Mar Andrés López
Dear all, I have a video with two streams, a video stream and a metadata stream, I would like to set the vsync option to set the time stamps according to the video stream. In the documentation ffmpeg of vsync says that: -vsync parameter Video sync method. For compatibility reasons old