Re: [FFmpeg-user] FFmpeg list footer

2021-03-09 Thread Carl Zwanzig
On 3/9/2021 11:52 AM, Jim DeLaHunt wrote: Yes, few people read the list FAQ. I suspect the issue is that very few people know that the FAQ exists and ought to be read/followed, this includes some long-time list members, The list FAQ should also be mentioned in the the welcome message. I rai

Re: [FFmpeg-user] Is ffmpeg's "Output Stream" framerate... wrong?

2021-03-16 Thread Carl Zwanzig
On 3/15/2021 6:51 PM, roninpawn wrote: I develop a Python application used to conduct official timing for speedrunning leaderboards based on automated video analysis. Instead of relying on output frame rate, have you considered using the Presentation Time Stamps (PTS) of the input? Those more

Re: [FFmpeg-user] ffmpeg srt to udp

2021-03-19 Thread Carl Zwanzig
On 3/19/2021 8:00 AM, adam smith via ffmpeg-user wrote: Have you tried increasing the latency of the incoming SRT stream? Please do not top-post on this mailing list (yes, it's in the list FAQ). z! ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org

Re: [FFmpeg-user] Recorded Frame Timestamps are Inconsistent! How to Fix it?

2021-03-21 Thread Carl Zwanzig
Please do not top-post on this list. On 3/21/2021 10:31 AM, Hassan wrote: ... Following is the command. ffmpeg -f gdigrab -framerate 60 -offset_x 550 -offset_y 350 -video_size 640x480 -thread_queue_size 1024 -i desktop -vf "settb=AVTB, setpts='trunc(PTS/1K)*1K+st(1,trunc(RTCTIME/1K))-1K*trunc(

Re: [FFmpeg-user] Recorded Frame Timestamps are Inconsistent! How to Fix it?

2021-03-22 Thread Carl Zwanzig
On 3/22/2021 12:36 PM, Hassan wrote: Or suggest any other solution. I did. z! ___ 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.o

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] 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 wo

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

2021-03-29 Thread Carl Zwanzig
On 3/29/2021 8:41 AM, Carl Eugen Hoyos wrote: If you go from 24000/1001 or 24 to 25, it should be acceptable to change the speed, just force an input framerate of 25 and change the audio pitch. Agreed; in PAL broadcast territory that's been the accepted practice for many (70? 80?) years (and I

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

2021-03-29 Thread Carl Zwanzig
On 3/29/2021 9:47 AM, Nicolas George wrote: You mean that most movies from the NTSC area sold as PAL DVD likely exist? I can confirm, they exist. Please be careful with the words- "movies" (made for theatrical release) are filmed at 24.0 fps. And pretty much anything committed to -film- will b

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

2021-03-29 Thread Carl Zwanzig
On 3/29/2021 11:03 AM, Nicolas George wrote: Phil Rhodes via ffmpeg-user (12021-03-29): For the sake of being really rigorously correct, yes, 24.0 or 24000/1001. Once again, you are wrong. The 1000/1001 factor is an artifact of color TV. It's an artifact that is still used. Moreover, I've n

Re: [FFmpeg-user] Error Message: sps_id 1 out of range

2021-04-03 Thread Carl Zwanzig
On 4/2/2021 2:55 PM, Simone Croci wrote: I am decoding an MVC H.264 video and I get a lot of error messages "sps_id 1 out of range". What is the problem? is it caused by the fact that ffmpeg does not support MVC H.264? Please include the complete command and its complete output. If you aren't

Re: [FFmpeg-user] Error Message: sps_id 1 out of range

2021-04-03 Thread Carl Zwanzig
On 4/3/2021 1:18 PM, Simone Croci wrote: This is the command: need the output (-always- include the output, in the email, not attached nor linked to another site). z! ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/li

Re: [FFmpeg-user] Guide to denoise VHS videos

2021-04-11 Thread Carl Zwanzig
On 4/11/2021 3:10 AM, Ulf Zibis wrote: does anyone know a good guide how to denoise mpeg2 videos, which come from VHS videos, recorded with DVD-recorder? I assume you're stuck with the captures you already have, yes? (Most of the issues come from the analog world and ought to be fixed there-

Re: [FFmpeg-user] Guide to denoise VHS videos

2021-04-11 Thread Carl Zwanzig
On 4/11/2021 12:41 PM, Phil Rhodes via ffmpeg-user wrote: Did anyone ever write a TBC filter in software? It might be a bit dependent on picture content, but it strikes me it ought to be possible to do something that would match up the horizontal position of rows of pixels by minimising contrast

Re: [FFmpeg-user] Guide to denoise VHS videos

2021-04-12 Thread Carl Zwanzig
On 4/11/2021 3:39 PM, Ulf Zibis wrote: What is TBC? Time Base Corrector - corrects/standardizes the timing of analog signals coming off tape (see https://en.wikipedia.org/wiki/Time_base_correction for a good description). z! ___ ffmpeg-user mailin

Re: [FFmpeg-user] Preserving PAL 720x576 resolution

2021-04-12 Thread Carl Zwanzig
On 4/12/2021 2:42 PM, Carl Eugen Hoyos wrote: Matthew works professionally in digital archiving and I strongly suspect he does know "what it means". That's good to hear, but expecting everyone else to know is ridiculous. z! ___ ffmpeg-user mailing li

Re: [FFmpeg-user] Preserving PAL 720x576 resolution

2021-04-12 Thread Carl Zwanzig
On 4/12/2021 2:42 PM, Carl Eugen Hoyos wrote: and since Matthew didn't mention "interlaced" Video (ORIGINAL) Scan type: Interlaced Scan order : Top Field First Yes, he did. z! ___ ffmpeg-

Re: [FFmpeg-user] Preserving PAL 720x576 resolution

2021-04-13 Thread Carl Zwanzig
On 4/13/2021 12:48 AM, Kieran O Leary wrote: The developer of mediainfo, as mediainfo output was included. Cool, so completely irrelevant* to the question; that or we start "blaming" every developer for their program's output. *only important if MI and ffmpeg report contradicting info for th

Re: [FFmpeg-user] Advice on getting help from ffmpeg-user list

2021-04-13 Thread Carl Zwanzig
On 4/13/2021 1:29 AM, Reindl Harald wrote: 99% of users simply have not the mentally capabilities to get a working snapshot compiled at all Sort of- Most of the users are just that, _users_; they're not developers and it's ridiculous to expect it. I don't think it's not having "mentally capab

Re: [FFmpeg-user] How to convert video.ts to video.mp4 efficiently?

2021-04-13 Thread Carl Zwanzig
On 4/13/2021 8:49 AM, Bo Berglund wrote: set COMMAND=ffmpeg -hide_banner -i %INFILE% -vf scale=w=-4:h=%VSIZE% -c:v libx264 -preset fast -crf 20 -c:a copy %OUTFILE% a) you should add " -movflags +faststart" if writing to an mp4 file b) always post the complete command _and_ it's output without -

Re: [FFmpeg-user] How to convert video.ts to video.mp4 efficiently?

2021-04-13 Thread Carl Zwanzig
On 4/13/2021 9:11 AM, Bo Berglund wrote: How do I specify an output format? I did not do that in the original command where the size was also changed and it still made the mp4 format... Not to be unkind, but have you read the man page for ffmpeg? -f fmt (input/output) Force input or output

Re: [FFmpeg-user] Windows FFMPEG Playback

2021-04-14 Thread Carl Zwanzig
On 4/13/2021 4:55 PM, Gabriel Silva via ffmpeg-user wrote: I am trying to find the most optimized method using FFMPEG or FFPLAY to playback videos on Windows and Intel architecture. Unless you must use ffmpeg, you're going to be better off with software that's built for play/display (e.g. vlc).

Re: [FFmpeg-user] Combining download of ts stream with geometry modification into mp4?

2021-04-18 Thread Carl Zwanzig
On 4/18/2021 11:20 PM, Bo Berglund wrote: Can I combine these two operations into a single ffmpeg command such that there is no intermediate ts file created and the mp4 is available essentially when the download completes? You can combine them, but* then the "download" will be extended by the t

Re: [FFmpeg-user] Combining download of ts stream with geometry modification into mp4?

2021-04-19 Thread Carl Zwanzig
On 4/19/2021 4:46 AM, Bo Berglund wrote: *assuming that the source is producing a ts which is captured as-is I think that it is, Which would be easily answered by including the command output (which should have been in the initial email). Have you tried simply replacing -i with -user_

Re: [FFmpeg-user] Local latency with FFplay

2021-04-22 Thread Carl Zwanzig
On 4/22/2021 12:43 AM, Bouke wrote: Trying to view a stream while recording. (That 'sorta kinda' works with a tee and udp streaming, but has a horrible delay.) Ideal would be to keep FFplay open, and start / stop FFmpeg for recording, or just viewing the incoming signal. The BMD recorder app doe

Re: [FFmpeg-user] Credit Notes (bulk creation)

2021-04-28 Thread Carl Zwanzig
On 4/28/2021 9:26 AM, Adrian Perello Marin wrote: Is it possible to do this by command line so that it reads the content of the CSV (video name and credits text) and processes them in a "more or less" automatic way? As Nicolas says, not directly, however it would be a relatively simple script to

Re: [FFmpeg-user] Media Express vs FFmpeg CPU use

2021-04-28 Thread Carl Zwanzig
On 4/28/2021 3:03 AM, Bouke wrote: Trying to capture decklink input to ProRes. FFmpeg is VERY cpu hungry (230 % on my sytem in the example below, increasing when upping the quality of Prores) Media Express / VTEncoderXPCservice use just half the CPU. My assumption is that the BMD code is simpl

Re: [FFmpeg-user] Media Express vs FFmpeg CPU use

2021-04-28 Thread Carl Zwanzig
On 4/28/2021 11:15 PM, Bouke wrote: Can you capture into something else and then transcode? Nah, the whole idea is to be done as fast as possible, so not to transcode… You _have_ to encode (not transcode), the SDI input is raw uncompressed frames ("rawvideo (UYVY / 0x59565955)"); capturing th

Re: [FFmpeg-user] problem streaming

2021-05-05 Thread Carl Zwanzig
On 5/5/2021 12:04 PM, Juan carlos Rebate wrote: the input is .\ffmpeg.exe -i prueba.mp4 -c:v libx264 -deinterlace -chunked_post 1 -seekable 1 -f mp4 -listen 1http://myip:80 What is the complete unedited output? And maye sure you're using the latest build of ffmpeg (see https://ffmpeg.org/maili

Re: [FFmpeg-user] fragmented mp4 and playing while converting

2021-05-05 Thread Carl Zwanzig
On 5/5/2021 5:50 PM, Julien Dotsev wrote: ffmpeg -re -i input.avi -movflags +faststart output.mp4 but like this I can not open at all the file during the conversion. Among other things, AFAIK -movflags +faststart happens after the conversion has been finalized and involves writing a new file w

Re: [FFmpeg-user] fragmented mp4 and playing while converting

2021-05-06 Thread Carl Zwanzig
First off, do not top-post in this mailing list (it's in the FAQ, link in an earlier email) On 5/5/2021 6:29 PM, Julien Dotsev wrote: As I mentioned above I want to be able to play it in a HTML tag. As in a video tag it can be only 3 formats. I can't play avi, so that's why I try to convert i

Re: [FFmpeg-user] “Real Time”, “Slow Motion” and “Time Lapse”

2021-05-10 Thread Carl Zwanzig
On 5/10/2021 12:50 PM, Bryce Newman wrote: I have - for example - three videos that which visually can be classified as “Real Time”, “Slow Motion” and “Time Lapse”. Expanding on what Nicolas wrote- "real-time" generally means that an image was captured at a set rate with the _intent_ of show

Re: [FFmpeg-user] h265 file from IP camera - audio stream

2021-05-15 Thread Carl Zwanzig
On 5/15/2021 10:33 AM, Martin Woolley wrote: But as you have no doubt discovered, neither format plays in VLC. Apologies for my lack of rigour. Just to confirm- you are using the latest version of vlc (3.1.14)? Probably doesn't make a difference, but would be good to know. z! _

Re: [FFmpeg-user] triming an audio wavfile

2021-05-24 Thread Carl Zwanzig
On 5/24/2021 1:18 PM, pink panther wrote: I have a 325kb audio wave file recorded in g729. I am trying to trim it to 1 minute. I have tried almost every command I see from guys using ffmpeg and none seem to work.Can someone assist? What have you tried and what's the command output? (please rea

Re: [FFmpeg-user] triming an audio wavfile

2021-05-24 Thread Carl Zwanzig
Please learn what top-posting is and stop doing it on this list. On 5/24/2021 6:40 PM, pink panther wrote: I tried it with the double quotes and got the following. Same out I got using the other statements I got from the other links C:\ffmpeg>ffmpeg -i "Mohg729.wav" -ss 00:00:00.00 -t 00:01:0

Re: [FFmpeg-user] Issue in converting a dss audio file to wav

2021-06-09 Thread Carl Zwanzig
On 6/9/2021 3:25 AM, Aman Bisht wrote: Please find the attached sample .dss audio used for conversion to .wav. Please put the file on a sharing site and include the URL. I’m using the below command to convert ffmpeg -I Welcome.dss output.wav I have attached the log report. And please inclu

Re: [FFmpeg-user] Failed to update header with correct duration. Failed to update header with correct filesize.

2021-06-17 Thread Carl Zwanzig
On 6/17/2021 4:40 AM, Gary Pfeffer via ffmpeg-user wrote: ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers Have you tried with the most recent ffmpeg? Older versions aren't supported on this list. You can pick up last night's build from https://ffmpeg.org/downloa

Re: [FFmpeg-user] Webcam stream join delay?

2021-06-17 Thread Carl Zwanzig
On 6/17/2021 6:19 AM, Jean Vézina wrote: I don’t think ffmpeg was designed for real time video processing, Perhaps the developers are planning to release a version that use GPU acceleration. ffmpeg is a conversion tool; on many platforms it's more than fast enough to do real-time processing (imp

Re: [FFmpeg-user] How to improve result of transitions

2021-06-22 Thread Carl Zwanzig
Please do not top-post in this list. On 6/22/2021 12:39 AM, ibur...@compuscience.com wrote: However, now that I understand that for 4 seconds transition you need 4 seconds on each video, Anyways, may be we can improve the documentation to explain that offset need to be such to allow duration

Re: [FFmpeg-user] How to improve result of transitions

2021-06-22 Thread Carl Zwanzig
On 6/22/2021 9:26 AM, Rob Hallam wrote: Is that always true? When I have tried (eg [1]) the second input starts*after* the first, easiest to see with eg testsrc filter. No time to try this at the moment, but might that be an artifact of using the lavfi device? I wouldn't think so, but maybe.

Re: [FFmpeg-user] Retain "private" data stream when converting to HLS or DASH

2021-06-24 Thread Carl Zwanzig
On 6/22/2021 1:14 PM, michael.cradd...@sony.com wrote: I am attempting to use an mp4 (or at this point, even an mpegts) to contain ONLY data (no video, no audio – audio may be added at a later time). Just curious here, and I know this doesn't answer the question, but is there a specific reason n

Re: [FFmpeg-user] 4K Way to large to stream

2021-06-28 Thread Carl Zwanzig
On 6/28/2021 4:01 PM, rbar...@njdevils.net wrote: I did a 10 sec preview from the middle of the file. It is very grainy. Is the -s 384x160 the output Frame Size? I think that would be way too small for a 4K video convert. As Nicolas said, check the doc for what those options do! Really! They

Re: [FFmpeg-user] 4K Way to large to stream

2021-06-29 Thread Carl Zwanzig
On 6/29/2021 5:57 AM, rbar...@njdevils.net wrote: The ' -s ' switch was not very informative from what I could discern in the document. I was unable to locate a parameter list for that switch. '-s' and '-r' are under 5.5 Video options (https://ffmpeg.org/ffmpeg.html#Video-Options) -s[:stre

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

2021-07-07 Thread Carl Zwanzig
On 7/7/2021 8:48 AM, Bo Berglund wrote: But now I saw a different error I also want to check for, this is when the stream semingly works fine but the video has frozen. Does that mean youtube continues to send duplicate frames (which are received w/o error) or that no frames are received at all

Re: [FFmpeg-user] Regarding FFMPEG usage

2021-07-08 Thread Carl Zwanzig
On 7/8/2021 7:14 AM, DEF wrote: On Thu, 8 Jul 2021 at 08:08, Sudhir Sharma via ffmpeg-user wrote: If we record a long video using FFMPEG like for 3 hours. It freezes a few minutes in the end, like for the ending 3 minutes. So single screen or blank black screen will be in the end for a few

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

2021-07-09 Thread Carl Zwanzig
On 7/9/2021 3:05 AM, Bo Berglund wrote: On Fri, 9 Jul 2021 11:46:19 +0200, Nicolas George wrote: My advice for this thread: don't try to run before you can walk. What kind of help is that? Are you a troll? In idiomatic English, it means to start with the simple, not with the complex. This

Re: [FFmpeg-user] FFmpeg DASH Optional Adaptation Set

2021-07-15 Thread Carl Zwanzig
On 7/15/2021 7:58 AM, Mar Andrés López wrote: The version I am using is 4.3.1 Please test with the most recent ffmpeg available (see https://ffmpeg.org/download.html); whatever you're trying -might- have been changed/fixed. Always post the full command output, that gives the readers a lot o

Re: [FFmpeg-user] Problem downloading ffprobe for Mac

2021-07-18 Thread Carl Zwanzig
On 7/18/2021 4:15 PM, Greg Edwards wrote: I'm following the links fromhttp://ffmpeg.org/download.html which lead to "Static builds for MacOS 64-bit" but the page is not responding. The site "evermeet.cx" seems to be down, no response from https://evermeet.cx/ffmpeg/ According to the google c

Re: [FFmpeg-user] FFMPEG ignores -timelimit

2021-07-20 Thread Carl Zwanzig
On 7/20/2021 12:23 PM, S. Helbig via ffmpeg-user wrote: ffmpeg -loglevel debug -hide_banner -timelimit 60 -i 'http://192.168.1.23:456/videostream.cgi?user=USER&pwd=PWD' -y -f segment -segment_time 3600 -segment_format mp4 -segment_atclocktime 1 -segment_wrap 3 -c copy /path/to/destination/recordi

Re: [FFmpeg-user] Why FFMPEG?

2021-08-15 Thread Carl Zwanzig
Well. since you asked. On 8/15/2021 12:28 PM, Android PowerUser wrote: If FFMPEG is a collection of codecs then why are the most memory efficient codecs not available. Could be than they're not freely available or license-compatible with ffmpeg? (Quite likely, actually.) Or that thos

Re: [FFmpeg-user] Why FFMPEG?

2021-08-15 Thread Carl Zwanzig
On 8/15/2021 1:28 PM, Android PowerUser wrote: I forgot to mention that I am referring to the FFMPEG Android app. A rather large omission; perhaps saying all of that up front would have made quite a different impression. As for platforms, I'd say the vast majority of ffmpeg users are on more

Re: [FFmpeg-user] Why FFMPEG?

2021-08-15 Thread Carl Zwanzig
On 8/15/2021 3:57 PM, Ulf Zibis wrote: Ansonsten wird hier strikt das sogenannte Top-Posting verdammt. Also bevor Du den üblichen Shitstorm kriegst, setzt Deine Antworten besser immer _unter_ den Text, auf den Du antwortest. Also mentioned at https://ffmpeg.org/mailing-list-faq.html#What-is-t

Re: [FFmpeg-user] Why FFMPEG?

2021-08-15 Thread Carl Zwanzig
On 8/15/2021 4:10 PM, Simon Brown wrote: Interesting to know that someone with the surname Zwanzig doesn't speak German. :-) Lots of us don't- our great-grandparents might have. Late,r z! ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https:/

Re: [FFmpeg-user] Why FFMPEG?

2021-08-15 Thread Carl Zwanzig
On 8/15/2021 4:27 PM, Android PowerUser wrote: I am now trying to use the quoted text. That’s probably at the bottom. As expected with my name, I also write these messages with my smartphone. I write gmail massages on my smartphone (with the email app)- it's not difficult at all to put the rep

Re: [FFmpeg-user] Why FFMPEG?

2021-08-15 Thread Carl Zwanzig
On 8/15/2021 5:58 PM, Android PowerUser wrote: And with a PC, I'm tied to one place. I just can't go to the couch. That's why I have a laptop, well, several; and a tablet, and a phone, and two servers- use the right tool for each job (rendering an hour of HD video on a PHONE is just stupid).

Re: [FFmpeg-user] How to download video stream starting at an earlier time?

2021-08-16 Thread Carl Zwanzig
On 8/16/2021 1:59 PM, Reino Wijnsma wrote: What makes you think FFmpeg supports Youtube urls? It's a reasonable assumption; if ffmpeg doesn't, just say so. z! ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffm

Re: [FFmpeg-user] Integration of ffmpeg

2021-08-16 Thread Carl Zwanzig
Not a lot of info to go on. On 8/16/2021 1:50 PM, The Admin wrote: Can you help me with this? Help up by providing the complete command and complete output of what you're trying (as the list FAQ directs). Does the command execute at all or run for a while but not finish? Have you tried di

Re: [FFmpeg-user] Integration of ffmpeg

2021-08-17 Thread Carl Zwanzig
On 8/17/2021 12:45 AM, Phil Rhodes via ffmpeg-user wrote: I can't remember what the solution was, but I seem to recall that it was something to do with the fact that ffmpeg writes most of its status information not to standard output, but to standard error, presumably so as to keep standard outpu

Re: [FFmpeg-user] Decimal times to frame numbers

2021-08-20 Thread Carl Zwanzig
I hate to disagree with you, but On 8/19/2021 5:56 AM, Nicolas George wrote: No, it is the other way around: you should not be thinking about frame numbers, you should be thinking about timestamps. Not necessarily Timestamps are an inherent property of the frame, they will be preserve

Re: [FFmpeg-user] Advice on using silence removal

2021-08-21 Thread Carl Zwanzig
What you'd doing is a "noise gate" function. A few ideas- Use either the mean volume or 3-6db below the max as the threshold. A more complicated version would be to examine the level at maybe half-second intervals and use that to determine the levels of the background and spoken parts of the c

Re: [FFmpeg-user] -ss before input improperly seeking?

2021-08-25 Thread Carl Zwanzig
On 8/25/2021 11:01 AM, amindfv--- via ffmpeg-user wrote: Is this a bug? Probably not, you're telling ffmpeg to do different things. You're also missing the complete command output from each command. z! ___ ffmpeg-user mailing list ffmpeg-user@ffmpe

Re: [FFmpeg-user] need help to convert wav to mp3

2021-09-22 Thread Carl Zwanzig
On 9/22/2021 6:08 AM, Ashtiani wrote: lame : Unsupported data format: 0x0701 Can't init infile 'input.wav' Please tell us _exactly_ what program or device has created these files. Stop "top-posting" on this list, see the list FAQ or google for more into. z! ___

Re: [FFmpeg-user] How to use ffmpeg to detect commercials

2021-09-30 Thread Carl Zwanzig
On 9/30/2021 6:45 AM, Venkateswaran.S wrote: You can easily detect the logo in image using opencv lib Yes, but that doesn't indicate much (the logo is often called a "bug" in broadcast). Detecting a "change of scene" is not too difficult, but here's the problem- how do you (technically) de

Re: [FFmpeg-user] How to use ffmpeg to detect commercials

2021-10-01 Thread Carl Zwanzig
On 10/1/2021 1:11 AM, Bo Berglund wrote: I have realized from comments here that the logo detection scheme is not really workable, so I am back to using this blackdetect method. You may find that looking for black frames isn't reliable either, in that their presence or absence is indicates jus

Re: [FFmpeg-user] Regarding video compression

2021-10-22 Thread Carl Zwanzig
On 10/21/2021 11:31 PM, Shailesh kumar Dangi via ffmpeg-user wrote: Can you please reduce the audio bitrate below 128Kbps? Do not top-post on this mailing list. Use a current build of ffmpeg. Include the command output in the _body_ of the email, not as an attachment. ffmpeg can be sensitive t

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

2021-10-27 Thread Carl Zwanzig
On 10/27/2021 1:56 PM, Steven Kan wrote: What options would I have if I want to cycle through N cameras, each with its own RTSP URI, switching cameras every M seconds? Can this be done from an ffmpeg command? Or is there where ffserve gets involved? ffserver was removed 3-4 years ago. You _might_

Re: [FFmpeg-user] How to contribute to Wiki

2021-11-02 Thread Carl Zwanzig
On 11/2/2021 11:43 AM, PPRJ01 wrote: My question is how can I add a new page with my contribution before linking it to an existing page ? Please read the wiki's doc, that should tell you everything (as will looking at pages in Edit view). z! ___

Re: [FFmpeg-user] Alternative to Dynamic Text

2021-11-04 Thread Carl Zwanzig
(I haven't had enough coffee yet and my remembrance of the nuances of mmap are sketchy) On 11/4/2021 5:14 AM, LianCheng wrote: Yes, would like to know in ffmpeg, under drawtext, the textfile (reload=1) is using read-write or read-only mode? From a quick read of the source code- libavfilter/vf

Re: [FFmpeg-user] Alternative to Dynamic Text

2021-11-09 Thread Carl Zwanzig
On 11/9/2021 3:01 AM, Nicolas George wrote: It is the responsibility of whoever writes the file to ensure that the writing does not overlap with the reading. Never heard that one, usually it's the reverse unless _both_ have some form of mutex/file-lock implemented. Given than it's not likely t

Re: [FFmpeg-user] Hello all. My 1st project and 1st question: is ok to sell my software if it is calling ffmpeg in the background to encode?

2021-11-11 Thread Carl Zwanzig
On 11/11/2021 7:44 PM, Javier Cortes wrote: for example, if my software prepare the files, folders, etc and ask ffmpeg to re-encode them in the background, for example from prores to mp4, or to make mp3, etc. is it ok for me to do that? It sounds like you should be OK, but _please_ read the t

Re: [FFmpeg-user] Can I set a "wait-timeout" for ffmpeg to not abort a stream download?

2021-11-14 Thread Carl Zwanzig
On 11/14/2021 8:27 PM, Adam Nielsen via ffmpeg-user wrote: What protocol/URL are the streams you're using? That would be answered if the original post contained the complete command output... z! ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org h

Re: [FFmpeg-user] media play too fast

2021-11-17 Thread Carl Zwanzig
On 11/17/2021 6:03 PM, Bart Coninckx wrote: In the Kodi logfiles I can see that their player uses FFMpeg, so I'm wondering if the problem lies there. Probably not unless kodi has changed it's calling parameters. If mplayer or vlc have the same issues that kodi does, it's probably not the players

Re: [FFmpeg-user] help with pipe command ffmpeg

2021-12-08 Thread Carl Zwanzig
On 12/7/2021 9:12 PM, Vivek Soni wrote: what exactly did you write in command line for ffmpeg.exe, please share ... A couple of things- Please read the list FAQ (https://ffmpeg.org/mailing-list-faq.html). This tells us not to "top-post" and also to include the complete output of the command yo

Re: [FFmpeg-user] Frame Drops and Audio Sync Issues

2021-12-09 Thread Carl Zwanzig
On 12/9/2021 2:10 PM, James Board via ffmpeg-user wrote: I'm wondering if timestamps are typically stored for both audio and video and if there is a way to somehow modify the avi file so when I play it, the audio is in sync with the video. That all depends on what codecs are used- a .avi file can

Re: [FFmpeg-user] [EXTERNAL] Frame Drops and Audio Sync Issues

2021-12-11 Thread Carl Zwanzig
On 12/11/2021 1:56 PM, James Board via ffmpeg-user wrote: Is this a solvable problem? Is the right time stamp information somehow in the .avi file and I just need to figure out how to sync the audio in video? Or is it not even possible? No one can answer without more data since we don't know wh

Re: [FFmpeg-user] [EXTERNAL] Frame Drops and Audio Sync Issues

2021-12-11 Thread Carl Zwanzig
On 12/11/2021 2:31 PM, James Board via ffmpeg-user wrote: What should I do in order to figure this out? Start by runing ffprobe on the file and post the output. (I've used MediaExpress a fair bit and never had sync issues with it, could be there's one setting that doesn't agree with another-

Re: [FFmpeg-user] Please advise

2021-12-30 Thread Carl Zwanzig
On 12/30/2021 7:30 AM, Phil Rhodes via ffmpeg-user wrote: Are you allright? You almost sound polite! Quick, mark it on the calendar! It's his once-a-year stab at it. z! ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/l

Re: [FFmpeg-user] Filter Question

2022-01-04 Thread Carl Zwanzig
Please post the complete command output, that's a great help in debugging. z! ___ 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.or

Re: [FFmpeg-user] How to extract m3u8 stream URL from webpage with 2 players?

2022-01-08 Thread Carl Zwanzig
On 1/8/2022 11:10 AM, Bo Berglund wrote: This tool xidel you use, from where is that? How can it be installed? Check google. it should be the first hit. z! ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/

Re: [FFmpeg-user] Anyone using FFplayout?

2022-01-09 Thread Carl Zwanzig
On 1/6/2022 11:52 AM, Matt C wrote: I have it installed from the Docker set up but cannot get anything to play from the playlist/ gui. Is there any sort or forum or anything on setting it up? It doesn't look like it's ready for turn-key use. If you're looking for something to do the playout fo

Re: [FFmpeg-user] How to get video duration in a script using ffmpeg?

2022-01-19 Thread Carl Zwanzig
On 1/19/2022 3:23 AM, Bo Berglund wrote: I have tried in various ways to limit the output of ffmpeg/ffprobe to the line holding the duration but it seems impossible... Beware! Depending on the source of a recording, I've found that various methods will report different values* for the duratio

Re: [FFmpeg-user] [EXTERNAL] Re: How to get video duration in a script using ffmpeg?

2022-01-19 Thread Carl Zwanzig
On 1/19/2022 10:17 AM, Bo Berglund wrote: mediainfo is not existing on my Ubuntu Server 20.04.3... It is readily available for ubuntu and is a useful tool. z! ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffm

Re: [FFmpeg-user] How to get video duration in a script using ffmpeg?

2022-01-20 Thread Carl Zwanzig
On 1/20/2022 6:08 AM, Bo Berglund wrote: So it creates 3 instances of the duration output... It does, because they come from three different places (and the values may be different). Have to add | tail -n 1 to the end to get one item only. Nothing wrong with that, or with telling mediain

Re: [FFmpeg-user] How can I remove the first 30 seconds of 3000 MP3 files

2022-01-24 Thread Carl Zwanzig
On 1/24/2022 10:09 AM, Ferdi Scholten wrote: The bash command is not complete, the do statement needs to be closed with done; like this: for i in *.mp3; do ffmpeg -ss 00:00:30.000 -i "$i" -c copy "$(basename $i .mp3)-output.mp3" done otherwise bash will prompt for more commands to follow do.

Re: [FFmpeg-user] Error while hardcoding subtitles (Invalid object location)

2022-01-24 Thread Carl Zwanzig
On 1/24/2022 6:22 AM, Sergey_S wrote: Please kindly advise/ Thanks. Upgrade to a modern version of ffmpeg, try again, then post the complete/unedited output of the command. z! ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/m

Re: [FFmpeg-user] Converting mp4 to mp3 has the mp3 longer than the mp4

2022-01-28 Thread Carl Zwanzig
On 1/27/2022 7:37 PM, DoubleFelix wrote: The source video is 24m 50s in length, but when using "ffmpeg -i video.mp4 audio.mp3", the resulting audio file is 25m 28s in length, confirmed in both metadata and the Groove music player. Could be that the audio stream starts 22 seconds after the video

Re: [FFmpeg-user] watch a folder for new images

2022-01-31 Thread Carl Zwanzig
On 1/31/2022 2:22 AM, Adam Nielsen via ffmpeg-user wrote: Instead of trying to repurpose FFmpeg to make it your whole application, you could try making your application work with FFmpeg. That's usually my reaction when someone wants to do this kind of thing. AFAICT, there have been a fair few

Re: [FFmpeg-user] Get sample rate in mp3 files

2022-02-07 Thread Carl Zwanzig
On 2/7/2022 8:28 AM, Reindl Harald wrote: god damned calling re-encode a lossy file a "stupid idea" isn't abusive - Yes it is. That you can't see the issue suggests a lack of empathy for anyone with less understanding than you (this is not new, we've all see it before). There _may_ be a goo

Re: [FFmpeg-user] Get sample rate in mp3 files

2022-02-07 Thread Carl Zwanzig
On 2/7/2022 9:04 AM, Reindl Harald wrote: with the snowflakes of your generation we would still live on trees as human race I will quote from just about a year ago- On 2/2/2021 2:59 AM, Reindl Harald wrote: the difference between both of you is "only" that i am 43 years old and started progra

Re: [FFmpeg-user] Video Notation, A Video Lingua Franca 1+2of11.zip (8.8 KB)

2022-02-07 Thread Carl Zwanzig
On 2/6/2022 11:15 PM, Jim DeLaHunt wrote: It would be easier to review if you were to put these files on a web server. Mark, please do. Few if any people are going to download the attachments, open the zip files, -then- open them in a browser. Or- render the pages as PDF and attach those, bu

Re: [FFmpeg-user] Video Notation, A Video Lingua Franca 1+2of11.zip (8.8 KB)

2022-02-07 Thread Carl Zwanzig
On 2/7/2022 11:02 AM, Mark Filipak wrote: I agree. Can you suggest a server? You're using gmail- put the files in a g-drive folder and share that with "view-only" permissions. The link will look ugly but you can send that around. (There are many web pages which will explain this.) Yeah, I c

Re: [FFmpeg-user] Video Notation, A Video Lingua Franca

2022-02-08 Thread Carl Zwanzig
On 2/7/2022 10:27 PM, Mark Filipak wrote: On suggestion, I tried web hosting suppliers and failed. There must be thousands of them out there. Failed? You copy the files to the hosting site and send out the URL. You may have to set up an account in order to use it. This is not difficult

Re: [FFmpeg-user] Video Notation, A Video Lingua Franca

2022-02-09 Thread Carl Zwanzig
On 2/9/2022 1:17 AM, Phil Rhodes via ffmpeg-user wrote: At some point I start to question whether some people on this list are speaking some private, special language that looks like English but in which all these pointless unprovoked attacks are somehow reasonable. They're not. Paul, you are the

Re: [FFmpeg-user] Conversion from mjpeg to H.264 with 2 overlays failed, trace gives me no idea why ...

2022-02-11 Thread Carl Zwanzig
On 2/11/2022 6:39 AM, Jens Berger wrote: This line seems to be weird to me, but I cannot find more about this problem: ����sof0: picture: 258x28928 If that is trying to report the size of the picture, 28k is unrealistically large. Might be correct but... Please - can somebody hav

Re: [FFmpeg-user] Conversion from mjpeg to H.264 with 2 overlays failed, trace gives me no idea why ...

2022-02-11 Thread Carl Zwanzig
On 2/11/2022 8:52 AM, Kieran O Leary wrote: Would I be correct in thinking that even though a verbose Ffmpeg log was posted, the use of -hide_banner removed ffmpeg version info, so the OP should remove this value? Yes, using -hide_banner removes valuable information (e.g. the ffmpeg version or

Re: [FFmpeg-user] Conversion from mjpeg to H.264 with 2 overlays failed, trace gives me no idea why ...

2022-02-13 Thread Carl Zwanzig
This- Input #0, mjpeg, from '/Users/jb/test/test.mov': [...]   Stream #0:0, 2, 1/120: Video: mjpeg (Baseline), 1 reference frame, yuvj422p(pc, bt470bg/unknown/unknown, center), 768x576, 0/1, lossless, 7.66 tbr, 1200k tbn and this- [mjpeg @ 0x7f914b507f80] sof0: picture: 768x576 [mjpeg

Re: [FFmpeg-user] drawtext reload=N > 1?

2022-02-28 Thread Carl Zwanzig
On 2/28/2022 2:12 AM, Nicolas George wrote: I do not think it is worth your effort: the cost of loading the file is negligible compared to the rest of the operations. Maybe yes, maybe no; depends on the system and OS. It's still unnecessary file system overhead that could be avoided. z!

Re: [FFmpeg-user] Unable to understand error

2022-03-04 Thread Carl Zwanzig
On 3/4/2022 10:24 AM, Rukmangadh Sai Myana wrote: The issue is that the python package throws the error that I shared above and exits. The problem is that there isn't an error message in the original post. This happens only on the production machine and not on my local machine. What's differ

Re: [FFmpeg-user] Unable to understand error

2022-03-05 Thread Carl Zwanzig
On 3/5/2022 6:03 AM, Rukmangadh Sai Myana wrote: The issue was that ffmpeg was sending the above logs, which don't correspond to any error to STDERR. This is common for programs that usually/often send their work-product to stdout; the status messages have to go somewhere and that's stderr*. It

Re: [FFmpeg-user] Average N frames of RTSP video for better snapshot quality?

2022-03-08 Thread Carl Zwanzig
On 3/8/2022 10:09 AM, Steven Kan wrote: Is there a way to tell ffmpeg to collect N frames of video and output one single averaged image to improve the SNR? Even if there’s some wind, the flower stalk shouldn’t be moving much. and that results in N JPGs. I suppose I could have a second ffmpeg c

  1   2   3   4   5   6   7   8   >