[FFmpeg-user] 1080i AVC-I 100 frame rate conversion

2021-03-26 Thread Bruce Roberts
Hello, I'm looking for advice on the best ways to convert 23.976fps and 29.97fps AVC-I 100Mbps content to 25fps (also interlaced AVC-I 100Mbps). So far I have tried the fps filter as follows: ffmpeg \ -i 23_967.mxf \ -filter_complex "[0:v:0]fps=fps=25[v25fps]" \ -map "[v25fps]" -map a:

Re: [FFmpeg-user] Cutting out part of a video does not work

2021-03-26 Thread Bo Berglund
On Fri, 26 Mar 2021 10:59:23 +0100, Peter White wrote: >You can use ffprobe to find the keyframe timestamps: > >ffprobe -select_streams V:0 -show_frames -skip_frame nokey -show_entries >frame=best_effort_timestamp_time 2021-03-25ToastmastersClubAvond.mp4 > Interesting, I have wondered about

Re: [FFmpeg-user] Cutting out part of a video does not work

2021-03-26 Thread Carl Zwanzig
On 3/26/2021 9:28 AM, Cecil Westerhof via ffmpeg-user wrote: No, that I cannot do. I cannot publish stuff containing other people. Well you -can-, may not want to. There is only one problem. The video is 7:21 long, but both mpv and vlc think it is 7:30 long. IME, the metadata length often

Re: [FFmpeg-user] Cutting out part of a video does not work

2021-03-26 Thread Cecil Westerhof via ffmpeg-user
Carl Zwanzig writes: > On 3/26/2021 9:28 AM, Cecil Westerhof via ffmpeg-user wrote: > >> No, that I cannot do. I cannot publish stuff containing other people. > > Well you -can-, may not want to. I used cannot in the sense that I am not allowed to. ;-) >> There is only one problem. The video

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

2021-03-26 Thread Cecil Westerhof via ffmpeg-user
Carl Zwanzig writes: > On 3/26/2021 2:09 AM, Cecil Westerhof via ffmpeg-user wrote: >> I publish speeches I give during zoom meetings. The problem is that >> some people forget to mute themselves and when they make a sound they >> will appear in the video. Luckily most time people do not have a

Re: [FFmpeg-user] Cutting out part of a video does not work

2021-03-26 Thread Carl Eugen Hoyos
Am Fr., 26. März 2021 um 17:28 Uhr schrieb Cecil Westerhof via ffmpeg-user : > ffmpeg -y -ss 1189 -i 2021-03-25ToastmastersClubAvond.mp4 > -to 442 -acodec copy -vcodec libx264 -crf 8 -async 1 speech.mp4 The x264 documentation states that there is no good reason to use "crf 8" and please don't

Re: [FFmpeg-user] Cutting out part of a video does not work

2021-03-26 Thread Cecil Westerhof via ffmpeg-user
Peter White writes: > On Fri, Mar 26, 2021 at 09:55:21AM +0100, Cecil Westerhof via ffmpeg-user > wrote: >> I want to publish a speech I gave during a Zoom meeting. But cutting >> it out does not work. >> >> When I use: >> ffmpeg -y -i 2021-03-25ToastmastersClubAvond.mp4 -ss 1190 -to 1631

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

2021-03-26 Thread Carl Zwanzig
On 3/26/2021 2:09 AM, Cecil Westerhof via ffmpeg-user wrote: I publish speeches I give during zoom meetings. The problem is that some people forget to mute themselves and when they make a sound they will appear in the video. Luckily most time people do not have a problem with that. But if they

Re: [FFmpeg-user] 1080i AVC-I 100 frame rate conversion

2021-03-26 Thread Carl Eugen Hoyos
Am Fr., 26. März 2021 um 15:32 Uhr schrieb Bruce Roberts : > I'm looking for advice on the best ways to convert 23.976fps > and 29.97fps AVC-I 100Mbps content to 25fps The single most important question is: What do you mean with "convert"? Usually, changing the speed of the video is completely

Re: [FFmpeg-user] Removing black beams

2021-03-26 Thread Carl Eugen Hoyos
Am Fr., 26. März 2021 um 10:05 Uhr schrieb Cecil Westerhof via ffmpeg-user : > > Because people have different resolutions there are sometimes black > beams to the side of a video. What is the best way to remove them? Did you test the cropdetect filter?

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

2021-03-26 Thread Leo Butler via ffmpeg-user
Cecil Westerhof via ffmpeg-user writes: > Carl Zwanzig writes: > >> On 3/26/2021 2:09 AM, Cecil Westerhof via ffmpeg-user wrote: >>> I publish speeches I give during zoom meetings. The problem is that >>> some people forget to mute themselves and when they make a sound they >>> will appear in

Re: [FFmpeg-user] Cutting out part of a video does not work

2021-03-26 Thread Peter White
On Fri, Mar 26, 2021 at 04:40:26PM +0100, Bo Berglund wrote: > On Fri, 26 Mar 2021 10:59:23 +0100, Peter White > wrote: > > >You can use ffprobe to find the keyframe timestamps: > > > >ffprobe -select_streams V:0 -show_frames -skip_frame nokey -show_entries > >frame=best_effort_timestamp_time

Re: [FFmpeg-user] 1080i AVC-I 100 frame rate conversion

2021-03-26 Thread Mark Filipak (ffmpeg)
On 2021-03-26 10:02, Bruce Roberts wrote: Hello, I'm looking for advice on the best ways to convert 23.976fps and 29.97fps AVC-I 100Mbps content to 25fps (also interlaced AVC-I 100Mbps). Hello Bruce, I think we may be treading parallel paths, you: from the west to east (FILM & NTSC to

Re: [FFmpeg-user] Removing black beams

2021-03-26 Thread Cecil Westerhof via ffmpeg-user
Carl Eugen Hoyos writes: > Am Fr., 26. März 2021 um 10:05 Uhr schrieb Cecil Westerhof via > ffmpeg-user : >> >> Because people have different resolutions there are sometimes black >> beams to the side of a video. What is the best way to remove them? > > Did you test the cropdetect filter? >

Re: [FFmpeg-user] Cutting out part of a video does not work

2021-03-26 Thread Cecil Westerhof via ffmpeg-user
Carl Eugen Hoyos writes: > Am Fr., 26. März 2021 um 17:28 Uhr schrieb Cecil Westerhof via > ffmpeg-user : > >> ffmpeg -y -ss 1189 -i 2021-03-25ToastmastersClubAvond.mp4 >> -to 442 -acodec copy -vcodec libx264 -crf 8 -async 1 speech.mp4 > > The x264 documentation states that there is no good >

Re: [FFmpeg-user] Cutting out part of a video does not work

2021-03-26 Thread Cecil Westerhof via ffmpeg-user
Peter White writes: > On Fri, Mar 26, 2021 at 05:28:40PM +0100, Cecil Westerhof via ffmpeg-user > wrote: >> Peter White writes: >> >> > On Fri, Mar 26, 2021 at 09:55:21AM +0100, Cecil Westerhof via ffmpeg-user >> > wrote: >> >> I want to publish a speech I gave during a Zoom meeting. But

Re: [FFmpeg-user] Cutting out part of a video does not work

2021-03-26 Thread Cecil Westerhof via ffmpeg-user
Peter White writes: > On Fri, Mar 26, 2021 at 07:02:13PM +0100, Cecil Westerhof via ffmpeg-user > wrote: >> Carl Zwanzig writes: >> >> > On 3/26/2021 9:28 AM, Cecil Westerhof via ffmpeg-user wrote: >> >> There is only one problem. The video is 7:21 long, but both mpv and >> >> vlc think it is

Re: [FFmpeg-user] Cutting out part of a video does not work

2021-03-26 Thread Peter White
On Fri, Mar 26, 2021 at 07:02:13PM +0100, Cecil Westerhof via ffmpeg-user wrote: > Carl Zwanzig writes: > > > On 3/26/2021 9:28 AM, Cecil Westerhof via ffmpeg-user wrote: > >> There is only one problem. The video is 7:21 long, but both mpv and > >> vlc think it is 7:30 long. > > > > IME, the

Re: [FFmpeg-user] Cutting out part of a video does not work

2021-03-26 Thread Peter White
On Fri, Mar 26, 2021 at 05:28:40PM +0100, Cecil Westerhof via ffmpeg-user wrote: > Peter White writes: > > > On Fri, Mar 26, 2021 at 09:55:21AM +0100, Cecil Westerhof via ffmpeg-user > > wrote: > >> I want to publish a speech I gave during a Zoom meeting. But cutting > >> it out does not work.

Re: [FFmpeg-user] Cutting out part of a video does not work

2021-03-26 Thread Peter White
On Fri, Mar 26, 2021 at 10:07:14AM +0100, Michael Koch wrote: > Am 26.03.2021 um 09:55 schrieb Cecil Westerhof via ffmpeg-user: > > I want to publish a speech I gave during a Zoom meeting. But cutting > > it out does not work. > > > > When I use: > > ffmpeg -y -i

Re: [FFmpeg-user] Cutting out part of a video does not work

2021-03-26 Thread Peter White
On Fri, Mar 26, 2021 at 09:55:21AM +0100, Cecil Westerhof via ffmpeg-user wrote: > I want to publish a speech I gave during a Zoom meeting. But cutting > it out does not work. > > When I use: > ffmpeg -y -i 2021-03-25ToastmastersClubAvond.mp4 -ss 1190 -to 1631 > -acodec copy -vcodec copy

Re: [FFmpeg-user] Cutting out part of a video does not work

2021-03-26 Thread Peter White
On Fri, Mar 26, 2021 at 10:59:23AM +0100, Peter White wrote: > If you can live with further quality loss in the video, you can > transcode it, i.e. -c:v libx264. Forgot one thing. You can, and maybe should, use -ss as an input option. This way ffmpeg does not decode the whole file until it

[FFmpeg-user] Cutting out part of a video does not work

2021-03-26 Thread Cecil Westerhof via ffmpeg-user
I want to publish a speech I gave during a Zoom meeting. But cutting it out does not work. When I use: ffmpeg -y -i 2021-03-25ToastmastersClubAvond.mp4 -ss 1190 -to 1631 -acodec copy -vcodec copy -async 1 speech.mp4 The video starts just a bit to late. But when I use: ffmpeg -y -i

[FFmpeg-user] Removing black beams

2021-03-26 Thread Cecil Westerhof via ffmpeg-user
Because people have different resolutions there are sometimes black beams to the side of a video. What is the best way to remove them? So I cut my part out of the meeting. Then there is left and right a black beam. I want to create a video without them. Best with automatic detection. (I expect

[FFmpeg-user] Hiding part of a video

2021-03-26 Thread Cecil Westerhof via ffmpeg-user
I publish speeches I give during zoom meetings. The problem is that some people forget to mute themselves and when they make a sound they will appear in the video. Luckily most time people do not have a problem with that. But if they would, what would the best way to hide them? Example at 6:23:

Re: [FFmpeg-user] Cutting out part of a video does not work

2021-03-26 Thread Michael Koch
Am 26.03.2021 um 09:55 schrieb Cecil Westerhof via ffmpeg-user: I want to publish a speech I gave during a Zoom meeting. But cutting it out does not work. When I use: ffmpeg -y -i 2021-03-25ToastmastersClubAvond.mp4 -ss 1190 -to 1631 -acodec copy -vcodec copy -async 1 speech.mp4 The