Re: [FFmpeg-user] Low FPS with H.264 Encoding When Using -pix_fmt yuv420p

2024-05-22 Thread Carl Zwanzig

Hi,

On 5/22/2024 11:16 AM, Lisa wrote:

ffmpeg version 4.0.6 Copyright (c) 2000-2020 the FFmpeg developers


First thing is to try a modern version of ffmpeg, that one is positively 
ancient and pretty much unsupported.


Later,

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.org with subject "unsubscribe".


Re: [FFmpeg-user] ffmepg mipi csi video cpature

2024-05-22 Thread Carl Zwanzig

On 5/22/2024 5:09 AM, Nikhil via ffmpeg-user wrote:

i have updated from 4.x to 5.0 here is the output requested


Save some hassle and get a 7.x version. (Or at least 6.x.)

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.org with subject "unsubscribe".


Re: [FFmpeg-user] Low FPS with H.264 Encoding When Using -pix_fmt yuv420p

2024-05-22 Thread Carl Zwanzig
Please post the complete command output with all the options and error 
messages, otherwise it's only guessing (see section 6 of 
https://ffmpeg.org//mailing-list-faq.html).


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.org with subject "unsubscribe".


Re: [FFmpeg-user] Generate log keeping information appearing on screen

2024-05-01 Thread Carl Zwanzig

On 5/1/2024 7:55 PM, CMG DiGiTaL wrote:

How do I generate the log, but keep the conversion information on the
screen as well?


(really a windoze question, not ffmpeg)

cmd.exe doesn't have an equivalent of the unix 'tee' command, but 
powershell does--



PS C:\Users\cpz> echo "asdsasad" |tee asdf.txt
asdsasad
PS C:\Users\cpz> type .\asdf.txt
asdsasad
PS C:\Users\cpz>

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.org with subject "unsubscribe".


Re: [FFmpeg-user] Mpegts multiplexer problrems, incorrect work of -muxrate option

2024-04-05 Thread Carl Zwanzig

On 4/5/2024 11:24 AM, Odessa TV wrote:

But it is not text, it is pictures, Can I paste pictures to the body
of the email?


We don't know that it's pictures without a description of them (missing) 
and often people include screenshots of the command output instead of 
the text (also missing).



As far as I remember, there were some restrictions on inserting
objects into the text. Or am I wrong?


This is really a text only mailing list although you can -attach- some 
files.


Please read the mailing list FAQ at 
https://ffmpeg.org//mailing-list-faq.html, especially section 6.1.


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.org with subject "unsubscribe".


Re: [FFmpeg-user] Mpegts multiplexer problrems, incorrect work of -muxrate option

2024-04-05 Thread Carl Zwanzig

On 4/4/2024 12:17 PM, Odessa TV wrote:

Link to screenshots:


Please just copy/paste the text into an email. It usually takes up less 
space and is searchable.


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.org with subject "unsubscribe".


Re: [FFmpeg-user] Loudnorm filter changes bit depth

2024-03-23 Thread Carl Zwanzig

On 3/23/2024 11:06 AM, Paul B Mahol wrote:

loudnorm is low quality filter, do not use it.


What do you suggest instead?

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.org with subject "unsubscribe".


Re: [FFmpeg-user] Streams

2024-02-29 Thread Carl Zwanzig

On 2/29/2024 3:43 PM, Mark Filipak wrote:

Well, the attachment, which was only 50kB, got stripped off. I'm trying again.


Probably because it's HTML. Just drop the text in the email or include a 
link to the page.


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.org with subject "unsubscribe".


Re: [FFmpeg-user] ISSUE ABOUT libmp3lame AUDIO CODEC

2024-02-29 Thread Carl Zwanzig

On 2/29/2024 8:09 AM, Hervé ANSELME wrote:

Is this because my command line is missing some parameters, and if so, which 
ones ?


Hard to tell because you haven't included the _complete_ command line.



Don't hesitate to let me know if you need any further technical
information ; thank you in advance for your advice and help.
As before, always post the complete and uncut command and output (as _text_ 
in the email, not an attached image).


See the FAQ at https://ffmpeg.org/mailing-list-faq.html

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.org with subject "unsubscribe".


Re: [FFmpeg-user] ISSUE WITH LIBX265 CODEC

2024-02-27 Thread Carl Zwanzig

On 2/27/2024 10:55 AM, Herv� ANSELME wrote:

and here are the technical infos, displayed by the program, in the DOS window :


Please just cut/paste the output into the email, no images, no attachments 
(also read the mailing list FAQ https://ffmpeg.org/mailing-list-faq.html).


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.org with subject "unsubscribe".


Re: [FFmpeg-user] How to create error log file ffmpeg Loudnorm?

2024-02-24 Thread Carl Zwanzig

On 2/24/2024 9:16 AM, CMG DiGiTaL wrote:

  [NULL @ 02738af86200] Unable to find a suitable output format for
'file=log.txt:level=16'
  file=log.txt:level=16: Invalid argument


"log.txt:level=16" is not a valid filename here (you're on windoze, I 
assume), you may need to escape the colon or the entire arg. And what are 
the *'s doing in that script?


Always start by posting the complete ffmpeg command and unedited output, 
that way we don't have to guess about what the script is doing.


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.org with subject "unsubscribe".


Re: [FFmpeg-user] Trouble with ffmpeg ... -f tee and specific encodings per output

2024-02-23 Thread Carl Zwanzig

On 2/22/2024 12:11 AM, Nicolas George wrote:

Then the tee muxer is not suited to your needs.


To expand on that
21.53- "[Tee] is different from specifying several outputs to the ffmpeg 
command-line tool. With the tee muxer, the audio and video data will be 
encoded only once."


You need to use multiple output URLs and format options. Make a critical 
read of the first few sections of the doc 
(https://ffmpeg.org/ffmpeg-all.html) and also see 
http://trac.ffmpeg.org/wiki/Creating%20multiple%20outputs


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.org with subject "unsubscribe".


Re: [FFmpeg-user] FFmpeg Architecture

2024-02-13 Thread Carl Zwanzig

On 2/13/2024 8:37 AM, Carl Zwanzig wrote:

"read time"


reaL time

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.org with subject "unsubscribe".


Re: [FFmpeg-user] FFmpeg Architecture

2024-02-13 Thread Carl Zwanzig

On 2/13/2024 12:24 AM, Paul B Mahol wrote:

Even if implemented properly it will not make real-time not working.
FFmpeg does not have real variable filter chains. Everything is static,
there are only filters that can be auto inserted once in a while.


Granted, AFAICT much of how ffmpeg is used is very much not "read time" as 
commonly understood in the computing/process-control world. it would be 
interesting if the filter chain could be modified conditionally, on a 
frame-by-frame basis, but that would definitely require some work. But a lot 
of this discussion hinges around a very nebulous idea of what any 
"scripting" would do, and without a better understanding of that it's hard 
to have meaningful discussion.


And. much of what might be considered "scripting" looks what others call 
using an "edit decision list" (EDL), and there are multiple ffmpeg-based 
packages that already implement those (e.g. OpenShot, Shotcut, Cinelarra 
etc) and with a nice UI :).


Later,

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.org with subject "unsubscribe".


Re: [FFmpeg-user] FFmpeg Architecture

2024-02-12 Thread Carl Zwanzig

On 2/12/2024 3:31 PM, Bouke / Videotoolshed wrote:

Go away, or at least shut up.


I encourage you do do that if you can't add to the conversation.

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.org with subject "unsubscribe".


Re: [FFmpeg-user] FFmpeg Architecture

2024-02-12 Thread Carl Zwanzig

On 2/12/2024 2:59 PM, Paul B Mahol wrote:

I doubt anything above applies to FFmpeg, also I doubt it makes difference
for real-time streaming.


Hmm, actually it looks like a lot of it could apply if implemented properly 
(there are a fair few video programs which implement some form of scripting, 
OBS for one). And from the right angle, the variable filter chains could be 
considered "scripting", too.


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.org with subject "unsubscribe".


Re: [FFmpeg-user] Big missmatch In format duration (ffmpeg V6)

2024-02-11 Thread Carl Zwanzig

Hello,

Please read the mailing list FAQ at 
https://ffmpeg.org/mailing-list-faq.html, it tells users to post the 
complete and unedited command and output and not to top-post.


Also, it's a lot easier for us humans to read the default output than JSON 
and there's important info like the build information. It's not clear to me 
which "format duration" is questionable and what it should be.


Thanks,

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.org with subject "unsubscribe".


Re: [FFmpeg-user] Big missmatch In format duration (ffmpeg V6)

2024-02-11 Thread Carl Zwanzig

On 2/11/2024 2:14 AM, Avraham Sikirov via ffmpeg-user wrote:


Link to video and outputs:


Please put the command outputs in the email message, not as an attachment or 
gdrive, it's much easier for everyone to see and read.


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.org with subject "unsubscribe".


Re: [FFmpeg-user] Why are these different?

2024-02-07 Thread Carl Zwanzig

On 2/7/2024 10:34 AM, Mark Filipak wrote:

Okay. Why are they different?


Because the containers are different? An mp4 container is not the same as an 
mkv (or avi or mpeg), they must have different demuxers.


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.org with subject "unsubscribe".


Re: [FFmpeg-user] The Guild

2024-02-01 Thread Carl Zwanzig

On 2/1/2024 11:26 AM, Mark Filipak wrote:


There needs to be an FFmpeg Guild and there needs to be an FFmpeg industry. 
You guys/gals need to make a living. How can we make that happen?


Why does there need to be a "guild"? If you want one, start one.

Second, a cloud-based book that people buy. It would have to have a reader 
that people buy. The reader would read an encrypted cloud, would be 
read-only, would resist host probing/capture/screenshots, and would save 
_nothing_ locally.


Again, why? (And of course a book would have a copyright, but that has 
little to do with how distribution is licensed.)


You do not seem to understand open-source projects at all.

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.org with subject "unsubscribe".


Re: [FFmpeg-user] How to use the ffmpeg to real-time base TS analyze ?

2024-01-15 Thread Carl Zwanzig

On 1/15/2024 4:40 AM, Nandor Nemoda wrote:

I have a*PCI*  broadcast video card


Which card? Only some have ffmpeg support and often the drivers aren't 
considered "free" so you have to build ffmpeg yourself to include them.


OTOH, when you say "transport stream" do you mean mgep-ts, SDI, or something 
else? A little more detail would help.


Later,

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.org with subject "unsubscribe".


Re: [FFmpeg-user] '-t' versus '-to'

2024-01-14 Thread Carl Zwanzig

On 1/13/2024 10:26 PM, Mark Filipak wrote:

For example:
-ss 20.061708 -to 5570.815250
would be
-frametrim 481..134046
meaning frame 481 thru frame 134046.


Although IME it much more common to specify the frame number after a dot* 
but ffmpeg doesn't seem to do that. (There may be North American vs Europe 
vs Asiatic regional conventions on this.)


*hh:mm:ss.ff, or occasionally hh:mm:ss:ff, but the latter is ambiguous if 
either hh or ff are omitted


Perhaps some day I'll look at the command arg time parser to see what 
assumptions are made and where they're documented.


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.org with subject "unsubscribe".


Re: [FFmpeg-user] '-t' versus '-to'

2024-01-13 Thread Carl Zwanzig

On 1/13/2024 7:37 PM, DEF wrote:

other times you want to trim, you know your start time and end time
but perhaps you are lazy to calculate the duration.


Or don't see a need because you know the points :), AFAICT most human 
editors work that way.



the you use -to to denote your_position_  in the video  as in

-ss 00:12:03 -to 15:04:08 for example.


Brings another question- if you want to select 15 seconds and no additional 
frames starting at 00:00:03.0 do you give the out point as 00:00:18.0 or 
:17.999 or :17.29 (for a frame count, not a fraction of a second)? I suspect 
.999 will do the job, but it's cumbersome and not as simple to calculate. (I 
prefer frame numbers, myself.)


Later,

z!
in the land of 29.97
___
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 "unsubscribe".


Re: [FFmpeg-user] Decoding performance, 6.1.1 vs. 4.4.4

2024-01-10 Thread Carl Zwanzig

On 1/10/2024 4:18 AM, Ren� J. V. Bertin wrote:

(sorry for the linebreaks, I'm posting via a newsgroup app.)


(Use an email program instead?)


To me this looks like there's been a regression that causes an increased
overhead in getting the content onto and/or off the GPU.


Have you controlled for the graphics drivers (same for each build)?
Also, try doing both builds with the same compiler.



Is that possible? Could it have to do with the fact that FFmpeg6 auto-enables
support for hw-acceleration via Vulkan (a moot selling point on this hardware)
and if so would it help to disable that support?


Definitely disable it for a better comparison, there may be extra steps in 
the data pathways which could affect the speed.


Later,

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.org with subject "unsubscribe".


Re: [FFmpeg-user] Carrying arbitrary data track from TS to mp4

2024-01-05 Thread Carl Zwanzig
Please include the complete & unedited ffmpeg command output in the email, 
that'll show everyone info about the stream(s) in question as well as the 
ffmpeg version.


Later,

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.org with subject "unsubscribe".


Re: [FFmpeg-user] Question about random() expression

2023-12-27 Thread Carl Zwanzig

On 12/27/2023 3:54 PM, Jim DeLaHunt wrote:
The documentation says, "x is the index of the internal variable which will 
be used to save the seed/state." 
(https://ffmpeg.org/ffmpeg-all.html#Expression-Evaluation). I don't know 
what it means by "index of the internal variable", and I don't know what 
"save" means. In a function named random(), I expect the parameter to be 
used as a seed. I guess this is one of the places where one has to read the 
source code.


I also suspect that "read the source" is the answer, but also recall from 
decades past that some systems (e.g. BASIC) needed a "randomize" statement 
in order to get off their usual starting point.


Off to the source :).

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.org with subject "unsubscribe".


Re: [FFmpeg-user] sntsc

2023-12-26 Thread Carl Zwanzig

On 12/25/2023 1:04 AM, Mark Filipak wrote:


Huh? "720x480 video with a display aspect ratio of 16:9" is what's on most 
'NTSC' DVDs.


Huh? The vast majority of DVDs I've handled were 4:3 then maybe letterboxed 
to only show some wide-screen size (like 2.33:1). Only more recent content 
was shot at 16:9, but AFAIK it's still coming of the disk as 720x480 or 
704x480 (don't forget that one).


Remember that almost everything involved with color NTSC is a kludge, and 
digital encoding of it is a kludge built on a kludge. Do not expect too much 
logic.


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.org with subject "unsubscribe".


Re: [FFmpeg-user] DTS discontinuity

2023-12-24 Thread Carl Zwanzig

On 12/22/2023 3:24 PM, Mark Filipak wrote:

The log below is a version I cooked up to show 'N' only for I-frames.


Um, what's the actual command? There aren't a lot of options to ffprobe, but 
it's still good to show the command anyway.


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.org with subject "unsubscribe".


Re: [FFmpeg-user] kmsgrab and audio problem

2023-12-11 Thread Carl Zwanzig

On 12/10/2023 12:47 AM, KoreanFanOfficial wrote:

How i can[...]?


You're asking for help yet don't want to play by the simple rules of the 
list). Some of them are-


* Always show your actual, unscripted ffmpeg command and the complete, uncut 
console output from your command.
* Use the most simple and minimal command that still shows the issue you are 
encountering.
* Provide all necessary information so others can attempt to duplicate your 
issue. This includes the actual command, complete uncut console output, and 
any inputs that are required to duplicate the issue.

*  Avoid top-posting. Also see What is top-posting?
(https://ffmpeg.org/mailing-list-faq.html#toc-What-are-the-rules-and-the-proper-etiquette_003f)


Oh, and the referenced Code of Conduct says-
* Be friendly and respectful towards others and third parties. Treat others 
the way you yourself want to be treated.

(https://ffmpeg.org/community.html#Code-of-conduct)


If you really do want some help, please stop insulting people and provide 
the information. If you don't want assistance, keep it up and you probably 
won't get any.


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.org with subject "unsubscribe".


Re: [FFmpeg-user] kmsgrab and audio problem

2023-12-10 Thread Carl Zwanzig

On 12/10/2023 1:58 AM, KoreanFanOfficial wrote:

With this code:

[...]

That is not the complete _unedited_ output which often contains important 
information, like the ffmpeg build.


Please read the FAQ at https://ffmpeg.org/mailing-list-faq.html.

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.org with subject "unsubscribe".


[FFmpeg-user] The unsubscribe process

2023-11-29 Thread Carl Zwanzig

On 11/29/2023 9:18 AM, David Bernat wrote:

You misinterpreted the response. I have emailed the correct unsubscribe
link several times.

(emailed a link??? what does that mean?)

In the footer of every message-
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Dropping "Please unsubscribe" in an existing message thread won't do it, you 
have to send the correct subject ("unsubscribe") to the correct address 
(ffmpeg-user-requ...@ffmpeg.org).


Or visit the link above, enter your email, press "unsub", and wait for the 
confirmation email.


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.org with subject "unsubscribe".


Re: [FFmpeg-user] More Liberal Licensing

2023-11-28 Thread Carl Zwanzig

On 11/28/2023 4:09 AM, Phil Rhodes via ffmpeg-user wrote:

The thing which makes all this a bit difficult is whether it's possible
(or easy) to prove that a given distributed binary is actually compiled
from the source code one is offering. I'm not sure that this has ever
been tested in court - most of the (L)GPL stuff hasn't, much - but it's
not obvious to how someone could prove that if there were ever a
dispute.


FWIW, BusyBox has taken on some commercial organizations to court and 
prevailed, search "busybox copyright lawsuit" and you'll get things like


https://softwarefreedom.org/news/2009/dec/14/busybox-gpl-lawsuit/
https://arstechnica.com/information-technology/2010/08/court-rules-gpl-part-of-a-well-pleaded-case/ 
(summary judgement)

https://www.computerworld.com/article/2537947/open-source-legal-group-strikes-again-on-busybox--suing-verizon.html

So whether or not you agree with the current licensing structure, if you 
want to use ffmpeg components you have to play by those rules.


Later,

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.org with subject "unsubscribe".


Re: [FFmpeg-user] More Liberal Licensing

2023-11-27 Thread Carl Zwanzig

On 11/27/2023 9:50 AM, Suminda Sirinath Salpitikorala Dharmasena wrote:

Is there a possibility to gradually move away from *GPL to a more liberal
license? E.g. Apache 2.0 and/or MIT and/or BSD.


That's unlikely as overall ffmpeg has contributions from many authors and 
they'd all have to agree (also note the "non-free" compile option).


While I'm not a big fan of the GPL, what restrictions does it impose that 
are objectionable?


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.org with subject "unsubscribe".


Re: [FFmpeg-user] Compiling FFmpeg for nvidia hardware encoding on Debian 12

2023-11-27 Thread Carl Zwanzig

On 11/27/2023 9:23 AM, Andrew Randrianasulu wrote:

If you need only ffmpeg - you can try and skip those dependencies 


Or add --disable-ffplay (and maybe --disable-ffprobe) to the configure line. 
If you don't need the player, why build it?


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.org with subject "unsubscribe".


Re: [FFmpeg-user] Need to reduce size of ffmpeg.exe

2023-11-14 Thread Carl Zwanzig

On 11/14/2023 2:26 PM, Kumar, Rahul via ffmpeg-user wrote:

After this I ran "make" and "make install" command which created 1.2 mb
ffmpeg.exe in bin folder. This ffmpeg.exe is not working for me. Can
somebody guide me if I am missing anything here?

What does "not working" mean?
Where there any build warnings or errors?

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.org with subject "unsubscribe".


Re: [FFmpeg-user] Seeking Efficient Video Redaction Using FFMPEG with Limited Memory Usage

2023-11-08 Thread Carl Zwanzig

On 11/7/2023 3:34 PM, Nicolas George wrote:

Libavfilter is at least linear in the number of filters for each single
step of the filtering. That means a filter graph with 2000 filters will
take at least 200 times as much power than a graph with 10 filters.
Really a lot more, because larger graphs tend to be deeper too.


Does 'power' in this case mean cpu usage or something else? How about 
memory- does a filter chain hold all the intermediate frames or discard them 
(deallocate the memory) once a particular filter has executed.


(Or point me to a place in the code to look at this; I'm not afraid of 
reading the code if I know where to start.)


Thanks,

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.org with subject "unsubscribe".


Re: [FFmpeg-user] Requesting colormatrix advice

2023-11-07 Thread Carl Zwanzig

On 11/7/2023 10:10 AM, Paul B Mahol wrote:

I never assume anything without sufficient facts and data I can confirm
again and again using proven solutions and procedures.


And yet, you seem to know enough to tell people that they're wrong, and do 
so without telling them exactly what's wrong and how to correct it. Sounds 
like that's being "More extremely lazy".


"but as usual you misinterpret it almost always via your logic fallacies."
Missing was an explanation of what those supposed logic fallacies are and 
how they're false.


"I can answer it, but I guess OP will listen to your usual misinformation."
How do you know they will? Is it actually "misinformation" (still not 
answered)? Why didn't you answer it correctly in the first place?



Oh, and don't bother again saying that I (or Mark, or Phil, etc) should be 
banned.


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.org with subject "unsubscribe".


Re: [FFmpeg-user] Requesting colormatrix advice

2023-11-07 Thread Carl Zwanzig

On 11/7/2023 10:05 AM, Paul B Mahol wrote:

Documentation is there and its 99.99% correct and maintained, but as usual
you misinterpret it almost always via your logic fallacies.


Tell us what's wrong.

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.org with subject "unsubscribe".


Re: [FFmpeg-user] Seeking Efficient Video Redaction Using FFMPEG with Limited Memory Usage

2023-11-07 Thread Carl Zwanzig

On 11/7/2023 10:00 AM, Paul B Mahol wrote:

I can answer it,


Then DO SO! There's no reason to hold back.


but I guess OP will listen to your usual misinformation.


What is misinformation? Tell us. If you can't or won't, then maybe what I 
said is actually correct.


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.org with subject "unsubscribe".


Re: [FFmpeg-user] Seeking Efficient Video Redaction Using FFMPEG with Limited Memory Usage

2023-11-07 Thread Carl Zwanzig

On 11/7/2023 9:40 AM, Paul B Mahol wrote:

Do you have actual proof for such claims?


I do not need to "prove" my opinion. You're free to agree or not, and if you 
feel it's not correct or appropriate to provide other information. (I do 
know from my own experience that what I think the OP was taking about is 
fairly easy in OpenShot. You can accept that or not.)


Or, _you_ could actually try to help the OP and answer their questions. You 
have not done so, and seldom do at all.


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.org with subject "unsubscribe".


Re: [FFmpeg-user] Seeking Efficient Video Redaction Using FFMPEG with Limited Memory Usage

2023-11-07 Thread Carl Zwanzig

On 11/6/2023 9:13 AM, sreekar manchukonda wrote:


I'm seeking help on how to utilize ffmpeg to apply an extensive number of
filters—specifically over 2000, each filter including a crop, boxblur, and
overlay—to a video over an hour long. 


This is a single video, being processed once, with 2000 filters being 
applied? That in itself sounds like a recipe for disaster, and that a more 
purpose-built editing system would do a better job (e.g. openshot or 
shotcut, both are open-source). You may be able to create an EDL (Edit 
Decision List) from your filters to drive the editor software.


If you have storage space, you could also use uncompressed intermediate 
files and successively run smaller groups of filters on them.


Later,

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.org with subject "unsubscribe".


Re: [FFmpeg-user] Calculate file size for lossless encoding

2023-10-01 Thread Carl Zwanzig

On 10/1/2023 8:41 AM, Ulf Zibis wrote:

So here it compresses with factor ~11, wow, great performance for ultrafast.


Depends a lot on the content, of course. One of the great things, 
compression-wise, with screen grabs is that there is usually very little to 
no change frame-to-frame over most of the screen, and that makes for much 
lower bandwidth (which is recording those changes).


Later,

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.org with subject "unsubscribe".


Re: [FFmpeg-user] Is there any good reason why FFmpeg doesn't do "-vcodec copy" automatically.

2023-09-30 Thread Carl Zwanzig

On 9/30/2023 12:07 PM, Reindl Harald wrote:
is there a good reason to throw a video file through ffmpeg when you don't 
want to touch it?


Changing the container or working only with the audio or subtitle tracks.

So yes, there is a good reason.

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.org with subject "unsubscribe".


Re: [FFmpeg-user] Is there an equivalent of Drobox Lepton but for h.264 videos?

2023-09-30 Thread Carl Zwanzig

On 9/30/2023 7:00 AM, Andrew Randrianasulu wrote:

well, h264 videos already heavy and usually lossy compressed, any further
compression will be not lossless


There's one-way compression that reduces size by throwing away data (e.g. 
jpg) and two-way compression that reduces size but the result can't be used 
without reversal (e.g. gzip/lzma, etc). Dropbox Lepton is one of the latter; 
it's also been deprecated by Dropbox - https://github.com/dropbox/lepton.



Often it's more precise to talk about "image compression" vs "file 
compression". Media and graphics people usually seem to mean one-way 
compression while computer people usually mean two-way.


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.org with subject "unsubscribe".


Re: [FFmpeg-user] buffer underflow (?)

2023-09-29 Thread Carl Zwanzig

On 9/29/2023 2:25 PM, Mark Filipak wrote:


On Fri, Sep 29, 2023 at 12:59 PM Carl Zwanzig  wrote:

-bsf[:stream_specifier] bitstream_filters (output,per-stream)
:a will do the audio, :s for subtitles, etc
(that's in the doc)


No, it's not in the doc. 


It surely is, that's where I quoted it from-
https://ffmpeg.org/ffmpeg-all.html#Advanced-options and about 300 lines down 
(or search for "-bsf"). It's around line 1760 of doc/ffmpeg.texi in the 
source tree. (You could also look at 
https://ffmpeg.org/ffmpeg-bitstream-filters.html)


Those are documentation for ffmpeg, pretty much the reference set unless you 
read the source code.



And the 'doc' are programmer documentations, not user documentation.
Where did you get -that- idea? (User doc has been a thing for at least 50 
years, I still have some of those books, and probably a lot longer.)



BTW, the text "underflow" only appears maybe 20 times in the copy of the 
source I have handy (I'm not going to update just for this).


Possibly the most relevant ones are-
libavformat/mpegenc.c:   "buffer underflow st=%d bufi=%d 
size=%d\n",
libavcodec/ratecontrol.c:av_log(s->avctx, AV_LOG_ERROR, "rc 
buffer underflow\n");


but we don't know _because_we_don't_have_the_console_output_.

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.org with subject "unsubscribe".


Re: [FFmpeg-user] buffer underflow (?)

2023-09-29 Thread Carl Zwanzig

On 9/29/2023 9:45 AM, Mark Filipak wrote:


Carl, please enlighten me:
If I '-bsf:v setts...' that appears to only affect video. Duh...


-bsf[:stream_specifier] bitstream_filters (output,per-stream)
:a will do the audio, :s for subtitles, etc
(that's in the doc)


Is there a global 'setts'-type directive that will simultaneously fix up
PTSs/DTSs/time_base for video, audio, subtitles, and chapters?
I expect that three -bsf: options in a row would do the job but haven't 
tried it.


z!
who only does enlightenment for them self, not for other people.
___
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 "unsubscribe".


Re: [FFmpeg-user] buffer underflow (?)

2023-09-29 Thread Carl Zwanzig

On 9/29/2023 9:29 AM, Mark Filipak wrote:

On Fri, Sep 29, 2023 at 12:05 PM Carl Zwanzig  wrote:



But you can pull down the code

I could...


and read the concat muxer,

Yes...


which shouldn't be difficult if you've down real-time coding.

I don't read 'C'. My code is micro.


It's not difficult (and many people haved use 'c' on all manner of tiny 
processors, I did for z-80s). You could also look at a 'c' language 
primer (or- at least put some effort into it; anyone who's written RT 
assembler code should be able to follow the flow and structure).




(Sigh!) You're asking me to reproduce a couple of days of work, and in
the right order. I'll try. But I've gotten "buffer underflow" errors
in the past, many times, and never really thought about it. Now I'm
thinking about and it doesn't make sense. But I'll try to reproduce
it.


You're asking everyone else what an ambiguous error message means with only 
the barest of information; often that gets only the barest of response.


Later,

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.org with subject "unsubscribe".


Re: [FFmpeg-user] buffer underflow (?)

2023-09-29 Thread Carl Zwanzig

On 9/29/2023 8:42 AM, Mark Filipak wrote:

I do need help. I didn't write ffmpeg.


But you can pull down the code and read the concat muxer, which shouldn't be 
difficult if you've down real-time coding. There have been more than a 
couple of times when simply searching for the error message led me to the 
code and reading that lead me to what I needed to know. (I've even posted 
some of that research here.)



To answer one question- Why "buffer underflow"? Maybe it's the wrong error 
message for a specific condition _but_ we'll never have a clue without 
seeing console output (which, as Harald points out, you should know is 
appropriate).


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.org with subject "unsubscribe".


Re: [FFmpeg-user] ffmpeg retry failed segments

2023-09-27 Thread Carl Zwanzig

Please do not top-post on this list.


___
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 "unsubscribe".


And also please remove extra junk like the -four- footers which had already 
accumulated.


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.org with subject "unsubscribe".


Re: [FFmpeg-user] FFPLAY

2023-09-19 Thread Carl Zwanzig

On 9/19/2023 11:05 AM, Def Etienne wrote:

And ffplay might not be the recommend tool for your tasks.


"FFplay is a very simple and portable media player using the FFmpeg 
libraries and the SDL library. It is mostly used as a testbed for the 
various FFmpeg APIs." (https://ffmpeg.org/ffplay.html, which should also 
answer the question of how to select a stream)



Try the mpv player to use the command line.


Or mplayer, or vlc, or Most players have enough control from the command 
line.


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.org with subject "unsubscribe".


Re: [FFmpeg-user] Best media converter container for IPCam network streams

2023-09-16 Thread Carl Zwanzig

On 9/14/2023 3:33 AM, Giuseppe Modugno wrote:
First question: could ffmpeg save the stream in a "raw" format as it is 
received from RTSP, without too much problems? 

Probably...

I don't need to play the 
video continuously, only when I want. Only at that moment, I could use 
ffmpeg to join segments and transcode to mp4. In this case the transcoding 
is limited in time and only for short videos.


(Only need to transcode to mp4 if the player doesn't support the other 
codecs, otherwise it's an extra step; but see below.)


Second question: is there another media container format that could be 
better to use in my situation?


I prefer mkv for resiliency, but opinions differ on that. I also wouldn't 
think twice about transcoding as received and writing that to files; it'll 
save time and hassle in the future as you've normalized the format. Or, 
transcode only the ones that are "weird" to solve the container issue and 
leave the rest alone. (Pay attention to frame and audio sampling rates; 
there's no point in transcoding 8k/sec audio to 48k or to a high-bit-rate 
encoding if you can avoid it.)


What's the output storage? May want to trade off encoding overhead for 
storage size.


Later,

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.org with subject "unsubscribe".


Re: [FFmpeg-user] Make conversion go faster

2023-09-16 Thread Carl Zwanzig

On 9/15/2023 12:02 AM, Ferdi Scholten wrote:
Your speed might be limited by system constraints, like IO speed, cpu speed, 
number of cores, load and memory size/speed etc.


Exactly!!
You can't "speed something up" unless you know why it's slower than 
desirable, and that'll require a bit of monitoring system resources. (On 
windoze, I suggest starting with the SysInternal process explorer, it's both 
good and free.)



Alexander and others- please do not top-post on this mailing list (see 
https://ffmpeg.org/mailing-list-faq.html, which among other things says to 
try with the latest version first).


Later,

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.org with subject "unsubscribe".


Re: [FFmpeg-user] No compiled with -fPIC for libavcodec/aarch64/vp9mc_16bpp_neon.S

2023-09-12 Thread Carl Zwanzig

On 9/11/2023 10:19 PM, Peng Gao wrote:

  I compiled ffmpeg(4.3.1)


In addition to the earlier comments, why are you working with such an old 
version?


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.org with subject "unsubscribe".


Re: [FFmpeg-user] Default audio stream -- how do I set it?

2023-09-10 Thread Carl Zwanzig

On 9/10/2023 8:35 AM, Mark Filipak wrote:

Which of the dozens of failing ffmpeg commands that I've tried do you
want?


How about "any of them"? Maybe include a few of failing commands without the 
output so we can see what's been tried?


(You've been on the list for a while, you know people want to see the 
output. And that would have told us 'mp4' without having to ask.)


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.org with subject "unsubscribe".


Re: [FFmpeg-user] How To Fix No Sound on Ubuntu in Hyper-V

2023-08-28 Thread Carl Zwanzig




On 8/28/2023 5:58 AM, Anatoly wrote:

2.  is the IP right ? 0.0.0.0. :18181 looks odd, isn't it ?



Right. 0.0.0.0 dees mean accept incoming connections on all network
interfaces of your machine.


But you have '-i' before the URL, making it an input.

What is this "Jacob's trick" mentioned in the first email? What are you 
actually trying to do? More into goes a long way to finding problems 
even if they seem simple or obvious.


There are quite a lot of web pages that give examples of using ffmpeg to 
originate a stream.


Later,

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.org with subject "unsubscribe".


Re: [FFmpeg-user] How To Fix No Sound on Ubuntu in Hyper-V

2023-08-28 Thread Carl Zwanzig

It seems that a lot of concepts are being mixed here-

What are you actually trying to do? Run ffmpeg in a VM or in windows? 
Serve content outbound or play something?



On 8/26/2023 3:14 AM, ape...@free.fr wrote:

First, I've installed ffmpeg 6.0 both on VMUbuntu and the host machine
Windows.



Then under Windows Power Shell the command : ffplay -nodisp -ac 2 -acodec
pcm_s16le -ar 48000 -analyzeduration 0 -probesize 32 -f s16le -i 
udp://0.0.0.0:18181?listen=1
 > I get lots of data (see below)

That's just the start-up message, there could be a -lot- more.



My questions :

1.  How could I know the ffmpeg server is really launched ? Via Task
Manager, I dont see anything, neither Process, nor Services

> 2. is the IP right ? 0.0.0.0. :18181 looks odd, isn't it ?

server? It you're trying to play something from a link it must point to 
the source (thus the IP is definitely wrong). If you're trying make it 
available to another player, nothing to play is specified.



You don't need to use powershell to run the windows executables, cmd.exe 
is fine.


What part does the VM ubuntu play in this? How does ffmpeg behave when 
running in the VM?


(Please copy/paste the command output into the body of the email instead 
of doing screen captures, that's much easier for people to see).


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.org with subject "unsubscribe".


Re: [FFmpeg-user] How to drawtext hh:mm:ss:ff timecode (on an old version ffmpeg)

2023-08-15 Thread Carl Zwanzig

On 8/15/2023 1:35 PM, Media Mouth wrote:

Seems to be a problem with the \:13, based on this error:


Try it with a '.' or ',' there instead of a colon, hh:mm:ss.ff is a common 
format and the time parser may be choking in the 3rd colon.


(Also try with something newer than version 4.2.2.)

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.org with subject "unsubscribe".


Re: [FFmpeg-user] h264_v4l2m2m won't write to .mkv

2023-03-06 Thread Carl Zwanzig

On 3/6/2023 10:39 AM, Neale Pickett wrote:
ffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 


May not make a difference, but try it with a recent build, at least a 5.x 
version; you can get a somewhat more recent static build at 
https://johnvansickle.com/ffmpeg/ although there may be newer ones elsewhere.


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.org with subject "unsubscribe".


Re: [FFmpeg-user] h264_v4l2m2m won't write to .mkv

2023-03-06 Thread Carl Zwanzig

On 3/6/2023 10:20 AM, Neale Pickett wrote:
 ffmpeg -y -hide_banner 


When asking questions, do not use -hide_banner, it conceals 
possibly-important information (please read the list FAQ, linked from the 
list info page). A few blanks lines for readability wouldn't hurt, either.


Have you tried this with a similar MP4 file or is it just this one file?

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.org with subject "unsubscribe".


Re: [FFmpeg-user] ffmpeg first_PTS value range and min_comp, min_hard_comp

2023-03-03 Thread Carl Zwanzig

On 3/3/2023 12:44 PM, Amar Mash wrote:

Could anyone help here ?


a) sometimes it'll take a day or two for someone to respond, sometimes no 
one will; no one is being paid to answer questions here.


b) please do not "top-post" on this list (don't put the reply above the 
quoted material).


c) you may need to look at the source code for the filter to see what the 
value ranges are.


Later,

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.org with subject "unsubscribe".


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!
___
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 "unsubscribe".


Re: [FFmpeg-user] Repeatable resolution issue exporting mxfs, 1080p is coming out as 1088p

2023-02-27 Thread Carl Zwanzig

On 2/27/2023 2:50 PM, William Jones wrote:

It seems that when converting .movs it knows that
although the maths says 1088 we actually want 1080 and forces it through...
Unfortunately it doesn't do the same with mxfs!


Maybe that's the "bug" here (or "undocumented feature" if you prefer).

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.org with subject "unsubscribe".


Re: [FFmpeg-user] Help with converting .avi to mp4

2023-02-12 Thread Carl Zwanzig

On 2/12/2023 11:57 AM, Vincent Deconinck wrote:

I mean -i
See https://ffmpeg.org/


-i (input) on the ffmpeg command
-l (long) on the ls command
There is a lot of useful info about how command lines are interpreted in the 
first couple sections of the ffmpeg doc.




Please post more details if you need more help :-)


Jeff- also please see section 6 of https://ffmpeg.org/mailing-list-faq.html.

Later,

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.org with subject "unsubscribe".


Re: [FFmpeg-user] Is there a way to modify every mpegts file when downloading a m3u8 stream?

2023-02-11 Thread Carl Zwanzig

On 2/11/2023 7:03 AM, accelerator0099 wrote:

When you run

ffmpeg -i "https://url.to.some.videos/some_stream.m3u8; -o whatever.mp4

[...]

It's really hard to tell what's going on without the required command 
output. Please read the FAQ at https://ffmpeg.org/mailing-list-faq.html and 
especially section 6.


Also, as a test try simply copying the stream into a file; that is, write it 
to a mpegts file instead of re-coding to mp4.


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.org with subject "unsubscribe".


Re: [FFmpeg-user] Any way to estimate moov_size in mov/mp4?

2023-02-10 Thread Carl Zwanzig

On 2/10/2023 2:26 PM, Stefan Oltmanns wrote:

 Can someone
simply explain what exactly is stored in the moov atom (not in theory
what everything could be in there, but what ffmpeg actually writes there
like "video codec information: x byte, audio codec information: x byte,
timecode+byteoffset: x byte for each frame and so on)


In the ffmpeg source it appears to be in libavformat/mov.c and movenc.c, but 
the info actually included will vary with what's being stuffed into the 
container.


Sidestepping the question, there are decent write-ups at
https://atomicparsley.sourceforge.net/mpeg-4files.html
https://www.cimarronsystems.com/wp-content/uploads/2017/04/Elements-of-the-H.264-VideoAAC-Audio-MP4-Movie-v2_0.pdf

And while it's old, you could grab a copy of AtomicParsley and see what's in 
various test files.


(Please do not top-post on this mailing list, thanks.)

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.org with subject "unsubscribe".


Re: [FFmpeg-user] Any way to estimate moov_size in mov/mp4?

2023-02-10 Thread Carl Zwanzig

On 2/10/2023 3:20 AM, Bouke / Videotoolshed wrote:

Faststart is for internet / network playing only, when the entire file is not 
yet available.


Not only for network playback; maybe often used for that but there's no 
reason to limit the use.



If movflags faststart is needed, it should be darn fast as your files
’should’ be fairly small, as they are intended for (relative) low
bandwith. > There is NO penalty for having the MOOV atom at the end if a file is
local, as parsing all atoms will not take longer than a few secs if the
file is local.
It's difficult to characterize a 2 hour FHD (or 4k) video file as small or 
intended for low bandwidth, and there -is- a penalty ("a few seconds"). Many 
playout servers will play from MP4 files and "a few seconds" is a few too 
long when a specific file is to play. Some software will pre-open the file 
and start it on time, but that's no reason to not put the necessary info at 
the head of the file. (The OP also says "As the produced files are very big 
anyway I don't mind wasting a few MB by overestimating.")


It would be interesting to see how accurate Bouke's technique is for 
estimating the moov atom size; probably close enough but confirmation is 
always good.


Later,

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.org with subject "unsubscribe".


Re: [FFmpeg-user] errors in encoding avc x264 to av1 using latest ffmpeg libaom linux

2023-02-06 Thread Carl Zwanzig

Hello,

Please do not top-post on this list (that is, place your reply -below- what 
you're quoting, not above (yes, you can do this with gmail).


On 2/2/2023 5:42 PM, Guddla Rupesh wrote:

Another intresting thing is that I have to downloaded the source code tar
ball of ffmpeg from its original site and it's size was 11 mb while the
size of source code from git was 390 mb.


If you did a 'git clone' from the repo, you will have downloaded not only 
the current version of everything, but all the history, too (in the .git 
directory).


Later,

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.org with subject "unsubscribe".


Re: [FFmpeg-user] Code of Conduct & Mailing list rules & Community Committee

2023-02-06 Thread Carl Zwanzig

On 2/5/2023 10:48 PM, Kieran O Leary wrote:

I'm really glad that some action has been taken.


Same here.

In addition, can/has the FAQ link been added to the list's Welcome message? 
That might help new members know what's expected.


Thanks,

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.org with subject "unsubscribe".


Re: [FFmpeg-user] ffmpeg list FAQ- for those who can't click a link

2023-02-04 Thread Carl Zwanzig

On 2/4/2023 12:07 PM, Dave Blanchard wrote:

I'm sure there's somebody out there, probably some "idiot" noob, who
"can't click a link", who will greatly appreciate your link.

Actually, I wrote it for the noob who thinks it doesn't apply to them-
"I don't have time to familiarize myself with the 6,282,928 special 
snowflake unique rule systems that every special snowflake community on the 
planet expects everyone to memorize and be intimately familiar with at all 
times. "



There's nothing "snowflake" about the FAQ's Rules and Etiquette and they're 
pretty normal and standard for technical mailing lists, I assume you're on a 
few besides this one.


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.org with subject "unsubscribe".


[FFmpeg-user] ffmpeg list FAQ- for those who can't click a link

2023-02-04 Thread Carl Zwanzig
These are not very different from the rules/guidelines of most of the 
technical mailing lists I'm on or have managed. If you can't be bothered to 
read the FAQ for a list you affirmatively joined, maybe you shouldn't have 
joined it in the first place.


These are also generally good rules to live by, especially the first in 
section 4.


z!


https://ffmpeg.org/mailing-list-faq.html



4 Code of conduct

Be friendly and respectful towards others and third parties. Treat others 
the way you yourself want to be treated.


Be considerate. Not everyone shares the same viewpoint and priorities as you 
do. Different opinions and interpretations help the project. Looking at 
issues from a different perspective assists development.


Do not assume malice for things that can be attributed to incompetence. Even 
if it is malice, it�s rarely good to start with that as initial assumption.


Stay friendly even if someone acts contrarily. Everyone has a bad day once 
in a while. If you yourself have a bad day or are angry then try to take a 
break and reply once you are calm and without anger if you have to.


Try to help other team members and cooperate if you can.

The goal of software development is to create technical excellence, not for 
any individual to be better and "win" against the others. Large software 
projects are only possible and successful through teamwork.


If someone struggles do not put them down. Give them a helping hand instead 
and point them in the right direction.


Finally, keep in mind the immortal words of Bill and Ted, "Be excellent to 
each other."




6.1 What are the rules and the proper etiquette?

There may seem to be many things to remember, but we want to help and 
following these guidelines will allow you to get answers more quickly and 
help avoid getting ignored.


Always show your actual, unscripted ffmpeg command and the complete, 
uncut console output from your command.
Use the most simple and minimal command that still shows the issue you 
are encountering.
Provide all necessary information so others can attempt to duplicate 
your issue. This includes the actual command, complete uncut console output, 
and any inputs that are required to duplicate the issue.
Use the latest ffmpeg build you can get. See the FFmpeg Download page 
for links to recent builds for Linux, macOS, and Windows. Or compile from 
the current git master branch.

Avoid top-posting. Also see What is top-posting?
Avoid hijacking threads. Thread hijacking is replying to a message and 
changing the subject line to something unrelated to the original thread. 
Most email clients will still show the renamed message under the original 
thread. This can be confusing and these types of messages are often ignored.
Do not send screenshots. Copy and paste console text instead of making 
screenshots of the text.
Avoid sending email disclaimers and legalese if possible as this is a 
public list.
Avoid using the -loglevel debug, -loglevel quiet, and -hide_banner 
options unless requested to do so.
If you attach files avoid compressing small files. Uncompressed is 
preferred.
Please do not send HTML-only messages. The mailing list will ignore the 
HTML component of your message. Most mail clients will automatically include 
a text component: this is what the mailing list will use.
Configuring your mail client to break lines after 70 or so characters 
is recommended.

Avoid sending the same message to multiple mailing lists.
Please follow our Code of Conduct.


-fin--
___
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 "unsubscribe".


Re: [FFmpeg-user] New user question

2023-02-03 Thread Carl Zwanzig

On 2/3/2023 9:22 AM, Dave Blanchard wrote:

And how would that help this situation in any way?

In this one particular case, maybe not, but we don't necessary know.

So, why include that?
Because it would contain the build info, which may be relevant.
Because it contains info about the input and output streams.
Because the list FAQ (you have read it, haven't you?) asks for it.

There is seldom a reason you leave out the complete command and output; most 
of us would rather see it than have to ask, and more often than not it is 
needed.


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.org with subject "unsubscribe".


Re: [FFmpeg-user] FW: New user question

2023-02-02 Thread Carl Zwanzig

On 1/31/2023 12:02 PM, Scott Perrilloux wrote:

I loaded the latest version, but when we try to transcode a file, it
returns " Unknown encoder 'hap' ". How do I load the hap encoder to the
system?

quoting https://gist.github.com/dlublin/e4585b872dd136ae88b2aa51a6a89aac

  You can check that your version of FFmpeg can encode Hap using
ffmpeg -encoders | grep hap
  If the last line of output ends with Vidvox Hap encoder then you can 
encode Hap.



If the build of ffmpeg you have doesn't contain the desired encoder you'll 
have to find one that does or build it yourself.



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.org with subject "unsubscribe".


Re: [FFmpeg-user] How to compile static FFmpeg to a .so file?

2023-01-31 Thread Carl Zwanzig

On 1/31/2023 12:33 PM, Ricardo Zacarias wrote:

I was running under the false assumption that since I can turn an
executable (ffmpeg) into a dll, then the dll must also be executable.

(using the terms as commonly understood)
You cannot turn an executable file into a DLL without repackaging it; they 
are fundamentally different things (like turning an apple into an apple pie, 
you have a pie but no longer have an apple).


We really have no idea what you're trying to do or why.

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.org with subject "unsubscribe".


Re: [FFmpeg-user] How to compile static FFmpeg to a .so file?

2023-01-31 Thread Carl Zwanzig

On 1/31/2023 10:46 AM, Ricardo Zacarias wrote:

I thought that shared object files (.so) were similar to dynamically
linked libraries (.dll) and that they can be used as executables. 


They are, and they can't.
Real DLLs cannot be directly executed but they can be called by executable 
files. The same is true for .so files on *nix.


(I am ignoring the possibility that someone has put .so or .dll on an 
otherwise correct executable file- you -could- create an executable of 
ffmpeg and called ffmpeg.so (or "asdf.qwer") and directly execute that, but 
it's way past "not recommended". If something is called .so, it's assumed to 
be a shared-object file.)




So if I can get ffmpeg to be built as a dll, should I not be able to
create a .so file for ffmpeg to execute through?
It sounds like you are really unclear on the differences between shared 
*libraries* and *executable files*. It's also unclear what problem you are 
trying to solve; the solution you seem to be looking for is probably the 
wrong one.


Later,

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.org with subject "unsubscribe".


Re: [FFmpeg-user] How to compile static FFmpeg to a .so file?

2023-01-31 Thread Carl Zwanzig

On 1/31/2023 7:06 AM, Ricardo Zacarias wrote:

  but there is still no FFmpeg.so file being created in its place.


That's because 'ffmpeg' is an executable, not a library-

# file /usr/local/bin/ffmpeg
/usr/local/bin/ffmpeg: ELF 64-bit LSB executable, x86-64, version 1 
(FreeBSD), dynamically linked, interpreter /libexec/ld-elf.so.1, for FreeBSD 
13.1, FreeBSD-style, stripped

(linux will be quite similar)

It dynamically links to many libraries (81 on my test system), but none are 
called ffmpeg.so. Remember that *nix executables are known by file 
permissions, not by a filename extension (e.g. .exe or .com).



So, you need do decide whether you want a truly static build with all the 
libraries contained in a single executable (which might be a 60mb file), or 
a dynamically-linked one with corresponding .so files. If you just run 
"./configure" with no options, you should get a set of dynamically-linked 
executables and the libraries. Do not forget to "make install" to get them 
in the right places to run.


Oh, and please learn what top-posting is and avoid it on this list (yes, you 
can do that with gmail, takes only a tiny effort to do so).


Later,

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.org with subject "unsubscribe".


Re: [FFmpeg-user] Question about including FFmpeg source codes.

2023-01-29 Thread Carl Zwanzig

On 1/29/2023 10:03 PM, 김기돈 [메타버스엔터테인먼트] wrote:

Q1) Since I'm just using the libav libraries that are included in FFmpeg,
do I still need to distribute the source code of FFmpeg?


(all of the libav* libraries? lbavcodec, libavformat, libavfilter, etc)

The license and livense FAQ should explain that, but my understanding is 
that you only need to distribute the source code for the parts you 
distribute in binary form. However you need to look at specific parts 
for the license types. For instance, libavfilter has parts that are GPL in 
addition to those that are LGPL.




Q2) If I have to distribute all the source codes, then can I upload them to
my personal repository and share the link?


As long as you -do- make them available, you should be compliant. The LGPL 
2.1 license says "You must make sure that they, too, receive or can get the 
source code."


If you have not actually read the LGPL, please do so. It's pretty clear.

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.org with subject "unsubscribe".


Re: [FFmpeg-user] Evade shortening audio while transcode

2023-01-26 Thread Carl Zwanzig

On 1/26/2023 7:48 AM, Moritz Barsnick wrote:

The original files may have misleading headers regarding their lengths.


I would definitely check this, I've run into more than a couple of files 
where the metadata doesn't match the actual data (e.g. says it's 20 minutes 
long, plays for 21 (or 18, or etc)).


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.org with subject "unsubscribe".


Re: [FFmpeg-user] help : VHS, tapes, correct commands and parameters?

2023-01-22 Thread Carl Zwanzig

On 1/22/2023 3:05 PM, l...@netc.fr wrote:

does the 720x576 is right, or better 768x576?


PAL format is 720x576.

"-standard" appears twice in the command line, why? Also, check on the 
difference between -r and -framerate; they work differently.



Please do not top-post on this mailing list, thanks,

Later,

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.org with subject "unsubscribe".


Re: [FFmpeg-user] ffprobe error return

2023-01-18 Thread Carl Zwanzig

On 1/16/2023 12:30 AM, Yazhou (William) He wrote:


I have also double checked it on VLC and found the video is unplayable for
the last a few seconds, 


Pretty much everything confirms that you have a corrupt file. You might be 
able to scrape some metadata out since it's partly playable, but IIRC most 
of the interesting MP4 metadata is at the end (unless the file was 
re-created for "fast start").


Is there specific metadata that you need?



Just in case the attached text is unreadable, I also put the full text here:


Please, just drop the text into the email, no need for the attachments.



C:\Users\Ingest_1>ffprobe
G:\Ballymun\Harddrive_SIPS\Donation\aaa5844\59023442-d512-4206-9b18-2d9326821821\objects\DJI_0034.MP4
ffprobe version 5.1.2-full_build-www.gyan.dev Copyright (c) 2007-2022 the
FFmpeg developers

...

[mov,mp4,m4a,3gp,3g2,mj2 @ 01e61beee200] Invalid sample size -1
[mov,mp4,m4a,3gp,3g2,mj2 @ 01e61beee200] error reading header
G:\Ballymun\Harddrive_SIPS\Donation\aaa5844\59023442-d512-4206-9b18-2d9326821821\objects\DJI_0034.MP4:
Invalid data found when processing input




# vlc report

mp4 warning: track[0x1] will be disabled (eof?): Failed to read -1 bytes
sample at 1867557853


Just based on that, it's possible (likely?) that the file wasn't properly 
"finalized" when it was created, but I am not an expert here. You should be 
able salvage the readable streams into another file by copying them with ffmpeg.



Also, please find out what "top-posting" is and avoid doing so on this 
mailing list.


Later,

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.org with subject "unsubscribe".


Re: [FFmpeg-user] ffprobe error return

2023-01-15 Thread Carl Zwanzig

On 1/9/2023 8:21 AM, Yazhou (William) He wrote:

Please advise anything on this, thanks!


Please post the complete output into the email, not as an attached image 
(and run from a command line for testing). Make sure you're starting with a 
current version of ffmpeg, but you may want to try with some older versions 
to see if there's a difference in the output.


Does this happen for multiple files or just one? How were they created?

Also, look in the VLC messages window (Tools -> Messages) to see if there 
are any errors reported there.


Later,

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.org with subject "unsubscribe".


Re: [FFmpeg-user] Meaning of duration

2022-12-30 Thread Carl Zwanzig

On 12/30/2022 8:36 AM, Reindl Harald wrote:

and since it's not constant these days that won't work
for audio-files anything relies on avg-bitrate


frame (sample) rate should still be constant even while encoded bit-rate 
isn't (or are are there now encodings that vary the sample rate?).


'course, one can simply "play" the file and time it :D.

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.org with subject "unsubscribe".


Re: [FFmpeg-user] Meaning of duration

2022-12-30 Thread Carl Zwanzig

On 12/30/2022 5:34 AM, Reindl Harald wrote:


the days where duration and filesize are hard connected are long gone,


Hard connected, no; but a 3 hour duration on a 2mb file is probably wrong.


I've found that duration metadata is often incorrect unless file was 
re-coded, and even then it can be suspect. If you want an _exact_ duration, 
count the frames and divide by the rate (assuming a constant rate).


Later,

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.org with subject "unsubscribe".


Re: [FFmpeg-user] Resizing ffplay window with fixed aspect ratio

2022-12-23 Thread Carl Zwanzig



On 12/22/2022 3:04 PM, Paul B Mahol wrote:


On 12/22/22, Carl Zwanzig  wrote:

While ffmpeg is quite useful, there are better free players than ffplay*
(often built on the ffmpeg libs). And for some purposes, there are better
open-source info tools than ffprobe.


(Note the use of "for some purposes" there indicating that the assertion may 
not be, or probably isn't, true for all cases. This is called "expressing an 
opinion".)




That is doubtful, citation needed.


For players, and there are probably hundreds, as I'm sure you know VLC is 
quite good and does an excellent job for a great many people (and uses parts 
of ffmpeg). Tell us why ffplay is _better_ (in general and in specific); 
from what I can tell, it never rates in any of the "top 10" lists of players 
whereas VLC is usually in the top 2 or 3.


https://www.techradar.com/best/free-video-player
https://www.softwaretestinghelp.com/best-video-player/
https://fossbytes.com/10-best-free-media-players-windows/
https://www.androidpolice.com/best-video-players-android/
(there are more)


Next, please explain why ffprobe is superior to all the others instead of 
just saying "This is doubtful."? There is no doubt to me and my colleagues 
that MediaInfo is often more usable (or "better") that ffprobe - we've found 
it gives much better control of the output and has a GUI for those that want 
it. GSpot has been quite useful but is considered old now. There's also 
AVInaptic. Then there are some non-free ones. If those are inaccurate, well, 
citation, please.


https://listoffreeware.com/free-video-metadata-viewer-software-windows/
https://www.videoproc.com/video-editor/video-metadata-editor.htm
unfortunately, there aren't a lot of comparisons out there



You are still trying to be truth teller, but fail badly.


Citation and explanation, please; both on "trying to be truth teller" and 
"fail badly". And then explain how an opinion can be "wrong".



Paul, there's no point trying these silly games. It seems that whenever you 
disagree with anyone, you try to insult them; that's antisocial and doesn't 
help anyone. Oh, and please don't bother to add "You should be banned.", 
that would be tiresome and we've heard it before.


Later,

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.org with subject "unsubscribe".


Re: [FFmpeg-user] Resizing ffplay window with fixed aspect ratio

2022-12-22 Thread Carl Zwanzig



While ffmpeg is quite useful, there are better free players than ffplay* 
(often built on the ffmpeg libs). And for some purposes, there are better 
open-source info tools than ffprobe.


*from the doc- "It is mostly used as a testbed for the various FFmpeg APIs."

I hadn't noticed mplayer leaking memory but then I haven't used it for a few 
years.


Find the best tool for the job, and all that.

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.org with subject "unsubscribe".


Re: [FFmpeg-user] Combining -copyts with segmentation gives unexpected results

2022-12-19 Thread Carl Zwanzig

On 12/18/2022 2:52 PM, Jarno Suni wrote:

Am I doing something wrong or is there a bug in ffmpeg?


Yes :), not posting the complete command output (it's always necessary when 
posting question).


And please remember to not top-post replies.

Later,

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.org with subject "unsubscribe".


Re: [FFmpeg-user] Extract chapter names to a text file?

2022-12-05 Thread Carl Zwanzig

On 12/5/2022 4:20 PM, Laine wrote:
  
And the following appears to remove “title=“ from lines generated by "grep '^title=‘ chapters.txt” alone.


grep '^title=' chapters.txt | perl -pe 's/title=//s’


I'm not clear you you'd use perl at all when sed is more common for this 
sort of thing (sed 's/title=//’), but whatever works for you.


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.org with subject "unsubscribe".


Re: [FFmpeg-user] Extract chapter names to a text file?

2022-12-05 Thread Carl Zwanzig

On 12/5/2022 1:36 PM, Laine wrote:

If you are able to generate “chapters.txt” but observe an overabundance
of information in that file, you might try the options that I used to get
just the video title and a list of the chapters.


'grep' does wonders for pulling info out of files
  grep '^title=' chapters.txt

(return all lines that start with "title=")
all *nix and the mac should have grep, windoze doesn't unless you installed 
it yourself


Or use mediainfo, which allows you to easily specify what data you want and 
how it's formatted.


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.org with subject "unsubscribe".


Re: [FFmpeg-user] Ubuntu 22.04 audio capture issue

2022-11-30 Thread Carl Zwanzig

On 11/30/2022 8:08 AM, Dave Blanchard wrote:

That's OK. There are certain readers out there who are glad we did veer
off topic for a moment.

Doubtful, IME.

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.org with subject "unsubscribe".


Re: [FFmpeg-user] decode raw video

2022-11-29 Thread Carl Zwanzig

On 11/29/2022 2:13 AM, Naveen.B wrote:

I have encoded the raw video in yuv420P pixel format and I want to perform
the decoding, could you let me know the ffmpeg command.


Show us what you've tried; there are many examples on the ffmpeg wiki, in 
the doc, and online.


What output format do you want?
What output container do you want?
We could show you many command that would decode and also entirely useless 
for your purposes.



Please stop asking vague and open-ended questions that suggest you haven't 
even looked at the doc pages or tried anything.

And read the list FAQ before posting - https://ffmpeg.org/mailing-list-faq.html

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.org with subject "unsubscribe".


Re: [FFmpeg-user] Ubuntu 22.04 audio capture issue

2022-11-28 Thread Carl Zwanzig

On 11/28/2022 8:14 AM, Christof Ameye (Oscart Group) wrote:

We have tried to find any indications what is the cause (like making that
user part of the audio group), but none of it worked.
At first blush, it sounds like the environments may be different- perhaps 
something is set in one of the login/(ba)sh .rc files differently for 
interactive vs non-interactive invocations (these files can change between 
releases and usually nobody looks at them) or alsa behaves differently when 
interactive.


(Please include the message text in the email body, not as attached images. 
Thanks.)



Dave B- Custom distros are simply not an option for many people, either for 
time or ability to make them, company standards, etc. It's pretty likely 
that most people who need them are already rolling their own. (And IMHO this 
is off-topic for the ffmpeg list, anyway.)


Later,

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.org with subject "unsubscribe".


Re: [FFmpeg-user] How to Transcode ALL Audio streams from input to output using ffmpeg?

2022-11-24 Thread Carl Zwanzig

On 11/24/2022 9:27 AM, Mark Filipak wrote:

ffmpeg -i unit_test.ts -map 0 -c copy -c:a aac maud_test.ts
... What that I am doing is not right?


I may not be correct, but I believe that '-c:a' defaults to solely the 1st 
audio stream.


(no time to try this)
The '-c copy' would copy all streams and '-c:a' should then match all audio 
streams. However, the doc says that when -map is used only the user-mapped 
streams are included. Try removing that?


Later,

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.org with subject "unsubscribe".


Re: [FFmpeg-user] Unable to create multiple outputs with svtav1

2022-11-16 Thread Carl Zwanzig

On 11/14/2022 1:16 AM, 天天快乐汤 via ffmpeg-user wrote:

ffmpeg.exe -i 'in.mp4' -c:v libsvtav1 -preset 4 -crf 20 'p4.mp4' -c:v libsvtav1 
-preset 6 -crf 20 'p6.mp4' -c:v libsvtav1 -preset 8 -crf 20 'p8.mp4'
Result: failed, three 48 Byte file created, CPU drop to 0%, and ffmpeg never 
exit


Have you looked at https://trac.ffmpeg.org/wiki/Creating%20multiple%20outputs ?
"Outputting and re-encoding multiple times in the same FFmpeg process will 
typically slow down to the "slowest encoder" in your list"


You may be better off running ffmpeg once for each output file to get 
completely parallel operation.


(Entire command output missing from the previous email; include the command 
output in the body of the email.)


Later,
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.org with subject "unsubscribe".


Re: [FFmpeg-user] ffserver

2022-11-11 Thread Carl Zwanzig

On 11/11/2022 6:15 AM, david stephen wrote:

  its not applying job mail service.
and is not english mail service. whatever typing as long is define same
thing. its okay. u and U! is different. you or u is same. and again is not
applying job mail service. so normative is must.


Trying to excuse bad spelling and grammar as "normative" for a technical 
mailing list shows a lack of respect for the readers; this list is not 
someone's random twitter feed. And spelling things out helps make it more 
comprehensible to those who may have limited English skills.


Or-
"Normative" for many English-language technical lists is standard English.
"Normative" for this list is inline/bottom-posting, not top-posting (it's in 
the list FAQ).

"Normative" is signing your posts.

Later,

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.org with subject "unsubscribe".


Re: [FFmpeg-user] ffserver

2022-11-09 Thread Carl Zwanzig

On 11/8/2022 3:55 PM, Dave Blanchard wrote:

(sometime in here Carl Zwanzig wrote):
On 11/8/2022 2:50 PM, Dave Blanchard wrote:

I can't believe you dropped ffserver. [...]
Perhaps it's because other projects were eclipsing ffserver, only the 
developers know for sure.


So how about we just wait for one of them to comment, instead of wasting time 
with speculation.


How 'bout "There -are- no developers on it"?



Personally, I don't care WHY they decided to do it. I'm pissed that they did it, leaving 
me with some useless bullshit like mkvserver_mk2 as the only "alternative."


a) that's nice.
b) mkvserver_mk2 isn't the only alternative (see below)


Why not offer to take over maintenance and bring it up to date?


Are you seriously asking me this? What a stupid question.


Dead serious (and hardly stupid). If that particular software is so 
necessary to your process, stop complaining that nobody else is working on 
it and do it yourself.




Why don't I just drop everything to reimplement from scratch something
that was already (half-assed) implemented, which half the net apparently
came to rely on, before it was discontinued without warning, when my goal
is to get my security camers back up and running TODAY so I can catch
this piece of shit who is robbing me blind?


If it's that important, find something that half works and use it. And 
ffserver was dropped almost FIVE years ago! There's been plenty of time to 
find something else.




Or look at this for 
something-https://en.wikipedia.org/wiki/List_of_streaming_media_systems#Servers


Not helpful. It's all either proprietary, doesn't have the right features, or 
is trash, like the 'official' alternative mkvserver_mk2.


Then maybe you'll have to dig up an old version or do without.

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.org with subject "unsubscribe".


Re: [FFmpeg-user] ffserver

2022-11-08 Thread Carl Zwanzig

On 11/8/2022 2:50 PM, Dave Blanchard wrote:

I can't believe you dropped ffserver. [...]


Perhaps it's because other projects were eclipsing ffserver, only the 
developers know for sure. Why not offer to take over maintenance and bring 
it up to date?


Or look at this for something-
https://en.wikipedia.org/wiki/List_of_streaming_media_systems#Servers

Or lay out what you've tried, what worked/didn't work, and some more 
specific requirements and maybe someone will make more informed suggestions.


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.org with subject "unsubscribe".


Re: [FFmpeg-user] Reliable audio capture method on windows ? (stereo mix does not exist on most computers)

2022-11-08 Thread Carl Zwanzig

On 11/7/2022 10:17 PM, Joe Smithy wrote:

I need a way to capture output audio that works reliably on most computers
without having to know anything about the state of said computer.


I suspect you won't, at least not directly. If the search is narrowed to 
specific versions of windoze and dshow, it may get easier.  (On a modern 
win10 thinkpad here w/ OBS, the only audio output captures are the named 
sound devices - "Speakers (USB PnP Audio device)" and "Speakers (Realtek(R) 
Audio)".


IME most windows capture software uses pick lists to get the desired device. 
You might be able to script something to simply use the first device, but of 
course, that might fail on some.


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.org with subject "unsubscribe".


Re: [FFmpeg-user] encode to RAW video

2022-11-01 Thread Carl Zwanzig

(all attributions are missing in Naveen's response, please don't do that)

On 11/1/2022 3:00 AM, Naveen.B wrote:

What do you really want? Why this insistence on "raw" output, either as
an "encoding" or output file?  That's making life difficult and likely 
obscuring other issues.



I am doing some compression analysis, So I need raw output.
Do you need raw _frames_ or _un-containerized_ output_? Big difference. It 
seems like a lot of the issues relate to the lack of understanding of the 
muxer/container.


If you need analyze the _frames_, stick them uncompressed in a mkv or avi 
container/file; there are many libraries, including those in ffmpeg, to 
retrieve them for analysis.


If the container itself affects the analysis, then the analysis is not 
merely examining the frame compression.



On 11/1/2022 4:19 AM, Reindl Harald wrote:
BTW: my response is a example how to write a mail with a useful quoting 
instead seeking the single line of the reply like a needle

Exactly so.

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.org with subject "unsubscribe".


Re: [FFmpeg-user] encode to RAW video

2022-10-31 Thread Carl Zwanzig

On 10/31/2022 6:23 AM, Naveen.B wrote:

I observed some weird behaviour with fast and medium preset,


We've observed that you're -still- top-posting, please stop it.


(reformatted)

fast preset:
*ffmpeg -pixel_format gray10le -s 1600x1300 -r 30 -i CapturedImage-%03d.raw

Specifies the input file(s) and their characteristics.

All that follows is filters and output specs.

-c:v rawvideo -pixel_format yuv420p 
Use the video codec "rawvideo" with that pixel format for output, except 
AFAICT that there is no video encoder "rawvideo" (that should throw an 
error, which because of the missing command output, we don't see).



-f rawvideo 
Force the output format to rawvideo ("Raw muxers accept a single stream 
matching the designated codec. They do not store timestamps or metadata. The 
recognized extension is the same as the muxer name unless indicated 
otherwise.") Don't use this unless there's a _really_ good reason.



-c:v libx264 -preset fast -crf 18 

But now use the x264 codec!!! (into a "raw" file)


test.raw*

but call the output file "test.raw" (not "test.mp4" or something like that).


What do you really want? Why this insistence on "raw" output, either as an 
"encoding" or output file?  That's making life difficult and likely 
obscuring other issues.




command output:
(but the the _complete_ output!! Stop making us guess about things and 
you'll get better answers.)



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.org with subject "unsubscribe".


Re: [FFmpeg-user] What is a "pad" in the context of an "input pad", an "output pad" and a "filter pad"

2022-10-28 Thread Carl Zwanzig

On 10/28/2022 8:49 AM, Reindl Harald wrote:
well, in the audio-world people can't even distinct between instruments and 
playback, otherwise the nonsense of "sounding" amplifiers won't exist


What does that really mean? "Distinct" is not a verb, do you mean 
"distinguish"?



on the playback side you don't want anything having it's own sound because 
it isn't an instrument while instruments are supposed to produce sound 
speakers and amplifiers have to be neutral - the sound is already on the record


On the recording side, too, but it's rather well understood that most audio 
equipment -does- have a "sound" and good engineers understand and exploit 
that. Perhaps you realize that €50 speakers seem a bit less accurate that 
€500 ones do? (I must assume you have little background in actual audio 
engineering or professional recording practice.)


On 10/28/2022 8:51 AM, Reindl Harald wrote:

not in the IT world
Good thing we're not in the IT world, we're in the image- and 
aural-processing world.



And none of that is relevant to the original question.


Anyway, go back and look at Clay's question- what does "pad" mean in context 
of _filter_chains_?


https://ffmpeg.org/ffmpeg-filters.html#Filtergraph-description
4 Filtergraph description
A filtergraph is a directed graph of connected filters. It can contain 
cycles, and there can be multiple links between a pair of filters. Each link 
has one input _pad_ on one side connecting it to one filter from which it 
takes its input, and one output _pad_ on the other side connecting it to one 
filter accepting its output.

[emphasis added]

It seems that 'pad' means a connecting point (consistent with my #3 earlier).

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.org with subject "unsubscribe".


Re: [FFmpeg-user] What is a "pad" in the context of an "input pad", an "output pad" and a "filter pad"

2022-10-28 Thread Carl Zwanzig

On 10/27/2022 11:03 PM, Reindl Harald wrote:
in which crazy world means padding reduce something 


The audio engineering world, that's where; been like that many years. 
Surprised you didn't know it.


[the rest omitted because it was irrelevant]

Pad can mean-
1) to reduce (audio) "put a 20db pad on that input"
2) to add filler material (writing and other places) "let's pad that out to 
10 minutes"

3) an electronic contact surface ""solder the red wire to pad #2"
4) a place to put something "launch pad"
5) a "pad of paper"
and a bunch of others (look 'em up, you might learn something).


In the case of ffmpeg _filters_, it looks like #3 is closest as a point of 
interconnection but #2 could apply to 'pad' and 'apad' although IMHO 'fill' 
would be a better term.


Later,

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.org with subject "unsubscribe".


  1   2   3   4   5   6   7   >