Re: [FFmpeg-user] Video in video not from start

2024-01-05 Thread Cecil Westerhof via ffmpeg-user
Cecil Westerhof via ffmpeg-user writes: > Cecil Westerhof via ffmpeg-user writes: > >> Ferdi Scholten writes: >> >>> I want to play a video in a video from a certain point. I understood I >>>> could do something like: >>>>

Re: [FFmpeg-user] Video in video not from start

2024-01-05 Thread Cecil Westerhof via ffmpeg-user
Cecil Westerhof via ffmpeg-user writes: > Ferdi Scholten writes: > >> I want to play a video in a video from a certain point. I understood I >>> could do something like: >>> ffmpeg \ >>>-i input1.mp4 \ >>>

Re: [FFmpeg-user] Video in video not from start

2024-01-05 Thread Cecil Westerhof via ffmpeg-user
Michael Koch writes: > Am 05.01.2024 um 10:26 schrieb Cecil Westerhof via ffmpeg-user: >> Ferdi Scholten writes: >> >>> I want to play a video in a video from a certain point. I understood I >>>> could do something like: >>>>

Re: [FFmpeg-user] Video in video not from start

2024-01-05 Thread Cecil Westerhof via ffmpeg-user
input2.mp4 several times with the correct -ss. Not really a problem, but I had hoped for a more efficient way. But I will use it like this for the moment then. Thanks. -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof ___

[FFmpeg-user] Video in video not from start

2024-01-04 Thread Cecil Westerhof via ffmpeg-user
een(t,8,20)' " \ -pix_fmt yuv420p \ -c:a copy \ output.mp4 But this starts input2.mp4 from the start of input2.mp4 on the 8 second, for twelve seconds. Is it possible to let input2.mp4 not start from second 0, but from second 17? -- Cecil Westerhof Senior Software Eng

Re: [FFmpeg-user] Change only video

2023-10-16 Thread Cecil Westerhof via ffmpeg-user
Michael Koch writes: > Am 16.10.2023 um 13:50 schrieb Cecil Westerhof via ffmpeg-user: >> For example: if I have a video where I want to change for a short >> while only the video, but not the audio. >> Say I have a video A of five minutes B of 3 seconds and C of 5 >>

Re: [FFmpeg-user] How to extend this page about screen recording

2023-10-16 Thread Cecil Westerhof via ffmpeg-user
Ulf Zibis writes: > Am 12.10.23 um 11:51 schrieb Cecil Westerhof via ffmpeg-user: >> I just found this: >> https://trac.ffmpeg.org/wiki/Capture/Desktop >> >> Very interesting indeed. >> >> I have two monitors. I could write something about how to

[FFmpeg-user] Change only video

2023-10-16 Thread Cecil Westerhof via ffmpeg-user
of five minutes B of 3 seconds and C of 5 seconds. At 2:12 I want to use the video of video B instead of video A, but keep the sound of video A. And at 3:41 I want to do the same thing with video C. How would I do that? And what if I want to switch the video and merge the audio? -- Cecil Westerhof

Re: [FFmpeg-user] How to extend this page about screen recording

2023-10-16 Thread Cecil Westerhof via ffmpeg-user
Michael Koch writes: > Am 12.10.2023 um 11:51 schrieb Cecil Westerhof via ffmpeg-user: >> I just found this: >> https://trac.ffmpeg.org/wiki/Capture/Desktop >> >> Very interesting indeed. >> >> I have two monitors. I could write something about how to

[FFmpeg-user] How to extend this page about screen recording

2023-10-12 Thread Cecil Westerhof via ffmpeg-user
I just found this: https://trac.ffmpeg.org/wiki/Capture/Desktop Very interesting indeed. I have two monitors. I could write something about how to use this with two monitors (or more). Would that be appreciated? If yes, how to get my contribution into that page? -- Cecil Westerhof Senior

Re: [FFmpeg-user] Can transpose and between done in one command

2023-09-26 Thread Cecil Westerhof via ffmpeg-user
the transpose before selecting the parts to be used. For mpv I added to input.conf: r cycle_values video-rotate 90 180 270 0 R cycle_values video-rotate 270 180 90 0 and now I can rotate in mpv and do not need a rotated video anymore. -- Cecil Westerhof Senio

Re: [FFmpeg-user] Can transpose and between done in one command

2023-09-26 Thread Cecil Westerhof via ffmpeg-user
Thank you. I am going to try it out. > I'm not sure how you manage to collect content from 82.0 to 87.2 in a > 59 second long video, but I may be missing something. ;-) My stupidity. It was parts of two different scripts. I have to polish my workflow, but at the moment I copy the

[FFmpeg-user] Can transpose and between done in one command

2023-09-26 Thread Cecil Westerhof via ffmpeg-user
the transpose merged into the between statement? In principle that would lead to a little better output video I think, because it is processed one time less. Or would it not make much difference? -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof ___

Re: [FFmpeg-user] Drawtext problem

2022-12-09 Thread Cecil Westerhof via ffmpeg-user
Cecil Westerhof via ffmpeg-user writes: > With the drawtext filter I wanted to use: > text = '13:30 tot 17:30/18:00': > > But this gives: > Both text and text file provided. Please provide only one > > Strangely enough this does not give an error: >

[FFmpeg-user] Drawtext problem

2022-12-09 Thread Cecil Westerhof via ffmpeg-user
'13:30 tot 17:30/18\:00': But I do not understand why the first two do not have to be escaped and the third does. I use ffmpeg in a bash script. -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof __

Re: [FFmpeg-user] Change fps from 50 to 25

2022-11-14 Thread Cecil Westerhof via ffmpeg-user
Carl Eugen Hoyos writes: > Am Sa., 12. Nov. 2022 um 13:57 Uhr schrieb Cecil Westerhof via > ffmpeg-user : >> >> Michael Koch writes: >> >> > Am 12.11.2022 um 12:39 schrieb Cecil Westerhof via ffmpeg-user: >> >> I have a few videos that have a 50 fps

Re: [FFmpeg-user] Change fps from 50 to 25

2022-11-12 Thread Cecil Westerhof via ffmpeg-user
Michael Koch writes: > Am 12.11.2022 um 12:39 schrieb Cecil Westerhof via ffmpeg-user: >> I have a few videos that have a 50 fps. But the computer I am playing >> them on cannot handle that properly. Can I use ffmpeg to change the >> fps to 25? While still having the sam

[FFmpeg-user] Change fps from 50 to 25

2022-11-12 Thread Cecil Westerhof via ffmpeg-user
I have a few videos that have a 50 fps. But the computer I am playing them on cannot handle that properly. Can I use ffmpeg to change the fps to 25? While still having the same length. -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof

Re: [FFmpeg-user] How to concat two videos with same size but different source?

2022-10-22 Thread Cecil Westerhof via ffmpeg-user
lot of experimenting I wrote a bash script that I use to do this for me with reasonable results. If interested I could share it. -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof ___ ffmpeg-user mailing list ffmpe

Re: [FFmpeg-user] Combining xfade and drawtext

2022-09-12 Thread Cecil Westerhof via ffmpeg-user
Cecil Westerhof via ffmpeg-user writes: > I am using xfade and drawtext without problems. But now I want to use > both. But combining the two goes wrong. > > I use: > ffmpeg -ss 308 -t 4 -i 00011-00016.MTS -ss 329 -to 374 -i 00011-00016.MTS > -pix_fmt yuv420p -vcodec libx2

[FFmpeg-user] Combining xfade and drawtext

2022-09-12 Thread Cecil Westerhof via ffmpeg-user
d.ttf: fontsize = 32:text = © 2022 Cecil Westerhof - ce...@decebal.nl: x = ((main_w - text_w) / 2): y = main_h - (text_h * 2)' xfadeMusicalTestTemp/accordeonmuziek.ts But this gives: ffmpeg version 4.3.4-0+deb11u1 Co

Re: [FFmpeg-user] -threads 1 seems not work

2022-09-12 Thread Cecil Westerhof via ffmpeg-user
Paul B Mahol writes: > On 9/12/22, Cecil Westerhof via ffmpeg-user wrote: >> Paul B Mahol writes: >> >>> On 9/12/22, Cecil Westerhof via ffmpeg-user >>> wrote: >>>> For a certain conversion I use '-threads 1'. As I understand it ffmpe

Re: [FFmpeg-user] -threads 1 seems not work

2022-09-12 Thread Cecil Westerhof via ffmpeg-user
Paul B Mahol writes: > On 9/12/22, Cecil Westerhof via ffmpeg-user wrote: >> For a certain conversion I use '-threads 1'. As I understand it ffmpeg >> should then only use one CPU. I see that the CPU usage is lower as >> without this parameter, but it goes up

[FFmpeg-user] -threads 1 seems not work

2022-09-12 Thread Cecil Westerhof via ffmpeg-user
am using ffmpeg version 4.3.4-0+deb11u1. (Debian always lags a little bit behind to be more stable.) -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org htt

Re: [FFmpeg-user] What am I doing wrong with xfade

2022-09-10 Thread Cecil Westerhof via ffmpeg-user
Cecil Westerhof via ffmpeg-user writes: > Paul B Mahol writes: > >> On 9/10/22, Cecil Westerhof via ffmpeg-user wrote: >>> I have to concatenate about 30 videos together with xfade. Because I >>> did not mange to find a way to do that in one command I wrote a scr

Re: [FFmpeg-user] What am I doing wrong with xfade

2022-09-10 Thread Cecil Westerhof via ffmpeg-user
Paul B Mahol writes: > On 9/10/22, Cecil Westerhof via ffmpeg-user wrote: >> I have to concatenate about 30 videos together with xfade. Because I >> did not mange to find a way to do that in one command I wrote a script >> that does 1 and 2 to 1-2, 3 and 4 to 3-4, 4 and 5

[FFmpeg-user] What am I doing wrong with xfade

2022-09-10 Thread Cecil Westerhof via ffmpeg-user
in/avg: 0/0/0 buffer size: 0 vbv_delay: N/A Stream #0:1: Audio: mp3 (libmp3lame) (U[0][0][0] / 0x0055), 48000 Hz, stereo, fltp (default) Metadata: encoder : Lavc58.91.100 libmp3lame -- Cecil Westerhof Senior Software En

Re: [FFmpeg-user] Remove chapters when cutting a part out of a video

2022-09-07 Thread Cecil Westerhof via ffmpeg-user
Cecil Westerhof via ffmpeg-user writes: > Cecil Westerhof via ffmpeg-user writes: > >> I need to cut a part out of a video. This video contains chapters and >> I want to remove this data. I try this with: >> ffmpeg -y \ >>

Re: [FFmpeg-user] Remove chapters when cutting a part out of a video

2022-09-05 Thread Cecil Westerhof via ffmpeg-user
Cecil Westerhof via ffmpeg-user writes: > I need to cut a part out of a video. This video contains chapters and > I want to remove this data. I try this with: > ffmpeg -y \ >-ss ${startTime} -to ${endTime} \ >

[FFmpeg-user] Remove chapters when cutting a part out of a video

2022-09-05 Thread Cecil Westerhof via ffmpeg-user
video. What do I need to do to get a video without chapters? -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user

Re: [FFmpeg-user] Information needed

2022-07-06 Thread Cecil Westerhof via ffmpeg-user
e apt upgrade -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or ema

Re: [FFmpeg-user] Multiple xfade in one run

2022-07-04 Thread Cecil Westerhof via ffmpeg-user
Paul B Mahol writes: > On Mon, Jul 4, 2022 at 11:30 PM Michael Koch > wrote: > >> Am 04.07.2022 um 18:46 schrieb Cecil Westerhof via ffmpeg-user: >> > Paul B Mahol writes: >> > >> >> On Mon, Jul 4, 2022 at 6:15 PM Cecil Westerhof via ffmp

Re: [FFmpeg-user] Multiple xfade in one run

2022-07-04 Thread Cecil Westerhof via ffmpeg-user
Paul B Mahol writes: > On Mon, Jul 4, 2022 at 6:15 PM Cecil Westerhof via ffmpeg-user < > ffmpeg-user@ffmpeg.org> wrote: > >> Some time ago I was experimenting with xfade. I wanted to know how to >> use several in one run. Now I really needed it, so I did som

[FFmpeg-user] Multiple xfade in one run

2022-07-04 Thread Cecil Westerhof via ffmpeg-user
ion=4: offset=2211[v9] " \ -map '[v9]' -map '[a9]' \ output.mkv I hope there are better ways, because there are some problems with it. For example it needs a lot of memory. (24 GB) -- Cecil Westerhof Sen

Re: [FFmpeg-user] Using multiple overlays

2022-06-29 Thread Cecil Westerhof via ffmpeg-user
Cecil Westerhof via ffmpeg-user writes: > To overlay a picture on a video I use at the moment: > ffmpeg -y \ >-ss 21:50 -to 24:30 -i input.MTS \ >-i Photos/Shrinked/input1.jpg\ >

[FFmpeg-user] Using multiple overlays

2022-06-29 Thread Cecil Westerhof via ffmpeg-user
t I cannot find how to do this. How can I overlay several photos (transparently) on the video at different time intervals? -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof ___ ffmpeg-user mailing lis

Re: [FFmpeg-user] Make white of photo transparant

2022-06-29 Thread Cecil Westerhof via ffmpeg-user
Bouke / Videotoolshed writes: > Pff, make it an option. You probably would tell a homeless person that is hungry and cold: just put on clothes and eat something. (Without providing him anything.) -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwester

Re: [FFmpeg-user] Make white of photo transparant

2022-06-29 Thread Cecil Westerhof via ffmpeg-user
420p -c:a:0 copy -vcodec libx264 -preset veryfast > -crf 26 \ > -t 30 greenScreen.mp4 > > How can I get the audio into the output? Found it. I just need to use: -map 0:a -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof

Re: [FFmpeg-user] Make white of photo transparant

2022-06-29 Thread Cecil Westerhof via ffmpeg-user
Cecil Westerhof via ffmpeg-user writes: > Cecil Westerhof via ffmpeg-user writes: > >> Paul B Mahol writes: >> >>> On Wed, Jun 29, 2022 at 10:05 AM Bouke / Videotoolshed < >>> bo...@videotoolshed.com> wrote: >>> >>>> On 29 Jun 202

Re: [FFmpeg-user] Make white of photo transparant

2022-06-29 Thread Cecil Westerhof via ffmpeg-user
Bouke / Videotoolshed writes: >> On 29 Jun 2022, at 12:54, Cecil Westerhof via ffmpeg-user >> wrote: >> >> Bouke / Videotoolshed writes: >> >>> No, sorry. But, hire an editor / designer to do this for you, >>> results will be better / less pa

Re: [FFmpeg-user] Make white of photo transparant

2022-06-29 Thread Cecil Westerhof via ffmpeg-user
Cecil Westerhof via ffmpeg-user writes: > Paul B Mahol writes: > >> On Wed, Jun 29, 2022 at 10:05 AM Bouke / Videotoolshed < >> bo...@videotoolshed.com> wrote: >> >>> On 29 Jun 2022, at 01:48, Cecil Westerhof via ffmpeg-user < >>> ffmpeg-user@

Re: [FFmpeg-user] Make white of photo transparant

2022-06-29 Thread Cecil Westerhof via ffmpeg-user
ical) , so I cannot spend money on it. But I got a bit farther. While not perfect, it certainly is not bad. -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof ___ ffmpeg-user mailing list ffmpeg-user@ffmp

Re: [FFmpeg-user] Make white of photo transparant

2022-06-29 Thread Cecil Westerhof via ffmpeg-user
Paul B Mahol writes: > On Wed, Jun 29, 2022 at 10:05 AM Bouke / Videotoolshed < > bo...@videotoolshed.com> wrote: > >> On 29 Jun 2022, at 01:48, Cecil Westerhof via ffmpeg-user < >> ffmpeg-user@ffmpeg.org> wrote: >> > >> > >> > The ba

Re: [FFmpeg-user] Make white of photo transparant

2022-06-29 Thread Cecil Westerhof via ffmpeg-user
Bouke / Videotoolshed writes: > On 29 Jun 2022, at 01:48, Cecil Westerhof via ffmpeg-user > wrote: >> >> >> The background of the photo is white. Would it be possible to make >> that transparent? (So where there is white, I do not see white, but >> the

[FFmpeg-user] Make white of photo transparant

2022-06-28 Thread Cecil Westerhof via ffmpeg-user
-acodec copy -vcodec libx264 -preset veryfast -crf 26 \ output.mp4 The background of the photo is white. Would it be possible to make that transparent? (So where there is white, I do not see white, but the video.) -- Cecil Westerhof Senior Software Engineer LinkedIn: http:/

Re: [FFmpeg-user] Problem with videos not playing in mobile browser

2022-06-28 Thread Cecil Westerhof via ffmpeg-user
y fail to play on mobile devices. Try it with: -pix_fmt yuv420p -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo

Re: [FFmpeg-user] Using several audios after each-other in a video

2022-06-16 Thread Cecil Westerhof via ffmpeg-user
Thanks for the very speedy reply. :-D Michael Koch writes: > Am 16.06.2022 um 13:11 schrieb Cecil Westerhof via ffmpeg-user: >> At the moment I am making a slideshow like the following: >> >> zoompan=zoompan=d=3:fps=.333:s=1280x960,framerate=25:interp_start=0:int

[FFmpeg-user] Using several audios after each-other in a video

2022-06-16 Thread Cecil Westerhof via ffmpeg-user
345ab40] kb/s:1390.74 [aac @ 0x55ce8347e7c0] Qavg: 533.159 -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user T

Re: [FFmpeg-user] deprecated pixel format used

2022-06-15 Thread Cecil Westerhof via ffmpeg-user
Carl Zwanzig writes: > On 6/14/2022 4:24 PM, Cecil Westerhof via ffmpeg-user wrote: >> What is happening here? > > What's happening is that you're not posting the complete command output, > and possibly not using the most current ffmpeg. fmpeg version 4.3.4-0+deb11u1

Re: [FFmpeg-user] Video file often not recognised

2022-06-15 Thread Cecil Westerhof via ffmpeg-user
Reindl Harald writes: > Am 15.06.22 um 16:25 schrieb Cecil Westerhof via ffmpeg-user: >> Lately I am doing a lot with ffmpeg again. >> But I have a strange problem. >> Sometimes I send mp4 through WhatsApp. >> Sometimes I see the thumbnail, sometimes I do not. >>

[FFmpeg-user] Video file often not recognised

2022-06-15 Thread Cecil Westerhof via ffmpeg-user
plays only audio. And another it cannot be played. What can be happening here? And could I do something about it by changing the parameters I use for ffmpeg? -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof

[FFmpeg-user] deprecated pixel format used

2022-06-14 Thread Cecil Westerhof via ffmpeg-user
: deprecated pixel format used, make sure you did set range correctly What is happening here? -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https

Re: [FFmpeg-user] Get the file size in advance when encoding from one another format

2022-06-14 Thread Cecil Westerhof via ffmpeg-user
e size can be between 1/6 and 1/14 of the file size of the input file. -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/f

Re: [FFmpeg-user] Use concat filter with a fade

2022-06-14 Thread Cecil Westerhof via ffmpeg-user
Michael Koch writes: > Am 14.06.2022 um 15:33 schrieb Cecil Westerhof via ffmpeg-user: >> Michael Koch writes: >> >>> Am 14.06.2022 um 13:47 schrieb Cecil Westerhof via ffmpeg-user: >>>> Sometimes I have to cut parts out of a video. I now use for this (bash

Re: [FFmpeg-user] Use concat filter with a fade

2022-06-14 Thread Cecil Westerhof via ffmpeg-user
Michael Koch writes: > Am 14.06.2022 um 13:47 schrieb Cecil Westerhof via ffmpeg-user: >> Sometimes I have to cut parts out of a video. I now use for this (bash on >> Debian): >> ffmpeg -y\ >> -ss ${vid

[FFmpeg-user] Use concat filter with a fade

2022-06-14 Thread Cecil Westerhof via ffmpeg-user
1:a=1" \ -an ${outputFile} But the cut from one part to another is a bit abrupt. Is there a possibility to smooth it with something like a fade? -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof ___ f

Re: [FFmpeg-user] Multiple parts of a video

2022-06-14 Thread Cecil Westerhof via ffmpeg-user
Cecil Westerhof via ffmpeg-user writes: > Michael Koch writes: > >> Am 31.05.2022 um 18:43 schrieb Cecil Westerhof via ffmpeg-user: >>> Michael Koch writes: >>> >>>> I have a short example in chapter 2.57 of my book: >>>> http://www.astro

[FFmpeg-user] reference picture missing during reorder

2022-06-13 Thread Cecil Westerhof via ffmpeg-user
picture missing during reorder [h264 @ 0x5579d034c8c0] Missing reference picture, default is 2147483647 [h264 @ 0x5579d0875500] mmco: unref short failure [h264 @ 0x5579d050d600] mmco: unref short failure [libx264 @ 0x5579d0596bc0] using SAR=1/1 The generate video looks OK. Is this something to worry abo

Re: [FFmpeg-user] Better way to cut parts out of a long video?

2022-06-13 Thread Cecil Westerhof via ffmpeg-user
Rob Hallam writes: > On Mon, 13 Jun 2022 at 11:26, Cecil Westerhof via ffmpeg-user > wrote: >> That could very seldom work, but is certainly not a general solution. >> In the past I was told to do it like this because it was faster. Then >> I got problems with the

Re: [FFmpeg-user] Better way to cut parts out of a long video?

2022-06-13 Thread Cecil Westerhof via ffmpeg-user
Rob Hallam writes: > On Mon, 13 Jun 2022 at 11:26, Cecil Westerhof via ffmpeg-user > wrote: >> That could very seldom work, but is certainly not a general solution. >> In the past I was told to do it like this because it was faster. Then >> I got problems with the

Re: [FFmpeg-user] Better way to cut parts out of a long video?

2022-06-13 Thread Cecil Westerhof via ffmpeg-user
Rob Hallam writes: > On Mon, 13 Jun 2022 at 10:40, Cecil Westerhof via ffmpeg-user > wrote: >> I know that because of iframes you need to put the inputfile before >> the start and to parameters if you want to sure that the start time is >> correctly used. Because of this

[FFmpeg-user] Better way to cut parts out of a long video?

2022-06-13 Thread Cecil Westerhof via ffmpeg-user
as 1¼ hour into the video. I am not using ffmpeg that much so maybe I am asking something stupid. Would it not be possible to skip to the last iframe before the start? Or should I be doing things completly differently? -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linke

Re: [FFmpeg-user] Multiple parts of a video

2022-05-31 Thread Cecil Westerhof via ffmpeg-user
Michael Koch writes: > Am 31.05.2022 um 18:43 schrieb Cecil Westerhof via ffmpeg-user: >> Michael Koch writes: >> >>> I have a short example in chapter 2.57 of my book: >>> http://www.astro-electronic.de/FFmpeg_Book.pdf >> Just to make sure I un

Re: [FFmpeg-user] Multiple parts of a video

2022-05-31 Thread Cecil Westerhof via ffmpeg-user
-ss %S3% -t %L3% \ -lavfi "concat=n=3:v=1:a=0" \ -an %OUT% -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://f

Re: [FFmpeg-user] Multiple parts of a video

2022-05-29 Thread Cecil Westerhof via ffmpeg-user
Paul B Mahol writes: > On Sun, May 29, 2022 at 12:27 PM Cecil Westerhof wrote: > > Paul B Mahol writes: > > > On Sat, May 28, 2022 at 9:46 PM Cecil Westerhof via ffmpeg-user > wrote: > > > > Paul B Mahol writes: > > > > > On Sat, Ma

Re: [FFmpeg-user] Generate numbers when concatenating videos

2022-05-29 Thread Cecil Westerhof via ffmpeg-user
nly an option for later. Thanks. -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit l

Re: [FFmpeg-user] Multiple parts of a video

2022-05-29 Thread Cecil Westerhof via ffmpeg-user
Michael Koch writes: > Am 28.05.2022 um 21:17 schrieb Cecil Westerhof via ffmpeg-user: >> Paul B Mahol writes: >> >>> On Sat, May 28, 2022 at 4:28 PM Cecil Westerhof via ffmpeg-user >>> wrote: >>> >>> When I just want to have a cer

Re: [FFmpeg-user] Multiple parts of a video

2022-05-29 Thread Cecil Westerhof via ffmpeg-user
Paul B Mahol writes: > On Sat, May 28, 2022 at 9:46 PM Cecil Westerhof via ffmpeg-user > wrote: > > Paul B Mahol writes: > > > On Sat, May 28, 2022 at 4:28 PM Cecil Westerhof via ffmpeg-user > wrote: > > > > When I just want to have a certain

Re: [FFmpeg-user] Multiple parts of a video

2022-05-28 Thread Cecil Westerhof via ffmpeg-user
Paul B Mahol writes: > On Sat, May 28, 2022 at 4:28 PM Cecil Westerhof via ffmpeg-user > wrote: > > When I just want to have a certain part of a video, I can do something > like: > ffmpeg -y -i input.MTS \ > -ss 00:08 \ &g

[FFmpeg-user] Generate numbers when concatenating videos

2022-05-28 Thread Cecil Westerhof via ffmpeg-user
want to much? -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email

[FFmpeg-user] Multiple parts of a video

2022-05-28 Thread Cecil Westerhof via ffmpeg-user
But what if I want several parts of a video in my video? Do I need to cut the different parts out of the video and concatenate them, or is it possible to do it with one command? -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof

Re: [FFmpeg-user] Cutting part of four files and concatenating

2022-05-28 Thread Cecil Westerhof via ffmpeg-user
-safe 0 -i combined.txt -c copy mergedAudio.mp4 I should have thought about that. I do it a little bit differently: files=$( for i in $(seq 1 4) ; do printf "file $(pwd)/audio%d.mp4\n" $i done ) ffmpeg -y -f concat -safe 0 -i <(echo "${

[FFmpeg-user] Cutting part of four files and concatenating

2022-05-26 Thread Cecil Westerhof via ffmpeg-user
to know if it could be done in one swoop. Now the video is converted two times. -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailma

Re: [FFmpeg-user] Pictures in video

2022-05-24 Thread Cecil Westerhof via ffmpeg-user
Michael Koch writes: > Am 24.05.2022 um 21:55 schrieb Cecil Westerhof via ffmpeg-user: >> With a search on the internet I found I could put a picture into a >> video with: >> ffmpeg -i introductie.mkv -i Pictures/reiger.jpg \ >> -filter_complex "[

Re: [FFmpeg-user] Pictures in video

2022-05-24 Thread Cecil Westerhof via ffmpeg-user
quot;-crf" (if using libx264 or libx265). There is a lot of > information about that available. Of-course, should have thought about that. :'-( Changed the last but one line to: -pix_fmt yuv420p -c:a copy -vcodec libx265 -preset veryfast -crf 30 \ And now the output fil

[FFmpeg-user] Pictures in video

2022-05-24 Thread Cecil Westerhof via ffmpeg-user
would insert another picture at another time? Or two at the same time? One top left, the other top right. What I find strange is that the input video is 23 MB and the picture is 302 KB, but the generated video is 42 MB. Am I doing something wrong? -- Cecil Westerhof Senior Software Eng

Re: [FFmpeg-user] ffmpeg create wrong time information

2021-12-22 Thread Cecil Westerhof via ffmpeg-user
Bouke / Videotoolshed writes: >> On 21 Dec 2021, at 19:37, Cecil Westerhof via ffmpeg-user >> wrote: >> >> Cecil Westerhof via ffmpeg-user writes: >> >> After some experiments I solved it by putting -ss and -to behind -i >> and not forgetting to a

Re: [FFmpeg-user] ffmpeg create wrong time information

2021-12-21 Thread Cecil Westerhof via ffmpeg-user
Cecil Westerhof via ffmpeg-user writes: After some experiments I solved it by putting -ss and -to behind -i and not forgetting to alter the between values. But this takes about a third more time. Is there be a better solution? I am now using: ffmpeg -y

[FFmpeg-user] ffmpeg create wrong time information

2021-12-21 Thread Cecil Westerhof via ffmpeg-user
hing: both mpv and vlc think it is 00:55:52 long. Which it is not: it stops where it should 00:17:59. -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org ht

Re: [FFmpeg-user] h.265 crf values corresponding with h.264

2021-12-15 Thread Cecil Westerhof via ffmpeg-user
Cecil Westerhof via ffmpeg-user writes: > Ferdi Scholten writes: > >> On 15-12-2021 18:18, Cecil Westerhof via ffmpeg-user wrote: >>> When looking at: >>> https://trac.ffmpeg.org/wiki/Encode/H.265 >>> >>> with h.265 the value 28 should cor

Re: [FFmpeg-user] h.265 crf values corresponding with h.264

2021-12-15 Thread Cecil Westerhof via ffmpeg-user
Rob Hallam writes: > On Wed, 15 Dec 2021 at 18:06, Cecil Westerhof via ffmpeg-user > wrote: > >> Does YouTube has a preference for one, or the other? > > YT accepts both, and has h264 encoding suggestions: > https://support.google.com/youtube/answer/1722171 > > As

Re: [FFmpeg-user] h.265 crf values corresponding with h.264

2021-12-15 Thread Cecil Westerhof via ffmpeg-user
Ferdi Scholten writes: > On 15-12-2021 18:18, Cecil Westerhof via ffmpeg-user wrote: >> When looking at: >> https://trac.ffmpeg.org/wiki/Encode/H.265 >> >> with h.265 the value 28 should correspond with the value 23 with >> h.264. >> Is there a (rough

[FFmpeg-user] h.265 crf values corresponding with h.264

2021-12-15 Thread Cecil Westerhof via ffmpeg-user
When looking at: https://trac.ffmpeg.org/wiki/Encode/H.265 with h.265 the value 28 should correspond with the value 23 with h.264. Is there a (rough) table for the other values? -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof

Re: [FFmpeg-user] Cropping video

2021-12-11 Thread Cecil Westerhof via ffmpeg-user
Michael Koch writes: > Am 11.12.2021 um 22:24 schrieb Cecil Westerhof via ffmpeg-user: >> I gave a speech on zoom. It was recorded, but sadly together with >> others. So I want to crop my part out of it. At the moment this works: >> ffmpeg -y -i input.mp4 -filter:v

[FFmpeg-user] Cropping video

2021-12-11 Thread Cecil Westerhof via ffmpeg-user
I gave a speech on zoom. It was recorded, but sadly together with others. So I want to crop my part out of it. At the moment this works: ffmpeg -y -i input.mp4 -filter:v "crop=480:360:80:180" output.mp4 Was just wondering if there was a better way. -- Cecil Westerhof Senio

Re: [FFmpeg-user] Removing part of a video

2021-11-12 Thread Cecil Westerhof via ffmpeg-user
Cecil Westerhof via ffmpeg-user writes: > I need to cut a part out of a video. (A certain speaker does not want > to be published.) > Searching on the internet I found this: > Following is a snippet we used to remove a few seconds from a video using > ffmpeg > >

[FFmpeg-user] Removing part of a video

2021-11-12 Thread Cecil Westerhof via ffmpeg-user
output.mkv' Specifically, we removed the seconds 09:13 (second 553) to 09:19 (second 559). Is this the correct way to do it (after setting the correct timestamps), or is there a better way? -- Cecil Westerhof Senior Software Engineer L

[FFmpeg-user] failed to avoid negative pts

2021-09-21 Thread Cecil Westerhof via ffmpeg-user
workaround. But as far as I can see the output.mkv is OK. What is happening here? Is it important that I run it again with: -avoid_negative_ts 1 -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof ___ ffmpeg-user

Re: [FFmpeg-user] Weird results with drawtext

2021-09-19 Thread Cecil Westerhof via ffmpeg-user
Michael Koch writes: > Am 19.09.2021 um 12:42 schrieb Cecil Westerhof via ffmpeg-user: >> Michael Koch writes: >> >>>> As Michael Koch said: >>>> The content of the variable "text_h" depends on which characters >>>>

Re: [FFmpeg-user] Weird results with drawtext

2021-09-19 Thread Cecil Westerhof via ffmpeg-user
appen often, so I can live >> with that. > > In your case with the words "speaker" and "subject" it works, but > generally it fails. > For example if you remove the character "k" from "speaker", then the > vertical alignment will be wrong.

Re: [FFmpeg-user] Weird results with drawtext

2021-09-18 Thread Cecil Westerhof via ffmpeg-user
Cecil Westerhof via ffmpeg-user writes: > I have several of the following (simplified): > drawtext= >enable = 'between(t, 105, 115)': >text = 'speaker': >y = main_h - (text_h * 4), > drawtext= >

Re: [FFmpeg-user] Weird results with drawtext

2021-09-18 Thread Cecil Westerhof via ffmpeg-user
Michael Koch writes: > Am 18.09.2021 um 18:07 schrieb Cecil Westerhof via ffmpeg-user: >> I have several of the following (simplified): >> drawtext= >> enable = 'between(t, 105, 115)': >> text = 'speaker'

Re: [FFmpeg-user] Weird results with drawtext

2021-09-18 Thread Cecil Westerhof via ffmpeg-user
Paul B Mahol writes: > On Sat, Sep 18, 2021 at 6:07 PM Cecil Westerhof via ffmpeg-user < > ffmpeg-user@ffmpeg.org> wrote: > >> I have several of the following (simplified): >> drawtext= >>enable = 'between(t, 105, 115)': &g

[FFmpeg-user] Weird results with drawtext

2021-09-18 Thread Cecil Westerhof via ffmpeg-user
e other is different, sometimes both and sometimes they are the same. Is this a bug, or am I doing something wrong? -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg

Re: [FFmpeg-user] Strange problem with creating chapters

2021-09-17 Thread Cecil Westerhof via ffmpeg-user
Cecil Westerhof via ffmpeg-user writes: > Paul B Mahol writes: > >>> > What exactly you tried? >>> >>> What you suggested: >>> ffmpeg -i 09-Improvisaties.mp4 -i evaluaties.txt -map_chapters 1 >>> -codec copy 09-Improvisati >>>

Re: [FFmpeg-user] Strange problem with creating chapters

2021-09-17 Thread Cecil Westerhof via ffmpeg-user
han mp4 > > If works fine with .nut Yes it works with .nut. But I have to distribute it. You cannot play a .nut file with the default player on Android. You have to install VLC. I have to investigate if that (or something else) is a problem. -- Cecil Westerhof Senior Software

Re: [FFmpeg-user] Strange problem with creating chapters

2021-09-17 Thread Cecil Westerhof via ffmpeg-user
Paul B Mahol writes: > On Fri, Sep 17, 2021 at 11:07 PM Cecil Westerhof via ffmpeg-user < > ffmpeg-user@ffmpeg.org> wrote: > >> Paul B Mahol writes: >> >> > On Fri, Sep 17, 2021 at 10:33 PM Cecil Westerhof via ffmpeg-user < >> > ffmpeg-user@ff

Re: [FFmpeg-user] Strange problem with creating chapters

2021-09-17 Thread Cecil Westerhof via ffmpeg-user
Paul B Mahol writes: > On Fri, Sep 17, 2021 at 10:33 PM Cecil Westerhof via ffmpeg-user < > ffmpeg-user@ffmpeg.org> wrote: > >> Paul B Mahol writes: >> >> > On Fri, Sep 17, 2021 at 9:34 PM Cecil Westerhof via ffmpeg-user < >> > ffmpeg-user@f

Re: [FFmpeg-user] Strange problem with creating chapters

2021-09-17 Thread Cecil Westerhof via ffmpeg-user
Paul B Mahol writes: > On Fri, Sep 17, 2021 at 9:34 PM Cecil Westerhof via ffmpeg-user < > ffmpeg-user@ffmpeg.org> wrote: > >> Cecil Westerhof via ffmpeg-user writes: >> >> When I put before the first chapter: >> [CHAPTER] >> TIMEBASE

Re: [FFmpeg-user] Strange problem with creating chapters

2021-09-17 Thread Cecil Westerhof via ffmpeg-user
Cecil Westerhof via ffmpeg-user writes: When I put before the first chapter: [CHAPTER] TIMEBASE=1/1 START=1 END=2 title= I get: Input #1, ffmetadata, from 'evaluaties.txt': Metadata: title : Improvisations Duration: 00:16:35

  1   2   >