Re: [FFmpeg-user] Query related to FFMpeg-kit Android

2024-06-05 Thread Ferdi Scholten
Hi, I am developing a feature in my Android application where I want to generate the video thumbnail of HLS video. I tried to generate the thumbnail using Android native MediaMetadataRetriever but it failed for HLS video so that is the reason I have decided to use FFMpeg and the only feature I

Re: [FFmpeg-user] Problems concatenating mp4 files: Non-monotonic DTS; previous: 824975, current: 140284; changing to 824976.

2024-05-25 Thread Ferdi Scholten
I need to concatenate several mp4 files that were taken with a cell phone, where some of them are landscape and others portrait. By simply concatenate them, the ones that are portrait end up rotated by 90 degrees in the final output. To solve this problem, I decided to rotate the portrait ones

Re: [FFmpeg-user] ffmpeg wav lossless to youtube mov?

2024-05-23 Thread Ferdi Scholten
Hi, what is this supposed to be? 16 Bit with 44,1 kHz (CD) are sufficient. So, we have PCM_S16BE and PCM_S16LE. Whats the exact command to get it done? Thx Youtube simply does not accept lossless audio in a video (at all). You have to encode according to their specifications. They

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

2024-05-23 Thread Ferdi Scholten
On 23-05-2024 06:16, Nikhil via ffmpeg-user wrote: This is the command i used ffmpeg -f v4l2 -i /dev/video0 -c:v libx264 -crf 23 -preset medium output.mp4 Also i used command suggested by ferdi, no progress ffmpeg -pix_fmt bayer_bggr8 -f v4l2 -s 1280x960 -i /dev/video0 -c:v libx264

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

2024-05-22 Thread Ferdi Scholten
On 22-05-2024 08:46, Nikhil via ffmpeg-user wrote: I need to test video record using ov5640 camera with mipi-csi interface, video record is working fine with usb wbcam with the same ffmpeg version but not with mipi camera On 22/05/24 12:22 pm, Paul B Mahol wrote: Not sure what you trying to

Re: [FFmpeg-user] Concatenating mp4 files rotates the video

2024-05-22 Thread Ferdi Scholten
Anyways, what do I need to do to avoid these unrequested rotations? Remove the rotation metadata of the original files if they have the same rotation, Then concatenate the original video's using codec copy without loss of quality. (Converting to MPEG-2 does reduce quality (a lot) while

Re: [FFmpeg-user] Configure error with fontconfig

2024-05-01 Thread Ferdi Scholten
On Apr 30, 2024, at 13:53, Jim Worrall wrote: On Apr 30, 2024, at 11:29, Jim Worrall wrote: On Apr 30, 2024, at 09:41, Jim Worrall wrote: On Apr 29, 2024, at 23:00, Ferdi Scholten wrote: This may not be due to ffmpeg itself, but I would appreciate some help. Configure says

Re: [FFmpeg-user] Configure error with fontconfig

2024-04-30 Thread Ferdi Scholten
This may not be due to ffmpeg itself, but I would appreciate some help. Configure says that pkg-config can’t find fontconfig.pc, but it seems to be in the PKG_CONFIG_PATH. # ./configure --cc=/usr/bin/gcc \ --prefix=$TARGET \ --pkg-config-flags="--static" \ --extra-cflags="-I/usr/local/include"

Re: [FFmpeg-user] VBR encoding not supported ???

2024-04-28 Thread Ferdi Scholten
On 28-04-2024 12:44, Aditya Dandavate wrote: I was converting flac audio to aac_lc with libfdk_aac with VBR encoding. But I saw a message about VBR encoding. The command and output of the command is as follows : Command : ffmpeg.exe -i input.flac -c:a libfdk_aac -afterburner 1 -frame_length

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

2024-04-25 Thread Ferdi Scholten
On 25-04-2024 09:10, CMG DiGiTaL wrote: OK, but how to make the names of the log files, which will be generated in the Normalizando_lufs folder, match the names of the mp3 audios, e.g.: Blalala.log Cracrcra.log Dedede.log Rename them after they have been created, but before starting the next

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

2024-04-24 Thread Ferdi Scholten
On 24-04-2024 00:57, CMG DiGiTaL wrote: Em sáb., 24 de fev. de 2024 às 17:25, Carl Zwanzig escreveu: 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! ___

Re: [FFmpeg-user] Initialising hardware device fails with error -17

2024-04-22 Thread Ferdi Scholten
On 21-04-2024 22:53, Martin Stenzel via ffmpeg-user wrote: Error setting child device handle: -17 device=/dev/dri/renderD128 Did you test that this device does actually exist on your system? Can you specify what GPU you have? Does the error also occur if you leave out the explicit child

Re: [FFmpeg-user] amr wideband

2024-04-09 Thread Ferdi Scholten
Hey ffmpeg Team, I am trying to convert a wav file to an amr wideband format. I tried using different encoders: ffmpeg -i test/calibre.wav -f awb -c:a libvo_amrwbenc calibre.awb or: ffmpeg -i test/calibre.wav -f awb -c:a libfdk_aac calibre.awb I also tried without the "-f awb" option.

Re: [FFmpeg-user] QUESTION ABOUT VIDEO CODECS : LIBX264 vs LIBX265

2024-03-31 Thread Ferdi Scholten
Hi all, I have a question about re-encoding a source video having libx264 video codec. Is there any advantage(s) to re-encode with the libx265, which is supposed to give better result than libx264 ? In other words, re-encoding with the x265 codec for the final video : can it improve the

Re: [FFmpeg-user] RE-ENCODING "SIMULATION"

2024-03-02 Thread Ferdi Scholten
Hello all, By providing to ffmpeg (release 6.1) or ffprobe (release 6.1) : -> the path of a audio-video source file ; -> the parameters envisaged for re-encoding (audio+video codecs, audio+video bitrates, scale criterias) ; is it possible to know an assessment of the size of the final file

Re: [FFmpeg-user] ISSUE ABOUT EXTRACTING

2024-02-29 Thread Ferdi Scholten
Hi, Ferdi, Thank you for the tip. I checked it against what I'm doing. The 'pts_time's that it returns do not correlate with the exact times that are computed from frame counts. For example, pts_time=760.607200 should be exactly 760.3[364635..] (based on PTS=2854113 in a 24/1.001fps video

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

2024-02-29 Thread Ferdi Scholten
Here are the technical infos about the source movie (the file that will be processed), infos provided by VLC MEDIA PLAYER : audio stream :   Codec: A52 Audio (aka AC3) (a52 )   Language: French   Description: AC3-5.1-VFQ   Sample rate: 48000 Hz and here is the command line I

Re: [FFmpeg-user] ISSUE ABOUT EXTRACTING

2024-02-29 Thread Ferdi Scholten
Hi, thanks for these infos ; so now, it brings another question : how is it possible to know the locations of the keyframes ? Thanks for your advices. Regards, HA No top posting please!! The following command will show all key frames and they're time in the video. ffprobe -loglevel error

Re: [FFmpeg-user] ISSUE ABOUT EXTRACTING

2024-02-29 Thread Ferdi Scholten
Hello all, using release 6.1 of ffmpeg, I have an issue about extracting a part from a mkv video, into another mkv video. If it can help, there are a few infos about the source video (the video from which I extract) ; infos provided by the VLC MEDIA PLAYER software :   

Re: [FFmpeg-user] ISSUE WITH LIBX265 CODEC

2024-02-27 Thread Ferdi Scholten
Here is the command line I used : ffmpeg.exe -loglevel error -sn -i "D:\temp\source_movie.mp4" -map 0:v:0 -map 0:a:0 -acodec libmp3lame -ar 48k -b:a 128k -q:a 3 -vcodec libx265 -vf scale=768:432 -sws_flags lanczos+accurate_rnd -b:v 1008k -minrate 1008k -maxrate 1008k -r 2997/100 -qscale:v 2

Re: [FFmpeg-user] Segmentation fault for two-pass libx264, but not two-pass libx265

2024-02-27 Thread Ferdi Scholten
I believe this should be a viable routine for two-pass encoding using libx264, but it fails, as shown. A similar command to encode the same video source file using libx265 with Matroska output is successful, so I don’t think the source file is the culprit. Both the x264 and x265 encoding

Re: [FFmpeg-user] amr_nb in mp4 container?

2024-02-15 Thread Ferdi Scholten
чт, 15 февр. 2024 г., 11:00 Andrew Randrianasulu : чт, 15 февр. 2024 г., 10:39 Ferdi Scholten: The AMR audio format is not specified as a valid audio format for the mp4 container (see *ISO < https://en.wikipedia.org/wiki/International_Organization_for_Standardization>/IEC

Re: [FFmpeg-user] amr_nb in mp4 container?

2024-02-14 Thread Ferdi Scholten
The AMR audio format is not specified as a valid audio format for the mp4 container (see *ISO /IEC 14496-14:2003)*. So managing to get it in

Re: [FFmpeg-user] amr_nb in mp4 container?

2024-02-14 Thread Ferdi Scholten
I managed to make video with amr_nb codec in openCamera (android 11) mediainfo /dev/shm/VID_20240215_064913.mp4 General Complete name: /dev/shm/VID_20240215_064913.mp4 Format : MPEG-4 Format profile :

Re: [FFmpeg-user] Having a hard time getting good results with mpeg2video

2024-01-08 Thread Ferdi Scholten
Hi, I'm trying to make a DVD with a still image (1:1 aspect ratio) and audio, the only issue is that the video is a bit blocky even after setting the highest bitrate available. The command used: `ffmpeg -i image.jpg -i audiofile.wav -f dvd -muxrate 10080k -packetsize 2048 -pix_fmt

Re: [FFmpeg-user] Video in video not from start

2024-01-04 Thread Ferdi Scholten
I want to play a video in a video from a certain point. I understood I could do something like: ffmpeg \ -i input1.mp4 \ -i input2.mp4 \ -filter_complex " [0:v][1:v] overlay=25:25: enable='between(t,8,20)' "

Re: [FFmpeg-user] Libx265 halves the quality when psy-rd is enabled for 444 input.

2024-01-01 Thread Ferdi Scholten
On 31-12-2023 04:32, Aditya Dandavate wrote: rd=3 psy-rd=2.00 Those (default) values are probably too high for your purpose, creating artifarcts, ringing and blurring. Reduce them (1 is the recommended start setting). Read the documentation for it:

Re: [FFmpeg-user] Libx265 halves the quality when psy-rd is enabled for 444 input.

2023-12-31 Thread Ferdi Scholten
On 31-12-2023 04:32, Aditya Dandavate wrote: rd=3 psy-rd=2.00 Those (default) values are probably too high for your purpose, creating artifarcts, ringing and blurring. Reduce them (1 is the recommended start setting). Read the documentation for it:

Re: [FFmpeg-user] Calculating VMAF of two mkv format videos.

2023-12-20 Thread Ferdi Scholten
I was trying to calculate VMAF of two mkv videos. One is lossless and second is lossy. I tried to gave this command : ffmpeg -i outputvideo.mkv -i lossless.mkv -lavfi libvmaf=log_path=output.xml -f null - But it didn't work. So, how can I calculate the VMAF scores of two mkv videos ? Can

Re: [FFmpeg-user] kmsgrab and audio problem

2023-12-11 Thread Ferdi Scholten
tbr, 1000k tbn default: No such process вс, 10 дек. 2023 г. в 04:20, Ferdi Scholten: Cant record desktop video and audio with kmsgrab and pulseaudio/alsa on debian/arch system with xorg. I got video without audio or ffmpeg fail to record. If record only video with kmsgrab all works. How i can

Re: [FFmpeg-user] kmsgrab and audio problem

2023-12-10 Thread Ferdi Scholten
Cant record desktop video and audio with kmsgrab and pulseaudio/alsa on debian/arch system with xorg. I got video without audio or ffmpeg fail to record. If record only video with kmsgrab all works. How i can record video and audio with kmsgrab and alsa/pulseaudio?

Re: [FFmpeg-user] Question about libopus encoding.

2023-12-04 Thread Ferdi Scholten
On 04-12-2023 18:04, Aditya Dandavate wrote: On Mon, 4 Dec, 2023, 10:27 pm Ferdi Scholten, wrote: *cap_soundcommand* "ffmpeg -f s16le -ar %s -ac 2 -i - -c:a libopus -vbr on -compression_level 0 -application lowdelay -b:a 128k -y temp_a.nut" Is this VBR encoding, is

Re: [FFmpeg-user] Question about libopus encoding.

2023-12-04 Thread Ferdi Scholten
*cap_soundcommand* "ffmpeg -f s16le -ar %s -ac 2 -i - -c:a libopus -vbr on -compression_level 0 -application lowdelay -b:a 128k -y temp_a.nut" Is this VBR encoding, is `-b:a 128k` the average bitrate or maximum/minimum allowed bitrate ? ___ It is vbr

Re: [FFmpeg-user] VBR encoding for libsvtav1.

2023-11-27 Thread Ferdi Scholten
On Mon, 27 Nov, 2023, 7:32 am Aditya Dandavate, wrote: On Mon, 27 Nov, 2023, 4:16 am Ferdi Scholten, wrote: What is the quality rate control when encoding in VBR mode ? I get message : Svt[warn]: The input q value is ignored in vbr mode 20 when I set the -crf to 20 when enabling

Re: [FFmpeg-user] VBR encoding for libsvtav1.

2023-11-26 Thread Ferdi Scholten
What is the quality rate control when encoding in VBR mode ? I get message : Svt[warn]: The input q value is ignored in vbr mode 20 when I set the -crf to 20 when enabling the -svtav1-params rc=1. When I set -qp 20, the conversion fails. Which mode to set quality when encoding in VBR mode ?

Re: [FFmpeg-user] VBR encoding for libsvtav1.

2023-11-26 Thread Ferdi Scholten
I was trying and searching the web to 'how to encode videos with libsvtav1 with help of VBR rate control mode and I found on this page that setting -rc 1 will enable Variable Bitrate mode. https://gitlab.com/AOMediaCodec/SVT-AV1/-/blob/master/Docs/svt-av1_encoder_user_guide.md I tried to set

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

2023-11-21 Thread Ferdi Scholten
Any idea how can we add 'libx264' in my ffmpeg.exe ? compile with --enable-libx264 ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email

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

2023-10-24 Thread 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, MP1, CELP, HVXC, TTSI, SAOL, Apple Lossless,

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

2023-10-24 Thread Ferdi Scholten
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:  

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

2023-10-07 Thread Ferdi Scholten
On 07-10-2023 17:20, Ulf Zibis wrote: 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 In mp4 containers I-frames are key frames. The amount of

Re: [FFmpeg-user] ffmpeg is oom-killed when converting an image to AVIF

2023-10-06 Thread Ferdi Scholten
On 06-10-2023 02:28, Dmitry Katsubo via ffmpeg-user wrote: Dear community, Re-posting the issue concerning too extensive memory usage by ffmpeg when converting the image to AV1. Any ideas how to overcome the issue (except of plugging more memory)? Does the issue also arise when using aomenc

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

2023-10-01 Thread 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 all frames as JPEG.) But when I just do a stream copy, I

Re: [FFmpeg-user] MP4 with 9 subtitle streams

2023-09-23 Thread Ferdi Scholten
On Sat, Sep 23, 2023 at 1:29 PM Paul B Mahol wrote: You have handbrake produced files with SRTs in mp4/mov? Can you show them? Stream #0:2[0x3](eng): Subtitle: mov_text (tx3g / 0x67337874), 1920x162, 0 kb/s (default) That is not an srt subtitle, it has been transcoded by handbrake to an

Re: [FFmpeg-user] MP4 with 9 subtitle streams

2023-09-23 Thread Ferdi Scholten
Le sam. 23 sept. 2023 à 17:38, Mark Filipak a écrit : On Sat, Sep 23, 2023 at 2:29 AM Paul B Mahol wrote: On 9/23/23, Mark Filipak wrote: Why doesn't this work? I made an MP4 with 9 subtitle streams via HandBrake. I think ffmpeg and HandBrake use the same libraries. -snip- "codec not

Re: [FFmpeg-user] Make conversion go faster

2023-09-15 Thread Ferdi Scholten
itrate= 24.4kbits/s speed= 16x video:0kB audio:39kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.112613% On Wed, Sep 13, 2023 at 7:08 PM Ferdi Scholten wrote: Hi! I'm using this command to convert wav audio to mp3: -i "\\.\pipe\FFMpegCore_d1110724-bf07-4ada-9ea4-5b404ae

Re: [FFmpeg-user] Make conversion go faster

2023-09-13 Thread Ferdi Scholten
Hi! I'm using this command to convert wav audio to mp3: -i "\\.\pipe\FFMpegCore_d1110724-bf07-4ada-9ea4-5b404aea3d52" -b:a 64k -f mp3 "\\.\pipe\FFMpegCore_c9edc9bd-8061-42a8-a806-ff34bfa7408d" -y I would like it to go faster. How can I make it faster? Thanks! Please post complete terminal

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

2023-09-10 Thread Ferdi Scholten
On 10-09-2023 03:52, Mark Filipak wrote: I originally had a video with 0:0 = video 0:1 = commentary 0:2 = dialog 0:3 =subtitles Of course, the commentary was the default audio. I wanted to switch 0:1 & 0:2 ffmpeg -i SOURCE -map 0:0 -map 0:2 -map 0:1 -map 0:3 -codec copy TARGET That

Re: [FFmpeg-user] Cannot build ffmpeg with vulkan support anymore

2023-09-04 Thread Ferdi Scholten
On 04-09-2023 13:41, Ferdi Scholten wrote: Wanted to build the newest ffmpeg from git today (sept 4 2023), but to my surprise configuring failed with the error message     ERROR: vulkan requested but not found However vulkan is installed and active on my system, searching in the config.log

Re: [FFmpeg-user] Cannot build ffmpeg with vulkan support anymore

2023-09-04 Thread Ferdi Scholten
Wanted to build the newest ffmpeg from git today (sept 4 2023), but to my surprise configuring failed with the error message     ERROR: vulkan requested but not found However vulkan is installed and active on my system, searching in the config.log revealed that indeed vulkan was found, but

[FFmpeg-user] Cannot build ffmpeg with vulkan support anymore

2023-09-04 Thread Ferdi Scholten
Wanted to build the newest ffmpeg from git today (sept 4 2023), but to my surprise configuring failed with the error message     ERROR: vulkan requested but not found However vulkan is installed and active on my system, searching in the config.log revealed that indeed vulkan was found, but

Re: [FFmpeg-user] How do you use Ffmpeg to give unique title/track names (%02d) using -metadata to a split .mp3 file?

2023-08-29 Thread Ferdi Scholten
based on filenames) again to set the desired tags by the variables of your script. A dedicated tag editor can also be used for the second run and would be both easier and faster. On 28/08/2023 21:46, Ferdi Scholten wrote: Hi I'm curious. I've asked this question on a couple of forums

Re: [FFmpeg-user] How do you use Ffmpeg to give unique title/track names (%02d) using -metadata to a split .mp3 file?

2023-08-28 Thread Ferdi Scholten
Hi I'm curious. I've asked this question on a couple of forums with no replies. Am I asking a stupid question? I'm struggling to believe I'm the only one whose ever wanted to do this I personally think that ffmpeg is not the right tool for this. I would opt for creating tags after the files

Re: [FFmpeg-user] ffmpeg > 5.0 refuses to build with x264-static

2023-03-02 Thread Ferdi Scholten
Am 02.03.23 um 08:38 schrieb Ferdi Scholten: ERROR: x264 not found using pkg-config So, what are the contents of x264.pc and, what is the result of pkg-config --debug x264 pkg-config is telling the linker how to link the library, If it is not found or incorrect you will get the not found

Re: [FFmpeg-user] ffmpeg > 5.0 refuses to build with x264-static

2023-03-01 Thread Ferdi Scholten
unchanged nonsense with 6.0.0 [builduser@testserver:/rpmbuild/SPECS]$ ls /rpmbuild/BUILD/ffmpeg-20230301/x264-static/ total 2.6M drwxr-xr-x 2 builduser builduser   60 2023-03-01 15:44 pkgconfig -rw-r--r-- 1 builduser builduser 2.6M 2023-03-01 15:44 libx264.a -rw-r--r-- 1 builduser builduser 

Re: [FFmpeg-user] ffmpeg > 5.0 refuses to build with x264-static

2023-03-01 Thread Ferdi Scholten
unchanged nonsense with 6.0.0 [builduser@testserver:/rpmbuild/SPECS]$ ls /rpmbuild/BUILD/ffmpeg-20230301/x264-static/ total 2.6M drwxr-xr-x 2 builduser builduser   60 2023-03-01 15:44 pkgconfig -rw-r--r-- 1 builduser builduser 2.6M 2023-03-01 15:44 libx264.a -rw-r--r-- 1 builduser builduser 

Re: [FFmpeg-user] ffmpeg > 5.0 refuses to build with x264-static

2023-03-01 Thread Ferdi Scholten
unchanged nonsense with 6.0.0 [builduser@testserver:/rpmbuild/SPECS]$ ls /rpmbuild/BUILD/ffmpeg-20230301/x264-static/ total 2.6M drwxr-xr-x 2 builduser builduser   60 2023-03-01 15:44 pkgconfig -rw-r--r-- 1 builduser builduser 2.6M 2023-03-01 15:44 libx264.a -rw-r--r-- 1 builduser builduser 

Re: [FFmpeg-user] Retrieve duration of an m2v >MPEG>2 elementary stream file

2023-03-01 Thread Ferdi Scholten
Hi, if I invoke ffmpeg on an M2V MPEG-2 elementary stream, I get "N/A" for the duration. I guess this is because this file doesn't contain a header that contains the duration. Is it possible to force ffmpeg to parse the entire file to obtain the duration? Full command line and output: ffmpeg

Re: [FFmpeg-user] DAR/SAR

2023-02-28 Thread Ferdi Scholten
I've just finished a dialogue with MediaInfo and there seems to be a difference in the Linux and Windows versions. I also tried using WSL and bash without success. The DAR/SAR are still reported incorrectly.  680x1000 [SAR 1:1 DAR  17:25], where the movie is actually 640x480 and DAR=4:3.

Re: [FFmpeg-user] DAR

2023-02-28 Thread Ferdi Scholten
Hello,    The DAR/SAR reported by MediaInfo and ffprobe differ. Which is correct?example: ffprobe "Hallelujah (1929)._edit.mp4"  reports: 680x1000 [SAR 1:1 DAR  17:25] MediaInfo has the DAR as 4:3 and the movie is displayed as 4:3. Width                       : 640 pixelsHeight               

Re: [FFmpeg-user] Mal-formed MP4s from Blue Iris won't play on Apple Silicon Macs. Diagnose ffprobe output?

2023-02-07 Thread Ferdi Scholten
I have a Windows PC running Blue Iris security camera software, and it has a “Direct-to-disc” option whereby it records video straight from each camera’s h.264 RTSP stream without transcoding, to reduce CPU and HDD utilization. There is some re-packaging involved, and I think that’s where the

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

2023-01-31 Thread Ferdi Scholten
to suggest what's wrong and run the above script without any errors. Regards, Rupesh. On Mon, 30 Jan 2023, 10:41 pm Ferdi Scholten, wrote: Hi I am Rupesh from India and I have a system with Intel i3 10th generation processor and Asus H510 me motherboard. I have installed Arch Linux x86_64 latest

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

2023-01-30 Thread Ferdi Scholten
Hi I am Rupesh from India and I have a system with Intel i3 10th generation processor and Asus H510 me motherboard. I have installed Arch Linux x86_64 latest version and after that I have installed aom package from official repository and after that I have compiled ffmpeg with option

Re: [FFmpeg-user] Meaning of duration

2022-12-30 Thread Ferdi Scholten
Suppose you have recorded an Opus stream with -copyts. Then ffprobe -v error -show_entries format=start_time,duration -- recording.opus shows non-zero start_time and possibly huge duration that does not reflect to the file size. I think you get the actual duration of the recording by

Re: [FFmpeg-user] AC3 decoding throws error number -16976906 ... vlc plays well

2022-12-24 Thread Ferdi Scholten
On 23-12-2022 17:39, Mahesh Velankar wrote: I did some research on this and downloaded ffmpeg and tried to find where the error is getting thrown from. Here is the file: libavcodec/ac3_parser.c 76 int ff_ac3_parse_header(GetBitContext *gbc, AC3HeaderInfo *hdr) 77 { 78 int

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

2022-12-22 Thread Ferdi Scholten
On 22-12-2022 20:22, Dave Blanchard wrote: Is there an option which fixes the ffplay window to the video dimension when resizing? I really don't understand why anyone would desire the default behavior of scaling the video to fit the smallest dimension, leaving black bars on either side.

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

2022-10-04 Thread Ferdi Scholten
Hi Team, We are working on a prototype which converts RTSP streams to HLS using ffmpeg transcoder. We are using below ffmpeg command to convert RTSP to HLS : cmd:- ffmpeg.exe -rtsp_transport tcp -re -i rtsp://:@172.31.67.223:554/axis-media/media.amp?videocodec=h264

Re: [FFmpeg-user] Read from pulseaudio - latency - how to fix!

2022-09-01 Thread Ferdi Scholten
On 01-09-2022 17:06, Thomas Seilund via ffmpeg-user wrote: Dear All I do live streaming and I need to pick up the audio from a microphone. I test latency like this: ffplay -f pulse -i "alsa_input.usb-Remo_Tech_Co.__Ltd._OBSBOT_Tiny-02.analog-mono" ffplay -f alsa -i default After

Re: [FFmpeg-user] how to compile ffmpeg with some arguments in bash script file?

2022-06-15 Thread Ferdi Scholten
my operating system is ubuntu-22.04-desktop-amd64.iso bash script file is 'compile.sh'. content of the file is bellow: #!/bin/bash ## set some flags DEBUG_FLAG='--extra-cflags="-g -O0" --extra-cxxflags="-g -O0"' CC="gcc" CXX="g++" LD="ld" AR="ar" CCAS="gcc -c" RANLIB="ranlib" STRIP="strip"

Re: [FFmpeg-user] Issue to modify Metadata from mp4 files

2022-06-10 Thread Ferdi Scholten
Hello, good morning all I have a code that in theory allows the Hash and metadata of bulk videos to be modified. I used all the videos in .mp4 and despite being a programming layman I followed all the Python installation steps. I also tested it on two different Windows computers, both win10.

Re: [FFmpeg-user] Multiple videos transformation

2022-06-01 Thread Ferdi Scholten
Who are you ppl like I have something in my computer that allowed me to connect to this email chain are I hackers or a bussiness On May 31, 2022, at 2:55 PM, Ricardo Guedes Tatagiba wrote: Hi, thanks for the help in advance! I'm not sure if the support process would be like this, I found

Re: [FFmpeg-user] A compiling question

2022-05-26 Thread Ferdi Scholten
Hi, I'm currently compiling ffmpeg for my ubuntu18.04, and I have NVIDIA GTX1060, NVIDIA driver 11.4, cuda version 10.2, cudnn version7.6.5, I want to use GPU acceleration for encoding/decoding. Yesterday, I got it done with following configuration and it worked perfectly with my test

Re: [FFmpeg-user] Quality

2022-05-23 Thread Ferdi Scholten
I purchased a camera for the garden which has since been returned as the wifi was very flakey and has been replaced with a better trail camera.  I took the videos off the sd card and there are one or two I want to keep. The camera created time based directories and put files of type .media in

Re: [FFmpeg-user] problem with fast seeking and splitting

2022-05-02 Thread Ferdi Scholten
it generates a keyframe for that purpose from which the cut can be made. ffmpeg works with the encoded audio/video container that has fixed keyframes, if you want the same behaviour you will need to work with uncompressed audio/video. greetings Fe

Re: [FFmpeg-user] Extracting forced subtitles from a DVD.

2022-04-28 Thread Ferdi Scholten via ffmpeg-user
isposition:v default \ -map 0:2 -c:a:0 copy -disposition:a:0 default \ -map 0:6 -c:s:0 dvdsub -disposition:s:0 default \ -default_mode passthrough \ compressed.mkv Greetings Ferdi Scholten ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https:

Re: [FFmpeg-user] Large Sized output files recieved while encoding the audio

2022-04-20 Thread Ferdi Scholten
Rephrasing the requirement. We have an audio pipeline which redacts the audios using the set of start time and end time provided from our ML team. To achieve this, we execute the ffmpeg command with filter "volume=enable='between(t,starttime,endtime)':volume=0". For some cases, we are receiving

Re: [FFmpeg-user] Large Sized output files recieved while encoding the audio

2022-04-20 Thread Ferdi Scholten
Hi, When I run ffmpeg command on a wav file, the received output file is of large size as compared to the original file. The command and the output are below, *FFMPEG command* % ~/Downloads/audio/ffmpeg -i call-redacted.wav output.wav ffmpeg version 4.4.1-tessus https://evermeet.cx/ffmpeg/

Re: [FFmpeg-user] How can I strip cover art from a .m4a audio file without re-encoding

2022-04-16 Thread Ferdi Scholten
How can I strip cover art from a .m4a audio file without re-encoding? Use ffprobe to find out in which stream the cover art is stored. Then just copy all streams over to a new file exept the cover art stream. (using -map) Or use another tool, for example Ex-Falso with a GUI works on all

Re: [FFmpeg-user] Compressed AVI to useable format

2022-04-13 Thread Ferdi Scholten
On 13-04-2022 16:50, Tobias Rapp wrote: On 12/04/2022 18:29, Ferdi Scholten wrote: On 11-04-2022 21:48, Zach Beal wrote: Hello, I have compressed AVI files that I want to convert to an uncompressed format. I do not know what the files are compressed with because

Re: [FFmpeg-user] Compressed AVI to useable format

2022-04-12 Thread Ferdi Scholten
On 11-04-2022 21:48, Zach Beal wrote: Hello, I have compressed AVI files that I want to convert to an uncompressed format. I do not know what the files are compressed with because they are exported from data acquisition software as "compressed AVI". How can this be

Re: [FFmpeg-user] Convert WAV to FLAC

2022-03-29 Thread Ferdi Scholten
I'm using the command below to convert from wav to flac: ffmpeg -i "input.wav" -af aformat=s16:44100 "output.flac" The bit-depth and sample_rate are ok, but is the command converting the audio from CBR to VBR. What should I add in the above command, or what command should I use for the audio

Re: [FFmpeg-user] x265 encoded with yuvj444p plays back as yuvj420p

2022-02-03 Thread Ferdi Scholten
On 03-02-2022 23:01, 小太 wrote: On Fri, 4 Feb 2022 at 08:58, Ferdi Scholten wrote: What happens if you use this commandline? ffmpeg -i oHn-.mkv -codec:v libx265 -x265-params profile=main444:preset=fast:crf=22 -codec:a copy a.mkv libx265 complains that profile and preset options don't

Re: [FFmpeg-user] x265 encoded with yuvj444p plays back as yuvj420p

2022-02-03 Thread Ferdi Scholten
On 03-02-2022 22:43, Ferdi Scholten wrote: On 03-02-2022 22:39, Ferdi Scholten wrote: On Fri, 4 Feb 2022 at 08:23, Ferdi Scholten wrote: You are encoding with the main profile. That only supports 4:2:0 chroma sampling. Use another profile. I tried with -profile:v main444, and it results

Re: [FFmpeg-user] x265 encoded with yuvj444p plays back as yuvj420p

2022-02-03 Thread Ferdi Scholten
On 03-02-2022 22:39, Ferdi Scholten wrote: On Fri, 4 Feb 2022 at 08:23, Ferdi Scholten wrote: You are encoding with the main profile. That only supports 4:2:0 chroma sampling. Use another profile. I tried with -profile:v main444, and it results in the same problem (full command below

Re: [FFmpeg-user] x265 encoded with yuvj444p plays back as yuvj420p

2022-02-03 Thread Ferdi Scholten
On Fri, 4 Feb 2022 at 08:23, Ferdi Scholten wrote: You are encoding with the main profile. That only supports 4:2:0 chroma sampling. Use another profile. I tried with -profile:v main444, and it results in the same problem (full command below): https://0x0.st/oHna.mkv Is there another profile I

Re: [FFmpeg-user] x265 encoded with yuvj444p plays back as yuvj420p

2022-02-03 Thread Ferdi Scholten
Hi, I have a screen recording made with OBS that's originally encoded with H.264 with the yuvj444p pixel format. Here's the sample I used: https://0x0.st/oHn-.mkv I want to re-encode this as H.265, so I used the following ffmpeg command: ffmpeg -i input.mkv -codec:v libx265 -preset fast -crf

Re: [FFmpeg-user] Understanding the performance of getting decoded video out of ffmpeg

2022-01-24 Thread Ferdi Scholten
On 24-01-2022 22:41, Eric Gross wrote: Hi all, I'd love to understand better some of the performance differences I'm seeing in various situations (and hopefully use that contribute some patches upstream!). My use case I'm exploring is using ffmpeg to decode video to pass to another

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

2022-01-24 Thread Ferdi Scholten
On 24-01-2022 15:07, Børge Wedel Müller wrote: Hi Again When I run the command below, I got a "larger than sign" eg this sign ">" What Iis I doing wrong? Best /Børge Wedel Müller Den 23. januar 2022 kl. 19.22.19 +01.00, skrev LuKaRo : Hi, you can use standard Unix methods for batch

Re: [FFmpeg-user] New post

2021-12-30 Thread Ferdi Scholten
Hi, I would like to add this topic to the forum: Hi, In the ffmpeg Documentation there is this command for Select the pass number (1 or 2): ffmpeg -i foo.mov -c:v libxvid -pass 1 -an -f rawvideo -y NUL ffmpeg -i foo.mov -c:v libxvid -pass 1 -an -f rawvideo -y /dev/null But it is only for

Re: [FFmpeg-user] h.265 crf values corresponding with h.264

2021-12-15 Thread Ferdi Scholten
Cecil Westerhof via ffmpeg-user writes: Ferdi Scholten writes: On 15-12-2021 18:18, Cecil Westerhof via ffmpeg-user wrote: When looking at: https://trac.ffmpeg.org/wiki/Encode/H.265 with h.265 the value 28 should correspond with the value 23 with h.264. Is there a (rough) table

Re: [FFmpeg-user] h.265 crf values corresponding with h.264

2021-12-15 Thread Ferdi Scholten
On 15-12-2021 18:18, Cecil Westerhof via ffmpeg-user wrote: When looking at: https://trac.ffmpeg.org/wiki/Encode/H.265 with h.265 the value 28 should correspond with the value 23 with h.264. Is there a (rough) table for the other values? Well, no not really Those figures are generic. In

Re: [FFmpeg-user] Removing part of a video

2021-11-13 Thread Ferdi Scholten
Cecil Westerhof via ffmpeg-user writes: I need to cut a part out of a video. (A certain speaker does not want to be published.) Searching on the internet I found this: Following is a snippet we used to remove a few seconds from a video using ffmpeg ffmpeg -i 'input.mkv'

Re: [FFmpeg-user] 371MB Output file for 6:50 min?

2021-06-26 Thread Ferdi Scholten
Several issues -timelimit uses CPU time in seconds, so whenever ffmpeg has used 1800 seconds CPU time on your system. This is not related to the actual duration of the video, but how much time ffmpeg needs to execute on your CPU, which is on a modern system a fraction of a second for every