[FFmpeg-user] '-bsf noise' doesn't like x265? Really?

2024-05-31 Thread Mark Filipak
Hi, Is there some reason that '-bsf noise' doesn't like x265? Look: Works 100%: ffmpeg -copyts -i source.m2ts -map 0 -bsf noise=drop='lt(pts\,2854113)+gte(dts\,504219978)' -c copy -sn -dn -muxdelay 0 target.ts No video: ffmpeg -copyts -i source.m2ts -map 0 -bsf noise=drop='lt(pts\,2854113

[FFmpeg-user] BT-709 being mishandled?

2024-05-31 Thread Mark Filipak
Question: What's happening? Is there a workaround? The video from a Blu-ray is: Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn FFprobe's '-show_streams' (and other commands) shows this: pix_fmt=

[FFmpeg-user] FFmpeg-devel signup and patch status

2024-05-31 Thread Renato Santos
Hello, I tried to sign up on FFmpeg-devel, but the reset password is not reaching me. The patch I would submit is just this patch but based on version 7.0 and with an updated doc/protocols.texi. I think that was the reason this was not merged before? https://patchwork.ffmpeg.org/project/ffmpeg/p

Re: [FFmpeg-user] expressions in -bsf

2024-05-31 Thread Mark Filipak
On 31/05/2024 16.31, David Ing via ffmpeg-user wrote: How do I do the equivalent of this: pts = pts==504223732 ? 504219978 : pts; in '-bsf' in Windows? I can't figure it out. I've tried: -bsf setts=pts='eq(pts\,504223732)504219978' -bsf setts=pts='if(eq(pts\,504223732)\,504219978\,pts)' -

Re: [FFmpeg-user] expressions in -bsf

2024-05-31 Thread David Ing via ffmpeg-user
How do I do the equivalent of this: pts = pts==504223732 ? 504219978 : pts; in '-bsf' in Windows? I can't figure it out. I've tried: -bsf setts=pts='eq(pts\,504223732)504219978' -bsf setts=pts='if(eq(pts\,504223732)\,504219978\,pts)' -bsf 'if(eq(pts\,504223732),setts=pts=504219978)' ---

[FFmpeg-user] expressions in -bsf

2024-05-31 Thread Mark Filipak
How do I do the equivalent of this: pts = pts==504223732 ? 504219978 : pts; in '-bsf' in Windows? I can't figure it out. I've tried: -bsf setts=pts='eq(pts\,504223732)504219978' -bsf setts=pts='if(eq(pts\,504223732)\,504219978\,pts)' -bsf 'if(eq(pts\,504223732),setts=pts=504219978)' and man

Re: [FFmpeg-user] Finding matching frames in a single video

2024-05-31 Thread Paul B Mahol
On Fri, May 31, 2024 at 6:48 PM Sean Grider via ffmpeg-user < ffmpeg-user@ffmpeg.org> wrote: > I'm trying to use ffmpeg to find timestamps of a video where a given > screenshot can be found. > > Let's say of 30m video, there's a title card at 00:07:00, so I extract > that frame as an image with: >

Re: [FFmpeg-user] Problems with old TV - Can I decode a new file and re-encode to an older version of a codec?

2024-05-31 Thread Paul B Mahol
On Fri, May 31, 2024 at 5:18 PM bbb wrote: > On 5/31/24 17:10, Reindl Harald wrote: > > > > > > Am 31.05.24 um 15:50 schrieb bbb: > >> On 5/31/24 15:16, Reindl Harald wrote: > >>> your command is very unspecific to begin with > >>> even profile is missing > >>> > >>> https://trac.ffmpeg.org/wiki/

[FFmpeg-user] Finding matching frames in a single video

2024-05-31 Thread Sean Grider via ffmpeg-user
I'm trying to use ffmpeg to find timestamps of a video where a given screenshot can be found. Let's say of 30m video, there's a title card at 00:07:00, so I extract that frame as an image with: ffmpeg -i INPUT -qmin 1 -qscale:v 1 -vframes 00:07:00 -f image2 match.png Now I want to find any fra

Re: [FFmpeg-user] c/c++ program for FFMPEG H.264 encoding

2024-05-31 Thread William C Bonner
On Mon, May 20, 2024 at 10:43 PM Lisa wrote: > Thank you for your response. > I am working on an rtsp server that uses V4l2 to get frames from mipi-csi2 > and then it will encode with ffmpeg Apis (C/C++ language). As I said with > the ffmpeg command line it is able to encode 1920x1080@29 fps, so

Re: [FFmpeg-user] Problems with old TV - Can I decode a new file and re-encode to an older version of a codec?

2024-05-31 Thread Reindl Harald
Am 31.05.24 um 15:50 schrieb bbb: On 5/31/24 15:16, Reindl Harald wrote: your command is very unspecific to begin with even profile is missing https://trac.ffmpeg.org/wiki/Encode/H.264 ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffm

Re: [FFmpeg-user] Problems with old TV - Can I decode a new file and re-encode to an older version of a codec?

2024-05-31 Thread Paul B Mahol
Compare encoder settings between files encoded with different versions. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with sub

Re: [FFmpeg-user] Problems with old TV - Can I decode a new file and re-encode to an older version of a codec?

2024-05-31 Thread Reindl Harald
Am 31.05.24 um 14:42 schrieb bbb: Five years ago, I've bought an inexpensive Samsung TV (ue55nu7099) and I'm using it to watch from minidlna server. I'm not very happy with the firmware player, but it's bearable and I don't want to use an external player. The TV can access the local network

Re: [FFmpeg-user] Audio, loudnorm for videos

2024-05-31 Thread Paul B Mahol
Same can be done with ebur128 + volume, and several times faster. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "

[FFmpeg-user] Audio, loudnorm for videos

2024-05-31 Thread Richard Bartczak via ffmpeg-user
Example of use of http://k.ylo.ph/2016/04/04/loudnorm.html A way to get a video with a better relationship of loudness for speech, music and "Action-Thunder" Perhaps all ways known, perhaps not. Example of video with ac3 + h.264 ffmpeg filter, /dual-pass/ mode : 1. Measurement  with results :