Re: [FFmpeg-user] How to preserve file time

2024-08-21 Thread Ulf Zibis
Am 21.08.24 um 14:39 schrieb Ulf Zibis: and I'm not aware of any program that overrides it I've seen this plenty of times. The one, which instantly comes in memory is IrfanView. There it's my standard setting. From there I was inspired for my proposal. I also remember some

Re: [FFmpeg-user] How to preserve file time

2024-08-21 Thread Ulf Zibis
Am 21.08.24 um 14:39 schrieb Ulf Zibis: Second, implementing the proposed option correctly is actually very non-trivial, especially considering that there can be multiple input files and multiple output files, and there needs to be some syntax and built-in logic for mapping mtime from input

Re: [FFmpeg-user] How to preserve file time

2024-08-21 Thread Ulf Zibis
Am 21.08.24 um 12:45 schrieb Oliver Fromme: I'm sorry this mail is going to be rather long. However, I would like to explain my opinion on this matter in detail. Hollala, thanks for your effort. German accuracy? ;-) Well, I'm not sure who brought up the "OS call" argument -- and why. I thi

Re: [FFmpeg-user] How to preserve file time

2024-08-21 Thread Ulf Zibis
Am 21.08.24 um 10:56 schrieb Reindl Harald: Am 20.08.24 um 21:33 schrieb Ulf Zibis: There seems some need to outline and precise my original message. 1. For the security of existing data and in some way for convenience (avoid the need to create the potentially overwritten data again) FFmpeg

Re: [FFmpeg-user] How to preserve file time

2024-08-21 Thread Ulf Zibis
Am 20.08.24 um 21:59 schrieb Rob Hallam: It is unlikely at this point you will receive an argument you deem applicable. A call to an OS function is not the same as managing filesystem-level metadata. If you really want it, it is possible for you to write and maintain your own small patch that

Re: [FFmpeg-user] How to preserve file time

2024-08-20 Thread Ulf Zibis
Am 14.08.24 um 17:20 schrieb Ulf Zibis: Am 12.08.24 um 19:04 schrieb Mark Filipak: That's a question for your operating system. I can change file times to whatever I want via the TotalCommander file browser. There are probably others. Isn't removing existing output files samely

Re: [FFmpeg-user] How to preserve file time

2024-08-20 Thread Ulf Zibis
Am 18.08.24 um 11:38 schrieb Reindl Harald: Am 18.08.24 um 00:54 schrieb Ulf Zibis: Am 18.08.24 um 00:26 schrieb Reindl Harald: Am 17.08.24 um 22:33 schrieb Ulf Zibis: And WHAT then happens with the original file, when write creates ANOTHER file ??? NOTHING' Another intere

Re: [FFmpeg-user] How to preserve file time

2024-08-18 Thread Ulf Zibis
Am 18.08.24 um 03:04 schrieb Oliver Fromme: Would you please stop this? This kind of discussion is not going to improve FFmpeg. You're just annoying everybody. You mean the discussion about smartness, dumbness and nonsense? I agree with you. Please address the originator. Cheers Ulf

Re: [FFmpeg-user] How to preserve file time

2024-08-17 Thread Ulf Zibis
Am 18.08.24 um 00:26 schrieb Reindl Harald: Am 17.08.24 um 22:33 schrieb Ulf Zibis: Am 17.08.24 um 22:10 schrieb Bouke / Videotoolshed: ..., it will be ‘another’ file with the same name. And WHAT then happens with the original file, when write creates ANOTHER file ??? NOTHING Another

Re: [FFmpeg-user] How to preserve file time

2024-08-17 Thread Ulf Zibis
Am 18.08.24 um 00:30 schrieb Reindl Harald: Am 17.08.24 um 23:07 schrieb Ulf Zibis: Am 17.08.24 um 22:10 schrieb Bouke / Videotoolshed: The user input is parsed as ‘if file exists and not -y in line, abort’ FFmpeg CLI does not abort in that case, it outputs a question to system out

Re: [FFmpeg-user] How to preserve file time

2024-08-17 Thread Ulf Zibis
Am 18.08.24 um 00:26 schrieb Reindl Harald: Am 17.08.24 um 21:53 schrieb Ulf Zibis: but there is no delete action You can spin it however you like. The logic around the ‘-y’ option requires an extra additional OS call, in this case querying the existence of the file, before it is

Re: [FFmpeg-user] How to preserve file time

2024-08-17 Thread Ulf Zibis
Am 17.08.24 um 22:10 schrieb Bouke / Videotoolshed: The user input is parsed as ‘if file exists and not -y in line, abort’ FFmpeg CLI does not abort in that case, it outputs a question to system out stream, and then reads the input from system in stream. These are again 2 additional OS calls

Re: [FFmpeg-user] How to preserve file time

2024-08-17 Thread Ulf Zibis
Am 17.08.24 um 22:10 schrieb Bouke / Videotoolshed: ..., it will be ‘another’ file with the same name. And WHAT then happens with the original file, when write creates ANOTHER file ??? The user input is parsed as ‘if file exists and not -y in line, abort’ Yes, and so we have 3 OS calls extra

Re: [FFmpeg-user] How to preserve file time

2024-08-17 Thread Ulf Zibis
Am 16.08.24 um 11:46 schrieb Reindl Harald: but you are not very smart That's not a problem for me. It's enough for me to be smarter than you. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To un

Re: [FFmpeg-user] How to preserve file time

2024-08-17 Thread Ulf Zibis
Am 16.08.24 um 11:43 schrieb Reindl Harald: Am 15.08.24 um 23:53 schrieb Ulf Zibis: Am 15.08.24 um 23:39 schrieb Greg Oliver: On Thu, Aug 15, 2024 at 12:02 PM Nicolas George wrote: Ulf Zibis (12024-08-14): But for convenience FFmpeg CLI provides option `-y` for this task No, it does

Re: [FFmpeg-user] How to preserve file time

2024-08-15 Thread Ulf Zibis
Am 15.08.24 um 23:39 schrieb Greg Oliver: On Thu, Aug 15, 2024 at 12:02 PM Nicolas George wrote: Ulf Zibis (12024-08-14): But for convenience FFmpeg CLI provides option `-y` for this task No, it does not. The -y option only disables a very simple, unreliable but convenient safety measure

Re: [FFmpeg-user] How to preserve file time

2024-08-15 Thread Ulf Zibis
Am 14.08.24 um 21:13 schrieb Greg Oliver: In other words if the conversion command failed and you had it set to delete to input file after conversion, with ; it will delete the file even if the new file was not created, ... Here it is not about deleting the *input* file, it's about deleting t

Re: [FFmpeg-user] How to preserve file time

2024-08-14 Thread Ulf Zibis
Am 12.08.24 um 19:04 schrieb Mark Filipak: That's a question for your operating system. I can change file times to whatever I want via the TotalCommander file browser. There are probably others. Isn't removing existing output files samely a question for the OS ? But for convenience FFmpeg

Re: [FFmpeg-user] How to preserve file time

2024-08-13 Thread Ulf Zibis
Am 12.08.24 um 23:05 schrieb Greg Oliver: On Mon, Aug 12, 2024 at 6:06 AM Ulf Zibis via ffmpeg-user < ffmpeg-user@ffmpeg.org> wrote: Hi, is there an option how to preserve the file time from the input file to the outputfile? My search for "file time" on https://ffmpeg.org/ffm

Re: [FFmpeg-user] How to preserve file time

2024-08-12 Thread Ulf Zibis
Am 12.08.24 um 19:37 schrieb Gia Ferrari: On 8/12/24 3:57 AM, Ulf Zibis via ffmpeg-user wrote: Hi, is there an option how to preserve the file time from the input file to the outputfile? My search for "file time" on https://ffmpeg.org/ffmpeg-all.html was resultless.

[FFmpeg-user] How to preserve file time

2024-08-12 Thread Ulf Zibis via ffmpeg-user
Hi, is there an option how to preserve the file time from the input file to the outputfile? My search for "file time" on https://ffmpeg.org/ffmpeg-all.html was resultless. -Ulf ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/ma

Re: [FFmpeg-user] How to restrict ffprobe output to a certain number of frames?

2023-10-29 Thread Ulf Zibis
Am 29.10.23 um 22:06 schrieb Torsten Kaiser: On 29.10.23 20:28, Ulf Zibis wrote: Hi, when I use ffprobe -show_frames INPUT I get all frames. But I only want some frames e.g. the first 10 or frame 100 to 109. ffprobe doesn't seem to provide anything like -ss -t or -frames. So I assu

[FFmpeg-user] How to restrict ffprobe output to a certain number of frames?

2023-10-29 Thread Ulf Zibis
Hi, when I use ffprobe -show_frames INPUT I get all frames. But I only want some frames e.g. the first 10 or frame 100 to 109. -Ulf ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, vi

Re: [FFmpeg-user] Same number of frames dropped and duplicated; What does that mean?

2023-10-29 Thread Ulf Zibis
Am 29.10.23 um 18:53 schrieb Paul B Mahol: On Sun, Oct 29, 2023 at 6:08 PM Ulf Zibis wrote: Am 29.10.23 um 17:04 schrieb Paul B Mahol: https://ffmpeg.org/ffmpeg-filters.html#toc-vfrdet At end it will output number of frames detected as having variable delta pts, and ones with constant

Re: [FFmpeg-user] Same number of frames dropped and duplicated; What does that mean?

2023-10-29 Thread Ulf Zibis
Am 29.10.23 um 17:04 schrieb Paul B Mahol: On Sun, Oct 29, 2023 at 4:52 PM Ulf Zibis wrote: Am 29.10.23 um 16:00 schrieb Paul B Mahol: On Sun, Oct 29, 2023 at 3:29 PM Ulf Zibis wrote: Hi, so 18.3 % of the frames were dropped and duplicated at same time. Does that mean, that 8063 frames

Re: [FFmpeg-user] Same number of frames dropped and duplicated; What does that mean?

2023-10-29 Thread Ulf Zibis
Am 29.10.23 um 16:00 schrieb Paul B Mahol: On Sun, Oct 29, 2023 at 3:29 PM Ulf Zibis wrote: Hi, so 18.3 % of the frames were dropped and duplicated at same time. Does that mean, that 8063 frames of the input were dropped and then same (or other) 8064 frames were duplicated to the output

[FFmpeg-user] Same number of frames dropped and duplicated; What does that mean?

2023-10-29 Thread Ulf Zibis
Hi, so 18.3 % of the frames were dropped and duplicated at same time. Does that mean, that 8063 frames of the input were dropped and then same (or other) 8064 frames were duplicated to the output? What is the sense of this? Maybe the original didn't have the exact framerate of 25 fps ? Would

Re: [FFmpeg-user] MP4-Video does not play audio on Android 8; audio stream size tagged wrong

2023-10-25 Thread Ulf Zibis
Am 25.10.23 um 06:50 schrieb Classic SSG Enjoyer: Use Opus. Opus delievers better audio quality than AAC/Vorbis On Tue, 24 Oct, 2023, 11:01 pm Ferdi Scholten, wrote: Hi, Vorbis audio is officially not supported by the mp4 container specifications. Matroska does not have this problem as it

Re: [FFmpeg-user] MP4-Video does not play audio on Android 8; audio stream size tagged wrong

2023-10-24 Thread Ulf Zibis
Am 24.10.23 um 08:12 schrieb Ferdi Scholten: Hi, Vorbis audio is officially not supported by the mp4 container specifications. Matroska does not have this problem as it supports almost all known codecs. These are the audio codecs that are in the mp4 specifications: AAC, ALS, SLS, MP3, MP2, MP

[FFmpeg-user] MP4-Video does not play audio on Android 8; audio stream size tagged wrong

2023-10-23 Thread Ulf Zibis
Hi, I have a Matroska video with libx264 video and libvorbis audio. when I copy it to MP4 container, the resulting video does not play audio on Android 8 phone -> "Audio-Codec not supported" Matroska: http://jugkoeln.de/Projects/ffmpeg/K%C3%B6nig_de_3.mkv MP4:   http://jugkoeln.de/Projects/ffmp

Re: [FFmpeg-user] missing meta data in ffprobe output from mp4 format

2023-10-23 Thread Ulf Zibis
Am 20.10.23 um 23:37 schrieb Greg Oliver: On Fri, Oct 20, 2023 at 3:57 PM Ulf Zibis wrote: On Fri, Oct 20, 2023 at 7:19 PM Ulf Zibis wrote: Hi, in my last post "Codec 0x21000 is not in the full list." you can see, that also the included metadata is mostly missing in the output

Re: [FFmpeg-user] missing meta data in ffprobe output from mp4 format

2023-10-20 Thread Ulf Zibis
Am 20.10.23 um 20:14 schrieb Paul B Mahol: On Fri, Oct 20, 2023 at 7:19 PM Ulf Zibis wrote: Hi, in my last post "Codec 0x21000 is not in the full list." you can see, that also the included metadata is mostly missing in the output of ffprobe. Why? When I use the same command an

[FFmpeg-user] missing meta data in ffprobe output from mp4 format

2023-10-20 Thread Ulf Zibis
Hi, in my last post "Codec 0x21000 is not in the full list." you can see, that also the included metadata is mostly missing in the output of ffprobe. Why? When I use the same command and the same metadata file for mkv output, beside this message all is fine: $ ffmpeg -i König_de.meta -t 3:0

[FFmpeg-user] Codec 0x21000 is not in the full list.

2023-10-20 Thread Ulf Zibis
Hi, above message is 2 times in the output (in yellow). What does that mean? Also there is in yellow: [mp4 @ 0x55a76f8cf3c0] track 1: codec frame size is not set [mp4 @ 0x55a76f8cf3c0] track 2: codec frame size is not set In the following ffprobe output, there is an additional subtitle stream w

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

2023-10-19 Thread Ulf Zibis
Am 18.10.23 um 22:45 schrieb Leo Butler via ffmpeg-user: The answer is not specific to any particular container. The easiest way, in my opinion, is to write an ffmetadata file with the information. The syntax is described here: https://ffmpeg.org/ffmpeg-all.html#Metadata The example at the b

Re: [FFmpeg-user] How to add additional audio streams to mkv file

2023-10-16 Thread Ulf Zibis
Am 16.10.23 um 01:12 schrieb Ulf Zibis: Hi, is there a tutorial on how to add additional audio streams to mkv file? Now I found a solution with "-map". It's more simple as I thought: ffmpeg -i INPUT_de.mkv -i INPUT_en.mkv -map 0 -map 1:a -c copy -metadata:s:a:0 language=de

Re: [FFmpeg-user] Change only video

2023-10-16 Thread Ulf Zibis
Am 16.10.23 um 13:50 schrieb Cecil Westerhof via ffmpeg-user: I have started with creating YouTube videos. A lot to learn. I want to use ffmpeg to help me and it does. :-D But there are a lot of things I do not know at the moment. For example: if I have a video where I want to change for a shor

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

2023-10-16 Thread Ulf Zibis
Am 12.10.23 um 11:51 schrieb Cecil Westerhof via ffmpeg-user: I just found this: https://trac.ffmpeg.org/wiki/Capture/Desktop Very interesting indeed. I have two monitors. I could write something about how to use this with two monitors (or more). Would that be appreciated? If yes, how to

Re: [FFmpeg-user] -preset veryfast produces smallest file, weird

2023-10-16 Thread Ulf Zibis
Am 16.10.23 um 08:28 schrieb Reindl Harald: so the input was always the same - jesus christ So ok, you didn't see this because of the exhaustive cutting and concatenation, which was identical in all 3 cases.. My guess was, that this maybe irritates the correct processing of the codec. I.e.

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

2023-10-15 Thread Ulf Zibis
Hi, is there a tutorial on how to add title and chapters to mkv file? I didn't find any information in ffmpeg documentation and wiki. Thanks, -Ulf ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user

[FFmpeg-user] How to add additional audio streams to mkv file

2023-10-15 Thread Ulf Zibis
Hi, is there a tutorial on how to add additional audio streams to mkv file? I didn't find any information in ffmpeg documentation and wiki. Thanks, -Ulf ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-u

Re: [FFmpeg-user] -preset veryfast produces smallest file, weird

2023-10-15 Thread Ulf Zibis
Am 15.10.23 um 17:51 schrieb Reindl Harald: Am 15.10.23 um 17:20 schrieb Ulf Zibis: With "veryfast" I stated to "not care about *space*", but with "-crf 23" I always stated "care about same quality". you statet "i don't care about

Re: [FFmpeg-user] -preset veryfast produces smallest file, weird

2023-10-15 Thread Ulf Zibis
Am 15.10.23 um 16:52 schrieb Reindl Harald: Am 15.10.23 um 16:43 schrieb Ulf Zibis: Am 15.10.23 um 15:43 schrieb Reindl Harald: if you prefer fast you don't care about quality in doubt quality needs space and find a compromise between size and space - you can't have both

Re: [FFmpeg-user] -preset veryfast produces smallest file, weird

2023-10-15 Thread Ulf Zibis
Am 15.10.23 um 15:43 schrieb Reindl Harald: Am 15.10.23 um 15:12 schrieb Ulf Zibis: by accident I transcoded a video with -preset veryfast (it took 1 h). So I had to run it again with -preset veryslow (it took 12 h). Now I'm wondering about the file sizes. How can that be? why not

[FFmpeg-user] -preset veryfast produces smallest file, weird

2023-10-15 Thread Ulf Zibis
Hi, by accident I transcoded a video with -preset veryfast (it took 1 h). So I had to run it again with -preset veryslow (it took 12 h). Now I'm wondering about the file sizes. How can that be? $ ls -l König_it* -rwxrwxrwx 1 ich ich 1058092584 Okt 13 02:16 König_it_veryfast.mkv -rwxrwxrwx 1 ich

Re: [FFmpeg-user] video concat without reencoding keeps audio in one order but not the other

2023-10-13 Thread Ulf Zibis
Am 11.10.23 um 10:38 schrieb Adrian Szatmari: So I took a video and cut it two ways, one with reencoding and one without reencoding, call them R and C (cut). Im trying to do concatenation without reencoding, and I'm able to concat the video in all orders , , , , but the sound disappears for an

Re: [FFmpeg-user] No audio in 2nd concatenated part

2023-10-13 Thread Ulf Zibis
Am 13.10.23 um 01:49 schrieb Ulf Zibis: Hi, I have concatenated 2 mkv videos, both with video and audio stream. In the resulting mkv video in the 2n part, there is no audio anymore. I now have found out the reason. The first video had an aac audio stream and the 2nd a libvorbis audio

[FFmpeg-user] No audio in 2nd concatenated part

2023-10-12 Thread Ulf Zibis
Hi, I have concatenated 2 mkv videos, both with video and audio stream. In the resulting mkv video in the 2n part, there is no audio anymore. What can I do, to have audio also in the 2nd part. $ ffmpeg -f concat -safe 0 -i <(echo "file '$PWD/König_de.mkv'" && echo "file '$PWD/König_de_Abspann

[FFmpeg-user] Difference between i-frames and key frames

2023-10-07 Thread Ulf Zibis
Hi, what is the difference between i-frames and key frames? And how many other frames are between i-frames or key frames in mp4 files, created with ffmpeg and with default settings? -Ulf ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ff

Re: [FFmpeg-user] Meaning of -color_range 2 ?

2023-10-07 Thread Ulf Zibis
Am 01.10.23 um 12:02 schrieb Ulf Zibis: Hi, I guess it stands for "-color_range limited", but even that I don't understand what it means. Where does the calculation "MPEG (219*2^(n-8))" come from? My question is because of this suggestion: https://trac.ffmpeg

[FFmpeg-user] How to reduce frame drops while screen grabbing

2023-10-03 Thread Ulf Zibis
Hi, I have experienced ~11 % dropped frames while screen grabbing, see below. When I used simplescreenrecorder [1], which also uses FFmpeg libraries under the hood, I had less than 1 % frame drops with the parameters "vcodec=libx264rgb,crf=0,preset=ultrafast" and the same dimensions. [1] https

Re: [FFmpeg-user] Unexpected additional frames while stream copy

2023-10-01 Thread Ulf Zibis
Am 01.10.23 um 23:25 schrieb Ferdi Scholten: On 01-10-2023 19:28, Ulf Zibis wrote: Hi, I have a video, grabbed from screen with "-c:v libx264rgb -crf 0 -preset ultrafast". When I re-encode a small scene out of it, it counts 576 frames. (Same number of images, when I extract

[FFmpeg-user] Unexpected additional frames while stream copy

2023-10-01 Thread Ulf Zibis
Hi, I have a video, grabbed from screen with "-c:v libx264rgb -crf 0 -preset ultrafast". When I re-encode a small scene out of it, it counts 576 frames. (Same number of images, when I extract all frames as JPEG.) But when I just do a stream copy, I get 761 frames, even when I use "-fps_mode:v

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

2023-10-01 Thread Ulf Zibis
Am 01.10.23 um 18:04 schrieb 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

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

2023-10-01 Thread Ulf Zibis
Am 01.10.23 um 16:37 schrieb Paul B Mahol: On 10/1/23, Ulf Zibis wrote: Hi, I used the following command on a 155 minute grabbing: ffmpeg -video_size 1680x888 -framerate 25 -f x11grab -i :0.0+0,81 -c:v libx264rgb -crf 0 -preset ultrafast output.mkv Assuming, the RGB range is 8 + 8 + 8 bit

[FFmpeg-user] Calculate file size for lossless encoding

2023-10-01 Thread Ulf Zibis
Hi, I used the following command on a 155 minute grabbing: ffmpeg -video_size 1680x888 -framerate 25 -f x11grab -i :0.0+0,81 -c:v libx264rgb -crf 0 -preset ultrafast output.mkv Assuming, the RGB range is 8 + 8 + 8 bit or 3 byte, I calculate: 3 x 25 x 60 x 155 x 1680 x 888 = 1040.6 GByte But

Re: [FFmpeg-user] Meaning of -color_range 2 ?

2023-10-01 Thread Ulf Zibis
Am 01.10.23 um 14:05 schrieb Paul B Mahol: On 10/1/23, Ulf Zibis wrote: And how can I know, in which version of FFMPEG this patch was released? https://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=7ca71b79f2b3256a0eef1a099b857ac9e4017e36 By searching for that commit log in git log of

Re: [FFmpeg-user] Meaning of -color_range 2 ?

2023-10-01 Thread Ulf Zibis
Am 01.10.23 um 12:02 schrieb Ulf Zibis: Hi, I guess it stands for "-color_range limited", but even that I don't understand what it means. Where does the calculation "MPEG (219*2^(n-8))" come from? And how can I know, in which version of FFMPEG this p

[FFmpeg-user] Meaning of -color_range 2 ?

2023-10-01 Thread Ulf Zibis
Hi, I guess it stands for "-color_range limited", but even that I don't understand what it means. Where does the calculation "MPEG (219*2^(n-8))" come from? -Ulf ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/

Re: [FFmpeg-user] Missing emails as cause of domain relocation

2023-09-04 Thread Ulf Zibis
Am 04.09.23 um 14:59 schrieb Reindl Harald: Am 04.09.23 um 14:35 schrieb Ulf Zibis: because of a domain relocation, my email was not reachable from 2023-09-01 13:54 UTC to 2023-09-04 11:38 UTC. because it takes time? the interval of retries increases as it makes no sense trying every 5

Re: [FFmpeg-user] Missing emails as cause of domain relocation

2023-09-04 Thread Ulf Zibis
Am 04.09.23 um 14:43 schrieb Reindl Harald: Am 04.09.23 um 14:35 schrieb Ulf Zibis: because of a domain relocation, my email was not reachable from 2023-09-01 13:54 UTC to 2023-09-04 11:38 UTC. Is it possible to resend the missing messages for ffmpeg-user@ffmpeg.org and ffmpeg-de

[FFmpeg-user] Missing emails as cause of domain relocation

2023-09-04 Thread Ulf Zibis
Hi, because of a domain relocation, my email was not reachable from 2023-09-01 13:54 UTC to 2023-09-04 11:38 UTC. Is it possible to resend the missing messages for ffmpeg-user@ffmpeg.org and ffmpeg-de...@ffmpeg.org? -Ulf ___ ffmpeg-user mailing lis

[FFmpeg-user] Help for better video contrast.

2022-12-20 Thread Ulf Zibis
Hi, With this command I tried to enhance a short video: ffmpeg -i NET\ Villa\ Burgen.mp4 -vf atadenoise,histeq=0.1:0.11:strong -c:a copy -movflags +faststart NET\ Villa\ Burgen_3.mp4 (using ffmpeg version 5.1.2-0ubuntu1~22.04.sav1.1) It helps a lot for the first 2 minutes, but from there in the

Re: [FFmpeg-user] How to reduce interlace artifacts while trancoding to mp4

2022-11-12 Thread Ulf Zibis
Am 12.11.22 um 17:09 schrieb Carl Zwanzig: On 11/12/2022 8:02 AM, Ulf Zibis wrote: Thanks for your detailed comparison. bwdif and estdif make it. Even they double the frame rate, compression factor now is 10 instead 8 and the visual result is brillant. For the list archive, would you

Re: [FFmpeg-user] How to reduce interlace artifacts while trancoding to mp4

2022-11-12 Thread Ulf Zibis
Am 12.11.22 um 14:41 schrieb Carl Eugen Hoyos: https://ffmpeg.org/ffmpeg-filters.html offers a few options: kerndeint is old / outdated, should be fast yadif was for a long time the most useful deinterlacer w3fdif is a BBC-sponsored development bwdif claims to combine yadif and w3fdif into some

Re: [FFmpeg-user] How to reduce interlace artifacts while trancoding to mp4

2022-11-12 Thread Ulf Zibis
Am 12.11.22 um 10:57 schrieb Bouke / Videotoolshed: Hi Ulf, This is normal DV interlaced video. Open the .avi with VLC and turn OFF de-interlace, you’ll see how gorgeous the motion was on an old fashioned interlace aware screen. So, you need to de-interlace the filter. While you’re at it, yo

[FFmpeg-user] How to reduce interlace artifacts while trancoding to mp4

2022-11-11 Thread Ulf Zibis
Hi, I have transcoded a avi video to mp4 for compressing by factor 8. Now I see interlace artifacts. E.g. the eagle in the back window of the bus or the fence in the background. Additionally I would like to reduce the noise for even better compression. Any hint for a good filter? Refer: http:

Re: [FFmpeg-user] concat filter

2022-07-10 Thread Ulf Zibis
Am 05.07.22 um 23:55 schrieb Carl Zwanzig: For dealing with minor size changes, an option is a filter chain to crop larger frames to the target size then center/overlay the result on a target-sized black background. As alternative to cropping, you can use the "fillborders" filter. - Ulf __

Re: [FFmpeg-user] Vertically flipped mp4 video

2022-06-28 Thread Ulf Zibis
Am 28.06.22 um 17:01 schrieb Gyan Doshi: That's a H.264 bitstream filter. It can only be used on H.264 video streams. This is the case here. Basic syntax is     ffmpeg -i input -c copy -bsf:v h264_metadata=display_orientation=insert:flip=horizontal output Much thanks for this syntax. Un

Re: [FFmpeg-user] Vertically flipped mp4 video

2022-06-28 Thread Ulf Zibis
Am 28.06.22 um 15:14 schrieb Ulf Zibis: Am 28.06.22 um 14:59 schrieb Moritz Barsnick: Metadata flags do exist for rotating, but not for flipping. Thus this cannot be done without re-encoding. I'm irritated. Here I can read, that it exists: https://ffmpeg.org/ffmpeg-all

Re: [FFmpeg-user] Vertically flipped mp4 video

2022-06-28 Thread Ulf Zibis
Am 28.06.22 um 14:59 schrieb Moritz Barsnick: Metadata flags do exist for rotating, but not for flipping. Thus this cannot be done without re-encoding. I'm irritated. Here I can read, that it exists: https://ffmpeg.org/ffmpeg-all.html#toc-h264_005fmetadata Even for rotation, the player needs

Re: [FFmpeg-user] Vertically flipped mp4 video

2022-06-28 Thread Ulf Zibis
Am 28.06.22 um 13:45 schrieb Ulf Zibis: Hi, how can I correct a vertically flipped mp4 video without re-encoding? The left side is on the right side and vice versa. I tried: ffmpeg -i input.mp4  -c copy -metadata:s:v:0 flip=horizontal output.mp4 But this changed nothing :-( $ ffprobe

[FFmpeg-user] Vertically flipped mp4 video

2022-06-28 Thread Ulf Zibis
Hi, how can I correct a vertically flipped mp4 video without re-encoding? The left side is on the right side and vice versa. Thanks, -Ulf ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscr

[FFmpeg-user] Respect to tbr causes inferior quality and increased file size

2021-08-25 Thread Ulf Zibis
Hi, I have learned, that ffmpeg respects a given tbr value as output frame rate. Now I'm questioning the advantage of that behaviour. Can someone tell me? I only see disadvantages: - the video becomes encoded with lower quality, i.g. q=33.0 instead q=29.0 - the video size is 13 % bigger, e.g. 5

Re: [FFmpeg-user] Framerate automatically increased while cropping

2021-08-25 Thread Ulf Zibis
Am 24.08.21 um 13:51 schrieb Ulf Zibis I guess you could use the -r option to override this and force a specific framerate if you want something different? Yes, this works fine. But I would appreciate, if I could use something like -r=inputrate or --keep_framerate I've found out,

Re: [FFmpeg-user] Framerate automatically increased while cropping

2021-08-25 Thread Ulf Zibis
Am 23.08.21 um 07:15 schrieb Adam Nielsen via ffmpeg-user: why is the framerate automatically changed here from 29.98 fps to 120 fps, and how can I prevent from this ?   Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, 2508 kb/s, 29.98 fps, 120 tbr, 90k tbn, 2k tb

Re: [FFmpeg-user] Framerate automatically increased while cropping

2021-08-24 Thread Ulf Zibis
Am 24.08.21 um 13:51 schrieb Ulf Zibis: Am 23.08.21 um 07:15 schrieb Adam Nielsen via ffmpeg-user: why is the framerate automatically changed here from 29.98 fps to 120 fps, and how can I prevent from this ?     Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720

Re: [FFmpeg-user] Framerate automatically increased while cropping

2021-08-24 Thread Ulf Zibis
Am 23.08.21 um 07:44 schrieb Gyan Doshi: You can add `-fpsmax 30` with v4.4 or newer. This will limit output rate to 30 if the input is higher else keep the original rate. With that I get a rate of 30 instead of the original 29.98, so each 50th frame gets duplicated, which I value as nonse

Re: [FFmpeg-user] Framerate automatically increased while cropping

2021-08-24 Thread Ulf Zibis
Am 23.08.21 um 07:15 schrieb Adam Nielsen via ffmpeg-user: why is the framerate automatically changed here from 29.98 fps to 120 fps, and how can I prevent from this ?   Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, 2508 kb/s, 29.98 fps, 120 tbr, 90k tbn, 2k tb

[FFmpeg-user] Framerate automatically increased while cropping

2021-08-20 Thread Ulf Zibis
Hi, why is the framerate automatically changed here from 29.98 fps to 120 fps, and how can I prevent from this ? $ ffmpeg -i Demo\ 31.10.2020\ Köln\ Vorspiel+Zugriff.mp4 -vf crop=640:320:640:176 Demo\ 31.10.2020\ Köln\ Vorspiel+Zugriff\ Ausschnitt.mp4 ffmpeg version 4.4-static https://johnvans

Re: [FFmpeg-user] How to lossless crop mp4 videos

2021-08-16 Thread Ulf Zibis
Am 16.08.21 um 09:44 schrieb Nicolas George: Ulf Zibis (12021-08-16): if I understand correct, mp4 videos are encoded in blocks of 16x16 pixels. I I'm wondering if I could crop a video by multiples of 16 pixels without reencoding the remaining blocks. It depends on the codec, not the f

Re: [FFmpeg-user] Why FFMPEG?

2021-08-15 Thread Ulf Zibis
Am 16.08.21 um 00:48 schrieb Android PowerUser: Ich muss zugeben die Hardware Anforderungen sind für Smartphones schnell gestiegen... Ich komm aus einer konservativen Familie. Deshalb habe ich überhaupt erst seit 2015 mobile Geräte. Deswegen ist der Vergleich auch unfair. Ich habe zu wenig beach

Re: [FFmpeg-user] How to lossless crop mp4 videos

2021-08-15 Thread Ulf Zibis
Am 16.08.21 um 00:32 schrieb Android PowerUser: That always depends on the codec and probably also on the bit rate and resolution. MP4 is just a container format. I mean mp4 with default libx264 codec. -Ulf ___ ffmpeg-user mailing list ffmpeg-use

Re: [FFmpeg-user] Why FFMPEG?

2021-08-15 Thread Ulf Zibis
Am 16.08.21 um 00:26 schrieb Android PowerUser: The 2011 PC probably cost more than I've ever spent on smartphones. You will tell us, that you spent less money on smartphones over a period of 10 years than 1 PC? In my experience, the average time of use of smartphones is only 2 - 4 years. -

[FFmpeg-user] How to lossless crop mp4 videos

2021-08-15 Thread Ulf Zibis
Hi, if I understand correct, mp4 videos are encoded in blocks of 16x16 pixels. I I'm wondering if I could crop a video by multiples of 16 pixels without reencoding the remaining blocks. -Ulf ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https:

Re: [FFmpeg-user] Convert flv to mp4. Bad video quality

2021-05-28 Thread Ulf Zibis
Am 28.05.21 um 11:44 schrieb Michael Koch: Am 28.05.2021 um 11:25 schrieb Flavio Sartoretto: I use ffmpeg in order to convert fname.flv video to mp4: ffmpeg -i fname.flv -c:v mpeg4 -copyts -loglevel verbose fname.mp4 The video quality of my output is bad. How can I improve it? Add -q:v 1 to

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

2021-05-16 Thread Ulf Zibis
Am 16.05.21 um 00:13 schrieb Leo Butler via ffmpeg-user: Try convert image.heic image.jpg Unfortunately it does not work: $ convert IMG_0416.HEIC IMG_0416.JPG convert-im6.q16: no decode delegate for this image format `HEIC' @ error/constitute.c/ReadImage/560. convert-im6.q16: no images defi

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

2021-05-15 Thread Ulf Zibis
Am 16.05.21 um 00:13 schrieb Leo Butler via ffmpeg-user: Ulf Zibis writes: Hi, I have some photos from a iPhone in HEIC format. Is there a chance, to convert them to a "normal" format? Try convert image.heic image.jpg convert is a program in the imagemagick sui

[FFmpeg-user] How to repair iPhone photos

2021-05-15 Thread Ulf Zibis
Hi, I have some photos from a iPhone in HEIC format. Is there a chance, to convert them to a "normal" format? ffplay says: $ ffplay IMG_0416.HEIC ffplay version 4.2.4-1ubuntu0.1 Copyright (c) 2003-2020 the FFmpeg developers   built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)   configuration: --prefix=/

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

2021-04-23 Thread Ulf Zibis
Am 23.04.21 um 21:20 schrieb Leo Butler via ffmpeg-user: I would put the select filters before filter_A, etc., rather than after. I would use the concat filter at the end to concatenate the streams. Otherwise, out.mp4 ends with 3 parallel video streams. May be that would work, but I didn't tes

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

2021-04-23 Thread Ulf Zibis
Am 23.04.21 um 08:31 schrieb Gyan Doshi: On this topic generally, see https://superuser.com/q/1632998/ Much thanks for this hint. I was successful with this approach: ffmpeg -i 'Stille Tage in Clichy.mpg' -vf "split=3[a][b][c];[a]trim=0:2888.36,setpts=PTS-STARTPTS,crop=352:496:0:36[a];[b]tri

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

2021-04-23 Thread Ulf Zibis
Am 23.04.21 um 08:07 schrieb Michael Koch: The "between" function is including at both ends of the interval. Thanks for the info. Oh what a pitty ... imagine I set the upper border of the lower range to 10:23.59, the lower border of the upper range to 10:23.60 and there is a frame at 10:2

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

2021-04-23 Thread Ulf Zibis
Am 23.04.21 um 13:56 schrieb Michael Koch: Am 23.04.2021 um 13:35 schrieb Nicolas George: Ulf Zibis (12021-04-23): I already had checked that. Unfortunately, crop has no timeline support: How would that work? Enabling or disabling crop changes the output resolution, which is not supported

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

2021-04-23 Thread Ulf Zibis
Thanks ... Am 23.04.21 um 09:04 schrieb Michael Koch: Please have a look at the "streamselect" filter instead of "select". Will do later. However the problem might be easier to solve if your filters A, B and C have timeline support with "enable" option. Use this command to find out if yo

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

2021-04-22 Thread Ulf Zibis
Am 22.04.21 um 13:01 schrieb Michael Koch: Am 22.04.2021 um 12:50 schrieb Ulf Zibis: Hi, I want to filter a video from pts 0 to 1999 with filter A, then from 2000 to 2199 with filter B, from 2200 with filter A and finally the whole stream with filter C. Can one please give me an example

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

2021-04-22 Thread Ulf Zibis
Am 22.04.21 um 21:59 schrieb Jim DeLaHunt: On 2021-04-22 08:26, Ulf Zibis wrote: …with exact frame count instead unsing -ss, which only counts in seconds? Just to be sure the obvious is stated out loud: the parameter to -ss can be a floating-point number, meaning you can make it as precise

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

2021-04-22 Thread Ulf Zibis
Am 22.04.21 um 13:01 schrieb Michael Koch: untested: ffmpeg -i input.mp4 -lavfi split[a][b];[a]filter_A[c];[b]filter_B[d];[c][d]select=bitor(between(t,0,1999),between(t,2200,1)),filter_C out.mp4 Much thanks for this great help. To find the time, from where I will change the filter, I

[FFmpeg-user] How to filter time dependent

2021-04-22 Thread Ulf Zibis
Hi, I want to filter a video from pts 0 to 1999 with filter A, then from 2000 to 2199 with filter B, from 2200 with filter A and finally the whole stream with filter C. Can one please give me an example for a working command line? -Ulf ___ ffmpeg-u

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

2021-04-15 Thread Ulf Zibis
Am 12.04.21 um 08:53 schrieb Michael Koch: Am 12.04.2021 um 00:39 schrieb Ulf Zibis: My question is not about head-switching effects, it mainly is about temporal noise. E.G., there is the hqdn3d filter, which can do both, spacial and temporal denoise. But I'm missing some guidance

Re: [FFmpeg-user] How to deinterlace strange interlacing

2021-04-15 Thread Ulf Zibis
Hi Christoph, Am 03.04.21 um 00:42 schrieb Christoph Gerstbauer: Hello, forget my last mail. The original video is destroyed in the first place. If you SPLIT the fields from the original MPG you see PER FIELD interlacing artefacts. That is a sign that the original video from tape was not corre

  1   2   3   4   >