[FFmpeg-user] xfade filter - custom expressions

2020-09-23 Thread Peter
Hello, Can someone help me to understand the xfade filter documentation regarding custom expressions. I'm not really sure how to express a transition given the variables provided. "XY - The coordinates of the current sample." - Is the transition defined by selecting a color/state for each pixel?

[FFmpeg-user] KLV in ffmpeg

2020-09-23 Thread Mar Andrés López
Dear all, I am having so many issues trying to clip a video with KLV. When I edit a video with KLV I lose the KLV. I have read about -map 0 option, from my understading it copies all the streams of a video from the input 0. The command I have tried and it is not working is the following:

[FFmpeg-user] Fwd: linux ubuntu - batch list commande - two pass

2020-09-23 Thread Libre Curk
Hey ! I'd like to get the full power of the VP9, but I need to use batch list to not lose anytime. *Basicly how to batch 2 pass encoding with a command ?** * Actually, I'm doing like so for my proxy and 1 pass : * for f in *.MOV ; do ffmpeg -i "$f" -c:v prores -profile:v 0 -c:a copy proxy

Re: [FFmpeg-user] Fwd: linux ubuntu - batch list commande - two pass

2020-09-23 Thread Moritz Barsnick
On Wed, Sep 23, 2020 at 13:13:17 +0200, Libre Curk wrote: > *Basicly how to batch 2 pass encoding with a command ?** [...] > But it's kinda not working there... Any help / solution ? That's not a good error description. ;-) What did you expect, what was the outcome, what went wrong? > * for f i

Re: [FFmpeg-user] KLV in ffmpeg

2020-09-23 Thread Mar Andrés López
Dear all, I guess I found the problem why it was not working. My KLV stream is the stream 1 See the log, [mpegts @ 026b6a21c380] start time for stream 1 is not set in estimate_timings_from_pts How can I set the start time just for the stream 1?? >>ffmpeg -i testklv.mpg ffmpeg version 4.3 C

[FFmpeg-user] need help with making an "in sync" screen recording.

2020-09-23 Thread Amon Gibson Albuquerque Nunes
OK. so first of all i wanted to record some footage of a game i've bought from a digital storefront. as i experimented on which parameters and arguments i would use to record said footage i came up with this. ffmpeg -thread_queue_size 2048 -f gdigrab -draw_mouse 0 -framerate 30 -show_region 0 -

[FFmpeg-user] HOW TO APPLY LOUDNESS R128 PROFILE

2020-09-23 Thread Marco Mircoli
Hello', I'm a newbie. Just bought a php script that use ffmpeg. it converts to mp3/96 all media uploaded in a unique format. this is the line $shell = shell_exec("$ffmpeg_b -i $audio_file_full_path -map 0:a:0 -b:a 96k $audio_output_mp3 2>&1"); I'm wondering if it is possible to include in

Re: [FFmpeg-user] HOW TO APPLY LOUDNESS R128 PROFILE

2020-09-23 Thread Moritz Barsnick
On Wed, Sep 23, 2020 at 14:16:31 +0200, Marco Mircoli wrote: > Just bought a php script that use ffmpeg. I hope it's worth it. ;) > this is the line > $shell = shell_exec("$ffmpeg_b -i $audio_file_full_path -map 0:a:0 -b:a > 96k $audio_output_mp3 2>&1"); > > I'm wondering if it is possible to

Re: [FFmpeg-user] Fwd: linux ubuntu - batch list commande - two pass

2020-09-23 Thread Libre Curk
Hey ! Thank you for your answer ! I think I did a lot of mistake in my shell... It's working like I wrote it, as you said : "basically correct". I'll add : "definitly correct" ! Hope that thread will help peoples. Because I was driving nuts all morning long. The main problem I had is that it

Re: [FFmpeg-user] HOW TO APPLY LOUDNESS R128 PROFILE

2020-09-23 Thread Marco Mircoli
Thanks Motitz, this is a one pass norm. Is there a way to implement 2 pass? Thanks. S. Il giorno mer 23 set 2020 alle ore 14:42 Moritz Barsnick ha scritto: > On Wed, Sep 23, 2020 at 14:16:31 +0200, Marco Mircoli wrote: > > Just bought a php script that use ffmpeg. > > I hope it's worth it. ;

[FFmpeg-user] Howto specify needed options for ffmpeg

2020-09-23 Thread Thomas Seilund via ffmpeg-user
Dear All I don't know how to read a h264 network stream with ffmpeg. I create the stream on a Raspberry Pi with this command: raspivid -t 0 -b 1000 -n -o test.h264 I am able to view the video with ffplay: ffplay -i test.h264 ffplay version N-97152-g52523b6963 Copyright (c) 2003-2020 the

Re: [FFmpeg-user] bwdif filter question

2020-09-23 Thread Greg Oliver
On Tue, Sep 22, 2020 at 1:14 PM Mark Filipak (ffmpeg) wrote: > I could use some help in my efforts. Due to my ignorance, it's taking me > weeks to figure out things > that should be resolved in minutes. In 5 days, I'll be 74 years old. With > corona virus and age, I > don't know how much longer I

Re: [FFmpeg-user] bwdif filter question

2020-09-23 Thread Mark Filipak (ffmpeg)
On 09/23/2020 12:19 PM, Greg Oliver wrote: On Tue, Sep 22, 2020 at 1:14 PM Mark Filipak (ffmpeg) wrote: -snip- He has repeatedly posted to either understand or define better the internals of ffmpeg itself... Thanks for the kind words. Yaknow, I'm not special or a wizard. I suffer the same

Re: [FFmpeg-user] xfade filter - custom expressions

2020-09-23 Thread Edward Park
Hi, > "XY - The coordinates of the current sample." - Is the transition defined > by selecting a color/state for each pixel? > > "WH - The width and height of the image." - OK. > > "P - Progress of transition effect." - Looking at the source, this is a > float. Ranging from 0-1 I assume(?) > >

Re: [FFmpeg-user] bwdif filter question

2020-09-23 Thread Carl Eugen Hoyos
Am Di., 22. Sept. 2020 um 00:47 Uhr schrieb Mark Filipak (ffmpeg) : > > On 09/21/2020 06:07 PM, Carl Eugen Hoyos wrote: > > Am Mo., 21. Sept. 2020 um 14:16 Uhr schrieb Mark Filipak (ffmpeg) > > : > >> Here is what you wrote: > >> "The following makes little sense, it is just meant as an example: >

[FFmpeg-user] (no subject)

2020-09-23 Thread vinod kc
Hi, I have a video with 45 minutes duration. This video contains 2-5 breaks. Each break time lasts 10 seconds. At this time, the screen is completely black. But, we can see a watermark and time code clearly. So I want to get; 1. The start and end time of this black screen break. 2. The time code on

Re: [FFmpeg-user] bwdif filter question

2020-09-23 Thread Mark Filipak (ffmpeg)
On 09/23/2020 03:53 PM, Carl Eugen Hoyos wrote: Am Di., 22. Sept. 2020 um 00:47 Uhr schrieb Mark Filipak (ffmpeg) : On 09/21/2020 06:07 PM, Carl Eugen Hoyos wrote: Am Mo., 21. Sept. 2020 um 14:16 Uhr schrieb Mark Filipak (ffmpeg) : Here is what you wrote: "The following makes little sense,

Re: [FFmpeg-user] need help with making an "in sync" screen recording.

2020-09-23 Thread Carl Eugen Hoyos
Am Mi., 23. Sept. 2020 um 13:59 Uhr schrieb Amon Gibson Albuquerque Nunes : > > OK. so first of all i wanted to record some footage of a game i've bought > from a digital storefront. as i experimented on which parameters and > arguments i would use to record said footage i came up with this. > >

Re: [FFmpeg-user] Howto specify needed options for ffmpeg

2020-09-23 Thread Carl Eugen Hoyos
Am Mi., 23. Sept. 2020 um 17:24 Uhr schrieb Thomas Seilund via ffmpeg-user : > Now I write to udp and not to a local file with this command: > > raspivid -t 0 -b 1000 -n -o udp://239.255.42.42:5004 > Connecting to 239.255.42.42:5004...connected, sending video... > > > On the same host I read f

Re: [FFmpeg-user] Segment at Scene Change

2020-09-23 Thread adam smith via ffmpeg-user
> I would like to segment and create a sequence of ts files that are split > based on a scene change threshold, and have a separate ts file for each song. You could probably do this in two passes. The first using the select filter to find the timing of each new image. The second pass using the

Re: [FFmpeg-user] bwdif filter question

2020-09-23 Thread Paul B Mahol
On Wed, Sep 23, 2020 at 04:26:27PM -0400, Mark Filipak (ffmpeg) wrote: > On 09/23/2020 03:53 PM, Carl Eugen Hoyos wrote: > > Am Di., 22. Sept. 2020 um 00:47 Uhr schrieb Mark Filipak (ffmpeg) > > : > > > > > > On 09/21/2020 06:07 PM, Carl Eugen Hoyos wrote: > > > > Am Mo., 21. Sept. 2020 um 14:16 U

Re: [FFmpeg-user] Correct conversion of yuvj420p?

2020-09-23 Thread Peter B.
Hi Ted, On 11.09.20 14:03, Ted Park wrote: My problem is, that I have literally hundreds (actually more than 1000+) of these H.264/yuvj420p files that are to be auto-converted to archival FFV1, but because of the "j" the "pix_fmt +" option cannot be used, which throws all those files into error

[FFmpeg-user] Which graphics card for FFmpeg + Linux?

2020-09-23 Thread Peter B.
Hi everyone! I've searched the web for infos about which graphics card/GPU to get for using FFmpeg's hardware encoding/decoding features, but the results where either heavily dated or unclear. If someone can point me at something, I'd be very grateful :) Sorry if this has been asked a million

Re: [FFmpeg-user] bwdif filter question

2020-09-23 Thread Mark Filipak (ffmpeg)
On 09/23/2020 05:27 PM, Paul B Mahol wrote: On Wed, Sep 23, 2020 at 04:26:27PM -0400, Mark Filipak (ffmpeg) wrote: On 09/23/2020 03:53 PM, Carl Eugen Hoyos wrote: Am Di., 22. Sept. 2020 um 00:47 Uhr schrieb Mark Filipak (ffmpeg) : On 09/21/2020 06:07 PM, Carl Eugen Hoyos wrote: Am Mo., 21. S

[FFmpeg-user] ffplay struggling with this station!

2020-09-23 Thread Firas Shahin via ffmpeg-user
Hi, I have had this problem streaming a specific radio station where every time a new TS is opened (fetched), the "aq" value drops to zero from 20KB which produces a "skip" effect every fixed period of time! VLC plays THIS station properly, and I have NO problem playing a bunch of other radio st

Re: [FFmpeg-user] ffplay struggling with this station!

2020-09-23 Thread Carl Zwanzig
Hello, Please limit the use of "!"... On 9/23/2020 3:19 PM, Firas Shahin via ffmpeg-user wrote: ffplay version 3.2.15-0+deb9u1 Copyright (c) 2003-2020 the FFmpeg developers built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516 That's quite an old version, you'll need to try with an up-to-date

Re: [FFmpeg-user] ffplay struggling with this station!

2020-09-23 Thread Edward Park
Hi, > I use the following command to play the station: > $ ffplay -nodisp -vn -fflags nobuffer -fflags discardcorrupt -flags low_delay > https://jrtv-live.ercdn.net/jrradio/englishradiovideo.m3u8 I think “-fflags nobuffer” tells ffplay not to buffer? So there will be nothing to play every tim

Re: [FFmpeg-user] ffplay struggling with this station!

2020-09-23 Thread Firas Shahin via ffmpeg-user
Ted, I did try without that buffer flag, but that had no effect. I’m going to try updating ffplay, and see if that helps. Also, I’ve noticed that vlc had a 1000 ms “network cache”, and I wonder if that had anything to do with playing that station flawlessly. Firas > On Sep 23, 2020, at 17:5

[FFmpeg-user] "cookies" option doesn't seem to work.

2020-09-23 Thread Benjamin Peng
I'm trying to set cookies for a HLS request. >ffmpeg -v 99 -cookies "test=blabla;" -i https://del.thumva.com/hls/20200621-0005-05/index_1.m3u8 But the request doesn't actually include my cookie: [https @ 005f7100] request: GET /hls/20200621-0005-05/index_1.m3u8 HTTP/1.1 User-Agent: Lavf/

Re: [FFmpeg-user] "cookies" option doesn't seem to work.

2020-09-23 Thread Edward Park
Hi, > I'm trying to set cookies for a HLS request. > >> ffmpeg -v 99 -cookies "test=blabla;" -i > https://del.thumva.com/hls/20200621-0005-05/index_1.m3u8 > > But the request doesn't actually include my cookie: See docs for http in ffmpeg-protocols. > At the very least, each cookie must specif

Re: [FFmpeg-user] ffplay struggling with this station!

2020-09-23 Thread Edward Park
Hi, I just realized that the station was public, so I just tried: % ffplay -nodisp -vn "https://jrtv-live.ercdn.net/jrradio/englishradiovideo.m3u8” no issues. > I did try without that buffer flag, but that had no effect. I’m going to try > updating ffplay, and see if that helps. Yeah also updat

Re: [FFmpeg-user] ffplay struggling with this station!

2020-09-23 Thread Mark Filipak (ffmpeg)
On 09/24/2020 12:52 AM, Edward Park wrote: Hi, I just realized that the station was public, so I just tried: % ffplay -nodisp -vn "https://jrtv-live.ercdn.net/jrradio/englishradiovideo.m3u8” no issues. I did try without that buffer flag, but that had no effect. I’m going to try updating ffpla

Re: [FFmpeg-user] "cookies" option doesn't seem to work.

2020-09-23 Thread Benjamin Peng
Thank you Ted! I totally overlooked the text and thought "path" and "domains" are just the cookie content in that example. On Wed, Sep 23, 2020 at 11:19 PM Benjamin Peng wrote: > I'm trying to set cookies for a HLS request. > > >ffmpeg -v 99 -cookies "test=blabla;" -i > https://del.thumva.com/

Re: [FFmpeg-user] Which graphics card for FFmpeg + Linux?

2020-09-23 Thread Edward Park
Hi, > I've searched the web for infos about which graphics card/GPU to get for > using FFmpeg's hardware encoding/decoding features, but the results where > either heavily dated or unclear. > If someone can point me at something, I'd be very grateful :) > > Sorry if this has been asked a millio