Re: [FFmpeg-user] ffmpeg > 5.0 refuses to build with x264-static

2023-03-01 Thread Ferdi Scholten
unchanged nonsense with 6.0.0 [builduser@testserver:/rpmbuild/SPECS]$ ls /rpmbuild/BUILD/ffmpeg-20230301/x264-static/ total 2.6M drwxr-xr-x 2 builduser builduser   60 2023-03-01 15:44 pkgconfig -rw-r--r-- 1 builduser builduser 2.6M 2023-03-01 15:44 libx264.a -rw-r--r-- 1 builduser builduser

Re: [FFmpeg-user] ffmpeg > 5.0 refuses to build with x264-static

2023-03-01 Thread Ferdi Scholten
unchanged nonsense with 6.0.0 [builduser@testserver:/rpmbuild/SPECS]$ ls /rpmbuild/BUILD/ffmpeg-20230301/x264-static/ total 2.6M drwxr-xr-x 2 builduser builduser   60 2023-03-01 15:44 pkgconfig -rw-r--r-- 1 builduser builduser 2.6M 2023-03-01 15:44 libx264.a -rw-r--r-- 1 builduser builduser

[FFmpeg-user] seeking help using filter colorspace when -f concat is input (it aborts)

2023-03-01 Thread hydra3333
Hello. Video filter 'colorspace' aborts with "Unsupported input primaries 2 (unknown)" with -f concat as input. Is there a way to set/force those things between the filters 'scale' and colorspace (or between input and the first filter) so that colorspace works ? In the examples below, bt470bg

Re: [FFmpeg-user] Lipsync of a UDP stream

2023-03-01 Thread Amar Mash
I have a docker container which when run opens a URL using firefox which is the input and stream it to an RTMP URL using FFMPEG FLV. here is the Github project if anyone wants to test. Nice application. https://github.com/amarmashruwala/Chime-to-Broadcast-Automation Here is the ffmpeg code.

Re: [FFmpeg-user] ffmpeg > 5.0 refuses to build with x264-static

2023-03-01 Thread Reindl Harald
Am 01.03.23 um 23:47 schrieb Reindl Harald: Am 01.03.23 um 16:48 schrieb Ferdi Scholten: unchanged nonsense with 6.0.0 [builduser@testserver:/rpmbuild/SPECS]$ ls /rpmbuild/BUILD/ffmpeg-20230301/x264-static/ total 2.6M drwxr-xr-x 2 builduser builduser   60 2023-03-01 15:44 pkgconfig -rw-r

Re: [FFmpeg-user] Lipsync of a UDP stream

2023-03-01 Thread Carl Zwanzig
On 3/1/2023 2:24 PM, Amar Mash wrote: What do you do when audio is in sync (lip sync) at times and off at other times ? How can you programmatically tell? I don't know of an easy way. (The other thing to do is not top-post on this mailing list.) Later, z!

Re: [FFmpeg-user] ffmpeg > 5.0 refuses to build with x264-static

2023-03-01 Thread Reindl Harald
Am 01.03.23 um 16:48 schrieb Ferdi Scholten: unchanged nonsense with 6.0.0 [builduser@testserver:/rpmbuild/SPECS]$ ls /rpmbuild/BUILD/ffmpeg-20230301/x264-static/ total 2.6M drwxr-xr-x 2 builduser builduser   60 2023-03-01 15:44 pkgconfig -rw-r--r-- 1 builduser builduser 2.6M 2023-03-01 15

Re: [FFmpeg-user] Lipsync of a UDP stream

2023-03-01 Thread Amar Mash
Hello What do you do when audio is in sync (lip sync) at times and off at other times ? Thanks On Thu, 2 Mar 2023 at 3:35 am, Jan Ceuleers wrote: > On 28/02/2023 22:27, German Geraskin wrote: > > You can offset an audio track relative to a video track by adding or > > subtracting a fixed

Re: [FFmpeg-user] Lipsync of a UDP stream

2023-03-01 Thread Jan Ceuleers
On 28/02/2023 22:27, German Geraskin wrote: > You can offset an audio track relative to a video track by adding or > subtracting a fixed value to the timestamps of one of the tracks. > http://ffmpeg.org/ffmpeg-all.html#setpts_002c-asetpts Brilliant, thank you. For the benefit of search engines:

Re: [FFmpeg-user] ffmpeg > 5.0 refuses to build with x264-static

2023-03-01 Thread Ferdi Scholten
unchanged nonsense with 6.0.0 [builduser@testserver:/rpmbuild/SPECS]$ ls /rpmbuild/BUILD/ffmpeg-20230301/x264-static/ total 2.6M drwxr-xr-x 2 builduser builduser   60 2023-03-01 15:44 pkgconfig -rw-r--r-- 1 builduser builduser 2.6M 2023-03-01 15:44 libx264.a -rw-r--r-- 1 builduser builduser

Re: [FFmpeg-user] Retrieve duration of an m2v >MPEG>2 elementary stream file

2023-03-01 Thread Ferdi Scholten
Hi, if I invoke ffmpeg on an M2V MPEG-2 elementary stream, I get "N/A" for the duration. I guess this is because this file doesn't contain a header that contains the duration. Is it possible to force ffmpeg to parse the entire file to obtain the duration? Full command line and output: ffmpeg

Re: [FFmpeg-user] ffmpeg > 5.0 refuses to build with x264-static

2023-03-01 Thread Reindl Harald
unchanged nonsense with 6.0.0 [builduser@testserver:/rpmbuild/SPECS]$ ls /rpmbuild/BUILD/ffmpeg-20230301/x264-static/ total 2.6M drwxr-xr-x 2 builduser builduser 60 2023-03-01 15:44 pkgconfig -rw-r--r-- 1 builduser builduser 2.6M 2023-03-01 15:44 libx264.a -rw-r--r-- 1 builduser builduser

[FFmpeg-user] bt470bg and limited range produced when anticipating bt709 full range

2023-03-01 Thread hydra3333
Hello. I am hoping to produce a slideshow from a list of jpeg images. I was anticipating bt709 output from scale, however the log appears to show it's producing bt470bg with limited range, even though I specify out_color_matrix=bt709 and out_range=full Any suggestions would be very welcome.

[FFmpeg-user] ebuR128 display of live source

2023-03-01 Thread Bouke / Videotoolshed
Hi, Trying to get a visualisation of my levels during record / stream. This works fine for file based material: ffplay -f lavfi -i "amovie=/Users/bouke/Downloads/test.wav,ebur128=video=1:meter=18:target=-16 [out0][out1]" But I would like to have a live source (I’m on Mac, AVfoundation I

Re: [FFmpeg-user] filter_complex with 2 images generates 3 files instead of one

2023-03-01 Thread Gabriel Dina
"In your example all three inputs are images, so the output can be only one image."-> this doesn;t happen. The output consists in: 1. the original image 2. the original image + logo 3. the original image + logo + info I wish it were simpler! Gabriel On Wed, Mar 1, 2023 at 12:06 PM Michael Koch

Re: [FFmpeg-user] filter_complex with 2 images generates 3 files instead of one

2023-03-01 Thread Michael Koch
Am 01.03.2023 um 10:55 schrieb Gabriel Dina: 1 frame, indeed, but is the first image without logo and info. Maybe it is a way to get the last frame? In your example all three inputs are images, so the output can only one image. If the first input is a video, you could add -ss 5 before this

Re: [FFmpeg-user] filter_complex with 2 images generates 3 files instead of one

2023-03-01 Thread Gabriel Dina
1 frame, indeed, but is the first image without logo and info. Maybe it is a way to get the last frame? Many thanks. Gabriel On Wed, Mar 1, 2023 at 11:49 AM Michael Koch wrote: > Am 01.03.2023 um 10:39 schrieb Gabriel Dina: > > Updated command: > > > > ffmpeg -i *uploads/test.png* -i

Re: [FFmpeg-user] filter_complex with 2 images generates 3 files instead of one

2023-03-01 Thread Michael Koch
Am 01.03.2023 um 10:39 schrieb Gabriel Dina: Updated command: ffmpeg -i *uploads/test.png* -i ./assets/logo.png -i ./assets/telefon.png -filter_complex

Re: [FFmpeg-user] filter_complex with 2 images generates 3 files instead of one

2023-03-01 Thread Gabriel Dina
Updated command: ffmpeg -i *uploads/test.png* -i ./assets/logo.png -i ./assets/telefon.png -filter_complex "[1][0]scale2ref=w='iw*1/5':h='ow/mdar'[v1];[2][0]scale2ref=w='iw*9/10':h='ow/mdar'[v2];[0][v1]overlay=main_w-overlay_w-5:5[vid];[vid][v2]overlay=10:main_h-overlay_h-10"* test.png* Result:

Re: [FFmpeg-user] filter_complex with 2 images generates 3 files instead of one

2023-03-01 Thread Michael Koch
Am 01.03.2023 um 10:23 schrieb Michael Koch: Am 01.03.2023 um 10:12 schrieb Gabriel Dina: ffmpeg -i uploads/image.mp4 -i ./assets/logo.png -i ./assets/info.png -filter_complex "[1][0]scale2ref=w='iw

Re: [FFmpeg-user] filter_complex with 2 images generates 3 files instead of one

2023-03-01 Thread Michael Koch
Am 01.03.2023 um 10:12 schrieb Gabriel Dina: ffmpeg -i uploads/image.mp4 -i ./assets/logo.png -i ./assets/info.png -filter_complex "[1][0]scale2ref=w='iw

[FFmpeg-user] Retrieve duration of an m2v >MPEG>2 elementary stream file

2023-03-01 Thread Robert Krüger
Hi, if I invoke ffmpeg on an M2V MPEG-2 elementary stream, I get "N/A" for the duration. I guess this is because this file doesn't contain a header that contains the duration. Is it possible to force ffmpeg to parse the entire file to obtain the duration? Full command line and output: ffmpeg -i

[FFmpeg-user] filter_complex with 2 images generates 3 files instead of one

2023-03-01 Thread Gabriel Dina
ffmpeg -i uploads/image.mp4 -i ./assets/logo.png -i ./assets/info.png -filter_complex "[1][0]scale2ref=w='iw *1/5':h='ow/mdar'[v1];[2][0]scale2ref=w='iw*9/10':h='ow/mdar'[v2];[0][v1]overlay=main_w-overlay_w-5:5[vid];[vid][v2]overlay=10:main_h-overlay_h-10" uploads/image%0d.mp4 If I remove %0d