Re: [FFmpeg-user] OT: a term for trying to avoid making mistakes due to unfamiliarity with a subject

2024-01-17 Thread Leo Butler via ffmpeg-user
Thanks for that trip down the rabbit hole. I had never heard the term before, so when I looked it up, I came across this: https://archive.nytimes.com/opinionator.blogs.nytimes.com/2010/06/20/the-anosognosics-dilemma-1/ Warning: it's part 1 of 5 parts. Leo On Tue, Jan 16, 2024 at 6:59 AM Rob

Re: [FFmpeg-user] drawtext filter missing

2023-11-29 Thread Leo Butler via ffmpeg-user
On 11/28/23, Paul B Mahol wrote: > On Tue, Nov 28, 2023 at 9:40 PM Leo Butler via ffmpeg-user < > ffmpeg-user@ffmpeg.org> wrote: > >> Hello, >> >> I ran into this problem with the current Debian testing build, so I >> thought I would try the static bu

[FFmpeg-user] drawtext filter missing

2023-11-28 Thread Leo Butler via ffmpeg-user
Hello, I ran into this problem with the current Debian testing build, so I thought I would try the static build. Both are compiled with --enable-libfreetype but both barf on a drawtext filter. I am attaching the log file from the static build. According to:

Re: [FFmpeg-user] How to add title and chapters to mkv file

2023-10-18 Thread Leo Butler via ffmpeg-user
On 10/15/23, Ulf Zibis wrote: > Hi, > > is there a tutorial on how to add title and chapters to mkv file? > > I didn't find any information in ffmpeg documentation and wiki. > > Thanks, > > -Ulf > The answer is not specific to any particular container. The easiest way, in my opinion, is to

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

2023-10-18 Thread Leo Butler via ffmpeg-user
On 10/16/23, Cecil Westerhof via ffmpeg-user wrote: > 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

Re: [FFmpeg-user] Piping from FFmpeg to FFplay

2022-11-13 Thread Leo Butler via ffmpeg-user
On Sun, Nov 13 2022, Michael Koch wrote: > I have a question about piping from FFmpeg to FFplay (in a Windows > batch file): > > ffmpeg -f lavfi -i testsrc2 -f nut | ffplay - > > This command line works fine and I have used it many times. But I > don't know what's the meaning of the - character

Re: [FFmpeg-user] Re-encoding mkv files from makemkv

2022-10-12 Thread Leo Butler via ffmpeg-user
On Tue, Oct 11 2022, pehache wrote: > Le 08/09/2022 à 00:04, James Board via ffmpeg-user a écrit : >> I'm trying to re-encode an MKV file that I originally created with makemkv >> from the original BluRay disc.  My ffmpeg command is: >>     ffmpeg-4.1.2-amd64-static/ffmpeg -y -i >>

Re: [FFmpeg-user] R: Question: how i can overlay an input with current date and time?

2022-10-12 Thread Leo Butler via ffmpeg-user
On Tue, Oct 11 2022, wrote: > It's a mess the way ffmpeg handle the paths on windows ... for inputs it use > the standard way drive:\folder\file but for filters it use that > drive:\\:/folder/file it's illogical to me! The syntax is drive\\:/path/to/file, not what you have written. Why?

Re: [FFmpeg-user] concat filter

2022-07-09 Thread Leo Butler via ffmpeg-user
On Tue, Jul 05 2022, Carl Zwanzig wrote: > On 7/4/2022 8:04 AM, Leo Butler via ffmpeg-user wrote: >> Question: Is there a better way to sidestep the problem of changing >> width or height? e.g. does ffmpeg already have a way to handle width or >> height changes? >

[FFmpeg-user] concat filter

2022-07-04 Thread Leo Butler via ffmpeg-user
Hello, I am transcoding recordings using the concat filter. A problem that occurs from time-to-time is that the broadcaster switches the width and/or height in the middle of a broadcast. That ends up causing an error with the concat filter. The only way that I can think of to handle this issue

Re: [FFmpeg-user] Still images to video sequence?

2022-02-19 Thread Leo Butler via ffmpeg-user
Simon Roberts writes: > Hi all, I would like to create a video sequence built around a number of > still images. Each image would be displayed for a number of seconds, then > dissolve/fade (not certain of the terminology) into the next. > > To date, my experience with ffmpeg has been very

[FFmpeg-user] map_metadata to overwrite metadata?

2022-02-04 Thread Leo Butler via ffmpeg-user
Synopsis: I have a video (.webm) with existing chapter metadata. I want to overwrite that with data from a metadata file. I don't understand why map_metadata can write, but does not overwrite, chapter metadata. Try: Create a video with a couple chapters (see below): ffmpeg -y -f lavfi -i

Re: [FFmpeg-user] Of ffmeg user interest: NASA UHD program re-streaming

2022-01-21 Thread Leo Butler via ffmpeg-user
Anton Kapela writes: > Folks, > > I had a fun weekend project and thought to share it here since it uses > ffmpeg at every step, from receiver onwards. > > reddit.com/r/nasa/comments/s2x175/nasa_uhd_returns_to_the_internet > > If anyone's curious, can happily post all the invocations and general

Re: [FFmpeg-user] Removing parts of a video using the select filter

2022-01-09 Thread Leo Butler via ffmpeg-user
Simon van Bernem via ffmpeg-user writes: > Those look very promising, but my version of ffmpeg doesn'tknow the segment > filter. I found it in the changelog for version5, but the website lets me > only download 4.4 and the github'slast release is 3.0 from 2016. Is the > segment filter not

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

2021-12-26 Thread Leo Butler via ffmpeg-user
Cecil Westerhof via ffmpeg-user writes: > I have the recording of a zoom meeting where I need to cut out a > portion from and the first little bit has to be blacked out. > > I use the following command: > ffmpeg -y\ > -ss 00:26:05

Re: [FFmpeg-user] Concatenating video cuts - audio gets out of sync...

2021-12-17 Thread Leo Butler via ffmpeg-user
"Bouke (Edit 'B)" writes: >> On 17 Dec 2021, at 11:08, Bo Berglund wrote: >> >> Can I keep the copy for video but re-encode for audio? >> Some ffmpeg command suggestion? > > -c:v copy -c:a ‘something’, but no clue if it will help you… You want to look into the concat filter (section 44.8)

Re: [FFmpeg-user] IP Camera Stream "Conversion failed!" from newer ffmpeg instance, but not from older?

2021-11-07 Thread Leo Butler via ffmpeg-user
Steven Kan writes: > I normally stream my IP cameras to YouTube from my RPi. I just got my spiffy > new (used) M1-based Mac mini, so I’m trying to move my streams over there so > I can use the extra horsepower to stream 2-up from 2 cameras into one stream. > > But first I want to just

Re: [FFmpeg-user] Multiple input streams, one continuous output stream?

2021-11-01 Thread Leo Butler via ffmpeg-user
Steven Kan writes: > Hi! I currently stream my IP cameras to YouTube with a command of the form: > > ffmpeg -i "rtsp://anonymous:password@192.168.1.11:554" -vcodec copy > -acodec copy -t 01:00:00 -f flv > "rtmp://a.rtmp.youtube.com/live2/my-youtube-streaming-key” > > It works well, for a single

Re: [FFmpeg-user] Duration of an image (video) concatenated to another video

2021-10-30 Thread Leo Butler via ffmpeg-user
Ilia Katz writes: > I am using the following command to concatenate a PNG image to a MP4 video. > Both are of 920 × 256 resolution. > > ffmpeg -loop 1 -vsync 2 -t '20ms' -i '/path/to/image' -t '20ms' -f lavfi -i > aevalsrc=0 -i '/path/to/video' -filter_complex '[0:0] [1:0] [2:0] [2:1] >

Re: [FFmpeg-user] [EXTERNAL] Re: attempting to extract srt from mpg

2021-10-22 Thread Leo Butler via ffmpeg-user
"Shupert, Jim via ffmpeg-user" writes: > command-line copying >> seems > to >> have omitted stuff. > > If I understand correctly, your command line uses the Libavfilter input > virtual device and a multimedia source. > > If the success of that command line depends on either, please clarify how

Re: [FFmpeg-user] [EXTERNAL] Re: attempting to extract srt from mpg

2021-10-20 Thread Leo Butler via ffmpeg-user
"Shupert, Jim via ffmpeg-user" writes: > Here is an example with ffmpeg: > > $ /usr/bin/ffmpeg -f lavfi -i \ > 'movie=4131_2015081418.mpg[out0+subcc]' -t 00:01:00 -map s \ > /tmp/4131_2015081418.mpg.srt Top posting is discouraged on this list. See the documentation here for more

Re: [FFmpeg-user] attempting to extract srt from mpg

2021-10-19 Thread Leo Butler via ffmpeg-user
John Finlay via ffmpeg-user writes: > I use CCExtractor at https://ccextractor.org/ for this purpose. > > John > > On 10/19/21 12:36 PM, Shupert, Jim via ffmpeg-user wrote: >> Friends >> >> I have a mpg that I wish to extract the captions as a file.srt. >> >> I have tried a few things I found

Re: [FFmpeg-user] Parse a transport stream and get just 1 program

2021-10-12 Thread Leo Butler via ffmpeg-user
"Shupert, Jim via ffmpeg-user" writes: > -Original Message- > From: ffmpeg-user On Behalf Of Shupert, Jim > via ffmpeg-user > Sent: Sunday, October 10, 2021 5:15 PM > To: ffmpeg-user@ffmpeg.org > Cc: Shupert, Jim > Subject: [EXTERNAL] [FFmpeg-user] Parse a transport stream and get

Re: [FFmpeg-user] How to check if a youtube URL is valid before starting download?

2021-07-08 Thread Leo Butler via ffmpeg-user
Bo Berglund writes: > Here is the complete result including my test of the exit code of ffmpeg: > > > $ ffmpeg -i bluearrow.mp4 -vf "freezedetect=n=0.01:d=5" -map 0:v:0 -f null - > [freezedetect @ 0x55ce112ce980] lavfi.freezedetect.freeze_start: 0

Re: [FFmpeg-user] Recording mjpg IP-Cam Stream via http

2021-06-21 Thread Leo Butler via ffmpeg-user
correct? Yes. The ffmpeg manual is pretty good at explaining how this works. > > It's nice when it works :) Very much so! Best, Leo > > > > Leo Butler via ffmpeg-user: >> "S. Helbig via ffmpeg-user" writes: >> >>> Hello, >>>

Re: [FFmpeg-user] Recording mjpg IP-Cam Stream via http

2021-06-21 Thread Leo Butler via ffmpeg-user
"S. Helbig via ffmpeg-user" writes: > Hello, > > I've been trying to record an IP-cam stream (Foscam, mjpg) via http with > ffmpeg. > > The stream URL looks like this: > http://192.168.1.123:456/videostream.cgi?user=USERNAME=PWD > > So I created the string (w.o line wrap): > ffmpeg -i -loglevel

Re: [FFmpeg-user] How to repair iPhone photos

2021-05-15 Thread Leo Butler via ffmpeg-user
Ulf Zibis writes: > Hi, > > I have some photos from a iPhone in HEIC format. Is there a chance, to > convert them to a "normal" format? Try convert image.heic image.jpg convert is a program in the imagemagick suite. https://www.imagemagick.org/script/convert.php Leo

Re: [FFmpeg-user] How to filter time dependent

2021-04-23 Thread Leo Butler via ffmpeg-user
Ulf Zibis writes: > Am 22.04.21 um 13:01 schrieb Michael Koch: >> Am 22.04.2021 um 12:50 schrieb Ulf Zibis: >>> Hi, >>> >>> I want to filter a video from pts 0 to 1999 with filter A, then from 2000 >>> to 2199 with filter B, from 2200 with filter A and finally the whole stream >>> with filter

Re: [FFmpeg-user] How to detect commercials in recorded TV stream?

2021-03-27 Thread Leo Butler via ffmpeg-user
Rob Hallam writes: > On Sat, 27 Mar 2021 at 11:39, Peter White wrote: >> >> On Sat, Mar 27, 2021 at 08:15:23AM +0100, Bo Berglund wrote: >> > I am using ffmpeg in scripts to download from a live stream TV channel >> > nightly >> > so I can view the shows in the morning. >> >> I also seem to

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

2021-03-27 Thread Leo Butler via ffmpeg-user
Bo Berglund writes: > On Sat, 27 Mar 2021 10:06:03 +0100, Peter White > wrote: > >>> But it all looks the same with the time incrementing at exactly 5 seconds... >> >>Looks like someone took extra care to have a static keyframe interval. >>One can do that. With default codec options x264 won't

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] ffmpeg-lambda-layer and concat protocol

2021-02-24 Thread Leo Butler via ffmpeg-user
Carl Eugen Hoyos writes: > Am Mi., 24. Feb. 2021 um 23:37 Uhr schrieb Maksym Portianoi > : > >> No, cat won't solve my issue > > Then your command line most likely will not work either, > independent from "lambda". The concat protocol works > exactly as cat. Most likely, you need to look at

Re: [FFmpeg-user] Add subtitles to trimmed mp4

2021-02-12 Thread Leo Butler via ffmpeg-user
adam smith via ffmpeg-user writes: > Hi people, I have a subtitle question; yay. > > I have a 2 minute mp4 that I am going to trim using -ss and -to . > > I have a SRT subtitle file with timings that will line up with the trimmed > mp4. > > If I try and trim the mp4 and add the subtitles at

Re: [FFmpeg-user] Troublemaker in bugtracker

2021-01-26 Thread Leo Butler via ffmpeg-user
"Mark Filipak (ffmpeg)" writes: > On 01/25/2021 03:58 PM, Leo Butler via ffmpeg-user wrote: >> "Sergey \"GrayFace\" Rozhenko via ffmpeg-user" >> writes: >> >>> Hello. >>> >>> I've met a childish person with

Re: [FFmpeg-user] Troublemaker in bugtracker

2021-01-25 Thread Leo Butler via ffmpeg-user
"Sergey \"GrayFace\" Rozhenko via ffmpeg-user" writes: > Hello. > > I've met a childish person with nickname "cehoyos" that made it his > goal to block a bug report I've filed. Please do not use such derogatory characterizations. You are insulting someone who is giving his time without cost to

Re: [FFmpeg-user] Screenrecording bound to a certain window & desktop ?

2020-12-29 Thread Leo Butler via ffmpeg-user
tu...@posteo.de writes: > Hi, > > (I am using GENTOO Linux and X11/openbox and a NVidia GeForce RTX 2060 SUPER > graphics card.) > > I want to use ffmpeg for screenrecording (beside other tings of > course...) > > > Currently I need to stay on the certain desktop, which I currentlu > recording. >

Re: [FFmpeg-user] Fwd: OBS and OBS Portable Recording Into Same File Simultaneously

2020-06-25 Thread Leo Butler via ffmpeg-user
David Bayles writes: > Corrupted video file, FFprobe output text file, and FFmpeg output text file > are all available to download here: > https://drive.google.com/drive/folders/1R0Y5plgkhTWWFNNKgSNJ5yitpKQbIKgg?usp=sharing > > I'm hoping there is a way to extract good video and audio from this

Re: [FFmpeg-user] ffmpeg drops 360 video metadata

2020-06-15 Thread Leo Butler via ffmpeg-user
Rama Krishna Thelagathoti writes: > Hello ffmpeg team, kindly help me with following issue > 360sample.mp4 is 360 video and with following command out.mp4 is also 360 > video. > > sudo ffmpeg -i 360sample.mp4 -vcodec libx264 -strict unofficial > -vprofile high -acodec aac out.mp4 An aside: You

Re: [FFmpeg-user] combining concat filter with closed caption extraction

2020-06-13 Thread Leo Butler via ffmpeg-user
Nicolas George writes: > I just told you it does not need to “use it like” an input because it > ***IS*** an input. Thank you for your heat, if not light. Leo ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org

Re: [FFmpeg-user] combining concat filter with closed caption extraction

2020-06-12 Thread Leo Butler via ffmpeg-user
Nicolas George writes: >> Rather than creating the file C.mkv in the first pass, can the lavfi >> filter use the video output stream of the concat filter directly? > > My answer is the same: 'movie=C.mkv[out0+subcc]' is just another input, > like B.ts. You can see that because they both have -i

Re: [FFmpeg-user] combining concat filter with closed caption extraction

2020-06-11 Thread Leo Butler via ffmpeg-user
Nicolas George writes: > Leo Butler via ffmpeg-user (12020-06-10): >> ffmpeg -i C.mkv -f lavfi 'movie=C.mkv[out0+subcc]' -map 0 -map 1:s D.mkv > > You are missing a -i in this command line. > >> Question: Is there a way to reduce this to one pass? > > With the

[FFmpeg-user] combining concat filter with closed caption extraction

2020-06-10 Thread Leo Butler via ffmpeg-user
Currently, the only way I know to extract/insert closed captions as a subtitle stream is in 2 passes. Something like ffmpeg -i A.ts -i B.ts -filter_complex '[0:0][0:1][1:0][1:1] concat=n=2:v=1:a=1' C.mkv ffmpeg -i C.mkv -f lavfi 'movie=C.mkv[out0+subcc]' -map 0 -map 1:s D.mkv (In practice, A.ts