Re: [FFmpeg-user] abitscope won't run

2024-05-20 Thread Moritz Barsnick via ffmpeg-user
On Mon, May 20, 2024 at 13:14:43 -0400, Mark Filipak wrote: > Doesn't work: > ffmpeg -i c:\source.mp4 -map 0 -af abitscope -c:v libx265 -x265-params > crf=18 -c:a ac3 -sn -dn "c:\abitscope.mp4" [...] > [vf#0:0 @ 0053e0c0] Tried to connect video stream to audio > filtergraph input

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

2024-05-08 Thread Moritz Barsnick via ffmpeg-user
On Wed, May 08, 2024 at 12:09:52 +0530, Aditya Dandavate wrote: > As I use FFMPEG mostly for creating videos that are uploaded to Youtube, is > it fine to use VP8/Opus in a .webm container ? As far as I understand, YouTube does support those formats and codecs for uploads. Its recommendations are

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

2024-04-29 Thread Moritz Barsnick via ffmpeg-user
On Mon, Apr 29, 2024 at 18:47:36 +0530, Aditya Dandavate wrote: > Also, according to `Guidelines for high-quality lossy audio encoding` > guide, is it true that only E-AC3 is "officially" supported in mp4 ? Does > this mean that all other audio codecs like Opus, AAC, mp3 are >

Re: [FFmpeg-user] Extract sound from multiple input files

2024-04-29 Thread Moritz Barsnick via ffmpeg-user
On Mon, Apr 29, 2024 at 11:48:18 +0200, Michael Koch wrote: > Am 29.04.2024 um 11:28 schrieb turgut kalfaoğlu: > > Hi. I have an interesting case. I need to extract sound from multiple > > input files,  combine those video files into one, and then re-insert the > > audio into the combined video

Re: [FFmpeg-user] Best way convert to mpg

2024-01-11 Thread Moritz Barsnick via ffmpeg-user
On Wed, Jan 10, 2024 at 23:30:33 +0100, Reindl Harald wrote: > Am 10.01.24 um 22:38 schrieb Budi Janto: > > In last week I tried to convert *.dat, *.avi and other video format to > > *.mpg. > "-vcodec copy -acodec copy" - so you specify don't re-encode anyhting which > can be done also by

Re: [FFmpeg-user] Can I add a codec for compatibility and automatically keep the original?

2023-11-13 Thread Moritz Barsnick
Hi, On Sat, Nov 11, 2023 at 11:12:07 +0100, bbb wrote: > when I have a file using advanced subtitles, I often want to keep those for > most devices but also add a basic subtitle format that is supported by my > TV. > > So far, I've been converting the subtitles and after that, mapping the >

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

2023-10-02 Thread Moritz Barsnick
On Sun, Oct 01, 2023 at 14:05:38 +0200, Paul B Mahol wrote: > >> 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 patch was

Re: [FFmpeg-user] Can transpose and between done in one command

2023-09-26 Thread Moritz Barsnick
Hi Cecil, > In principle that would lead to a little better output video I think, > because it is processed one time less. Or would it not make much > difference? Oh, yes, absolutely it would make a difference. Each (lossy) reencoding is a loss in quality. Also, you could save a lot of time. As

Re: [FFmpeg-user] Can I change the image format from `showwavespic` to png?

2023-03-09 Thread Moritz Barsnick
Hi Marcin, On Fri, Mar 10, 2023 at 06:04:15 +0100, Marcin Borkowski wrote: > I use the `showwavespic` filter to get an image of the waveform. > However, the default image format is jpg, and the only way I found I can > change it is by providing a suitable extension of the output file. Filters

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

2023-02-27 Thread Moritz Barsnick
On Mon, Feb 27, 2023 at 15:07:03 +, William Jones wrote: > Unfortunately every time I try, the resulting file comes out as 1920x1088 > which breaks our pipeline. Ive tried using scale and have tried the source > file being different formats (image sequences or .movs etc) and nothing has >

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

2023-01-26 Thread Moritz Barsnick
On Fri, Jan 20, 2023 at 14:59:20 +0200, Alexander Bieliaev via ffmpeg-user wrote: > When transcoding audio from WAV and GSM formats to MP3, the result is > shorter in duration than the original. How can you avoid this and keep the > original duration? Have you played the transcoded files, and is

Re: [FFmpeg-user] Passing headers to encrypted hls stream in ffmpeg

2023-01-26 Thread Moritz Barsnick
On Thu, Jan 26, 2023 at 20:43:53 +0530, Nitin Singh wrote: > I am using ffmpeg 5.1. I want to save encrypted aes-128 hls in which > the decrypting key link is in m3u8 stream link. I am able to pass > headers & get m3u8 file content using : > > ffmpeg -headers "Hvar1: hvalue1" -headers "Hvar2:

Re: [FFmpeg-user] MKV to MP4 subtitle issue

2023-01-17 Thread Moritz Barsnick
On Tue, Jan 17, 2023 at 10:02:59 +0100, pehache wrote: > > MP4 cannot carry those HDMV PGS subtitles (or any other bitmap based > > format, if I remember correctly). > > MP4 can carry the DVDSUB format, which is bitmap. Ah great, sorry, I wasn't aware (anymore) > The OP can give a try

Re: [FFmpeg-user] MKV to MP4 subtitle issue

2023-01-16 Thread Moritz Barsnick
On Tue, Jan 10, 2023 at 19:23:33 -0600, Steve Zemlicka wrote: > The question I have is similar to the following post: > https://superuser.com/questions/932730/ffmpeg-mkv-to-mp4-conversion-loses-subtitles Those answers are not helpful, because you have HDMV PGS, which is a bitmap format, that

Re: [FFmpeg-user] How to compile ffmpeg with https support

2022-11-14 Thread Moritz Barsnick
On Tue, Nov 15, 2022 at 09:34:56 +0800, Sendex Six wrote: > Hi all, as per the title of this email, how can we do this? Also, please > include links for any references. Thank you so much, everyone. Check the output of "./configure --help": --enable-gnutls enable gnutls, needed for

Re: [FFmpeg-user] m3u8 download has no audio track

2022-11-07 Thread Moritz Barsnick
Hi Carl, On Mon, Nov 07, 2022 at 21:01:38 -0500, Carl Fink wrote: > ffmpeg -i"http://example.com/video_url.m3u8; -c copy -bsf:a aac_adtstoasc > "output.mp4" [...] > This has worked in the past, but lately from Nebula, I get an output > file with no audio track, according to ffplay, and also vlc

Re: [FFmpeg-user] How to add black bars as replacement for height?

2022-11-07 Thread Moritz Barsnick
On Tue, Nov 08, 2022 at 03:02:36 +0100, FFmpeg user discussions wrote: > Can I use ffmpeg to convert a 1920x800 resolution clip to 1920x1080? The > goal is to fill the remaining pixels with a true black bar. Have a look at the pad filter: https://ffmpeg.org/ffmpeg-filters.html#pad-1 Something

Re: [FFmpeg-user] Image to Video conversion

2022-09-19 Thread Moritz Barsnick
On Mon, Sep 19, 2022 at 15:13:27 +0200, Naveen.B wrote: > I tried to mux the images, with the below command, but I got an error > "No bmp codec tag found for codec bmp" > ffmpeg -framerate 30 -i CapturedImage-001.bmp -codec copy output.mkv. > I would appreciate it if you

Re: [FFmpeg-user] Need to Convert MP4 (or MKV) with AAC *and* AC-3 Audio to Multi-Rendition HLS (each with *both* audio streams)

2022-09-01 Thread Moritz Barsnick
Hi Clay, On Tue, Aug 30, 2022 at 18:51:13 -0400, Clay wrote: > If you have a better way to achieve this, I am ***all ears***. > Here is the code I have so far: I think you need to fix your command line in various places: > ffmpeg -i ../InputFile-1920x804-24f.mp4 \ > -filter_complex

Re: [FFmpeg-user] How to embed subtitles into video using Python

2022-07-13 Thread Moritz Barsnick
On Wed, Jul 06, 2022 at 13:36:30 -0700, Jim DeLaHunt wrote: > On 2022-07-06 02:46, Pavel Yermolenko via ffmpeg-user wrote: > > In Python there is ffmeg support package: *ffmpeg-python*. ffmpeg-python > > 0.2.0 > > Unfortunately in the documentation [there]

Re: [FFmpeg-user] Need Command

2022-06-30 Thread Moritz Barsnick
On Thu, Jun 30, 2022 at 19:40:58 +0530, Dhwani Shukla wrote: > I need command for merging Image, audio and gif into video for iOS swift. > Currently I’m using following command which generating video but gif not > working : Please elaborate on "not working". > "-ignore_loop 0 -i

Re: [FFmpeg-user] Vertically flipped mp4 video

2022-06-28 Thread Moritz Barsnick
On Tue, Jun 28, 2022 at 14:55:58 +0200, Ulf Zibis wrote: > Am 28.06.22 um 13:45 schrieb Ulf Zibis: > > 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

Re: [FFmpeg-user] Pictures in video

2022-05-24 Thread Moritz Barsnick
On Tue, May 24, 2022 at 21:55:20 +0200, FFmpeg user discussions wrote: > What I find strange is that the input video is 23 MB and the picture > is 302 KB, but the generated video is 42 MB. > Am I doing something wrong? No, that's not strange at all. You are reencoding a video. That process will

Re: [FFmpeg-user] FFMpeg - How to get the filesize in advance after encoding

2022-05-24 Thread Moritz Barsnick
On Tue, May 24, 2022 at 15:50:27 +0800, Sendex Six wrote: > Thanks for your response, > > What is the formula, logic, or how to compute the file size from a video or > audio file? after encoding? > so that in the webpage we can set the content-length of video or audio Only under very particular

Re: [FFmpeg-user] issues in ffmpeg installation

2022-04-22 Thread Moritz Barsnick
On Fri, Apr 22, 2022 at 05:37:46 +, FFmpeg user discussions wrote: > ./configure --enable-cuda --enable-cuvid --enable-nvdec --enable-nvenc > --enable-nonfree --enable-libnpp --extra-cflags=-I/usr/local/cuda/include > --extra-ldflags=-L/usr/local/cuda/lib64 --disable-x86asm > > below is the

Re: [FFmpeg-user] custom codec

2022-04-21 Thread Moritz Barsnick
On Tue, Apr 19, 2022 at 20:28:57 -0700, Right On wrote: > hi - i was wanting to encode a video using the amv4 > codec. this codec is currently > not supported in ffmpeg - is there a way to add it? it's installed to my > computer so i assumed there would

Re: [FFmpeg-user] How to extract all the pictures but no repeat in an mp4 video file?

2022-04-21 Thread Moritz Barsnick
On Thu, Apr 21, 2022 at 22:28:36 +0800, mikelee164396 wrote: > I want to extract all the pictures in an mp4 video file , but don't repeat > it. How to implement it with ffmpeg? For example: $ ffmpeg -i inputvideo -vsync passthrough outputimage.%05d.jpg Cheers, Moritz

Re: [FFmpeg-user] API documentation for FFmpeg 5.0

2022-02-28 Thread Moritz Barsnick
On Mon, Feb 28, 2022 at 08:29:35 +0100, Andreas Unterweger wrote: > I wanted to follow up and this and ask if there is *any* documentation > about how to build the (HTML) documentation for a particular version > of the FFmpeg libraries. It is part of the regular build process. If you do

Re: [FFmpeg-user] configure gives "ERROR: libzmq >= 4.2.1 not found using pkg-config"

2022-02-24 Thread Moritz Barsnick
On Wed, Feb 23, 2022 at 22:41:46 +0100, Reindl Harald wrote: > > https://packages.debian.org/bullseye/arm64/libzmq3-dev/filelist > > and you think "libzmq3-dev" is >= 4.2.1? > why? > > "ERROR: libzmq >= 4.2.1 not found using pkg-config" Because that is what its pkg-config file claims: - $ ar

Re: [FFmpeg-user] configure gives "ERROR: libzmq >= 4.2.1 not found using pkg-config"

2022-02-23 Thread Moritz Barsnick
On Wed, Feb 23, 2022 at 19:13:18 +0100, Moritz Barsnick wrote: > Thomas, you will need to should us [...] show us, I meant. Moritz ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscr

Re: [FFmpeg-user] configure gives "ERROR: libzmq >= 4.2.1 not found using pkg-config"

2022-02-23 Thread Moritz Barsnick
On Wed, Feb 23, 2022 at 17:16:43 +0100, Reindl Harald wrote: > Am 23.02.22 um 12:24 schrieb Thomas Seilund via ffmpeg-user: > > libzmq3-dev/stable,now 4.3.4-1 arm64 [installed] > > libzmq5/stable,now 4.3.4-1 arm64 [installed,automatic] > > libzmq5 is *not* the dev-package But the quoted

Re: [FFmpeg-user] ERROR: libvmaf >= 2.0.0 not found using pkg-config

2022-02-03 Thread Moritz Barsnick
On Thu, Feb 03, 2022 at 21:07:08 +0900, 桃源老師 wrote: > I experienced funny ffmpeg compille error "ERROR: libvmaf >= 2.0.0 not found > using pkg-config". The reason why I feel funny is that ffmpeg commit of > "06a54a4ec73ea6eb8cec41b7af75367bafb075e0(Date: Sat Jan 22 10:32:34 2022 > +0100)" can

Re: [FFmpeg-user] Patch fails to apply

2022-02-01 Thread Moritz Barsnick
Hi Bryce, On Mon, Jan 31, 2022 at 23:14:50 +, Bryce Newman wrote: > I am not sure why this patch is failing. > https://patchwork.ffmpeg.org/project/ffmpeg/patch/93113e7f-9b7a-4423-9ad2-47f3af940...@gettyimages.com/ You should be asking on ffmpeg-devel. But anyway: > Can someone please

Re: [FFmpeg-user] Feeding frames to ffmpeg directly

2022-01-16 Thread Moritz Barsnick
Hi Violet, On Sun, Jan 16, 2022 at 15:14:47 -0600, Violet White wrote: > Hi, I have a program that generates frames of animation and saves > them to individual files on a disk, but what I would like to do is avoid > writing the images to disk and simply pipe them in. > > Can I expect this to just

Re: [FFmpeg-user] Can MJPEG be live streamed without transcoding?

2022-01-09 Thread Moritz Barsnick
On Sun, Jan 09, 2022 at 09:59:24 -0500, John Van Ostrand wrote: > I wonder if you could use netcat to direct the stream from Stdout to a > network socket then use netcat at the other end to put it into the Stdin of > the remote ffmpeg. You don't need netcat, ffmpeg has TCP, UDP, HTTP (and

Re: [FFmpeg-user] Convert to XAVC

2022-01-09 Thread Moritz Barsnick
On Thu, Jan 06, 2022 at 16:28:26 -0800, Hanna Frangiyyeh wrote: > Any idea what filter is to be used to convert to XAVC mxf format. As far as I can tell, the x264 encoder has an xAVC-compatible mode. Check the x264 option "avcintra-flavor" with the value "sony". Cheers, Moritz

Re: [FFmpeg-user] Filter Question

2022-01-06 Thread Moritz Barsnick
Hi Hanna, On Tue, Jan 04, 2022 at 14:26:29 -0800, Hanna Frangiyyeh wrote: > > PS D:\TEMP\Source Files\Audio> > D:\Apps\AudioRendering\AudioRendering\AudioRendering\ffmpeg.exe -i > "D:\TEMP\Source Files\ > 720E\MLB21_INT_PLAYER_720.mov" -i "D:\TEMP\Source > Files\Audio\file_example_WAV_1MG.wav"

Re: [FFmpeg-user] ffmpeg 4.4.1 security issue

2022-01-06 Thread Moritz Barsnick
On Thu, Jan 06, 2022 at 13:12:51 +, FFmpeg user discussions wrote: > I am currently a data scientist at USAA. I was trying to use FFMPEG 4.4.1 to > convert spex audio files to wav audio format. > > My security team denied the download of the package, and here is the > following explanation

Re: [FFmpeg-user] Getting m3u8 URL from SVTPlay channels?

2021-12-26 Thread Moritz Barsnick
On Sun, Dec 26, 2021 at 21:10:05 +0100, Moritz Barsnick wrote: > I double-checked this. The svtplay-dl binary offered as a download > (version 4.10) seems to be broken. It has a date parsing error which > seems to be fixed in the git version (and the fix should be in 4.10, so > d'uh).

Re: [FFmpeg-user] Getting m3u8 URL from SVTPlay channels?

2021-12-26 Thread Moritz Barsnick
On Sun, Dec 26, 2021 at 08:26:34 +0100, Bo Berglund wrote: > 1) I already have several of the tools mentioned (ytube-dl, yt-dlp, svtplay-dl > etc), but they did not manage to download the real-time streams from SVT. I double-checked this. The svtplay-dl binary offered as a download (version 4.10)

Re: [FFmpeg-user] Getting m3u8 URL from SVTPlay channels?

2021-12-25 Thread Moritz Barsnick
On Sat, Dec 25, 2021 at 12:19:35 +0100, Reino Wijnsma wrote: > On 2021-12-25T10:13:14+0100, Bo Berglund wrote: > > But on the following pages it does not work at all: > > https://www.svtplay.se/kanaler/svt1?start=auto As I had mentioned in the thread previously, it's not given that the stream

Re: [FFmpeg-user] About the log4j vulnerability (CVE-2021-44228)

2021-12-23 Thread Moritz Barsnick
On Thu, Dec 23, 2021 at 21:26:48 +0900, Tomonari Katsumata wrote: > -Is it affected by the log4j vulnerability (CVE-2021-44228) while using > ffmpeg3.4.6? No. Cheers, Moritz ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org

Re: [FFmpeg-user] [EXTERNAL] Re: GitHub and Releases

2021-12-15 Thread Moritz Barsnick
On Wed, Dec 15, 2021 at 19:21:42 +, Bryce Newman wrote: > So just talking about the patch now… > Which branch should I be in to add my patch? I assume that is release/4.4? > Here are the branches I see. Any contributed patches should be developed against and apply to master:

Re: [FFmpeg-user] [EXTERNAL] Re: GitHub and Releases

2021-12-15 Thread Moritz Barsnick
On Wed, Dec 15, 2021 at 16:44:13 +, Bryce Newman wrote: > I am waiting on a patch > https://patchwork.ffmpeg.org/project/ffmpeg/patch/dm6pr08mb60732b5d77656c74c8491c4f85...@dm6pr08mb6073.namprd08.prod.outlook.com/ > too be approved and it may not be approved/merged into 4.4.2, etc > anytime

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

2021-12-15 Thread Moritz Barsnick
Hi Cecil, On Wed, Dec 15, 2021 at 19:06:36 +0100, FFmpeg user discussions wrote: > Does YouTube has a preference for one, or the other? For accepting, or for preseting? If you're uploading, YouTube will accept quite a lot. ;-) For streaming, I see most docs recommend H.264, but I understand

Re: [FFmpeg-user] GitHub and Releases

2021-12-15 Thread Moritz Barsnick
Hi Bryce On Wed, Dec 15, 2021 at 14:51:40 +, Bryce Newman wrote: > I am trying to clone from GitHub(https://git.ffmpeg.org/ffmpeg.git) > the same source code that can be found in > https://ffmpeg.org/releases/ffmpeg-4.4.1.tar.bz2. What branch in > https://git.ffmpeg.org/ffmpeg.git contains

Re: [FFmpeg-user] "ffplay -report" creates text files with mixed line endings

2021-11-09 Thread Moritz Barsnick
Hi, Jaime, On Tue, Nov 09, 2021 at 11:51:18 +, Jaime wrote: > AV_LOG_FORCE_NOCOLOR=1 ffplay -report -rtsp_transport tcp rtsp://camera.lan > Mailman is showing the report file as being of type: > "application/octet-stream": Is this the actual file you created, or the one you fetched from

Re: [FFmpeg-user] Dynamic range compression fail with: invalid argument

2021-10-23 Thread Moritz Barsnick
On Sat, Oct 23, 2021 at 16:17:02 +0200, Android PowerUser wrote: > Paul B Mahol schrieb am Sa., 23. Okt. 2021, 15:45: > > Where is "-af " part? > > But is not in any documentation. I have no idea what that is for. It's documented in the same place where the "compand" filter is documented, in

Re: [FFmpeg-user] High audio latency (although low with ffplay!)

2021-10-13 Thread Moritz Barsnick
Hi Arif, On Sun, Sep 26, 2021 at 14:21:43 +0200, Arif Driessen wrote: > However, My inroad, as I see it, is essentially going from high level to > low level so probably somewhere in this order of contribution: > > 1) Documentation fixes / maybe other superficial maintenance tasks that > need

Re: [FFmpeg-user] frame rates

2021-10-13 Thread Moritz Barsnick
On Mon, Oct 04, 2021 at 09:15:49 +1100, Tim Lloyd wrote: > I don't know whether I am expecting too much. I would like to lower the > frame rate and hence the bit rate while keeping other video aspects the > same. I decided to ramp down to 25 fps. Depending on the content, that may not reduce the

Re: [FFmpeg-user] Latency in webcam capture

2021-10-13 Thread Moritz Barsnick
On Thu, Oct 07, 2021 at 16:41:04 +0200, Arif Driessen wrote: > I've also tried: > > ffmpeg \ > -hide_banner \ > -analyzeduration 1 \ > -probesize 32 \ > -fflags -nobuffer \ I believe this explicitly disables the nobuffer option. Try -fflags +nobuffer Have you tried using this flag directly

Re: [FFmpeg-user] How to extract audio from video without re-encoding?

2021-10-13 Thread Moritz Barsnick
On Mon, Oct 11, 2021 at 10:49:15 +0200, Android PowerUser wrote: > Android PowerUser schrieb am Mo., 11. Okt. 2021, > 10:38: > -vn -c:a copy Agree. [...] > M4A is probably the best container for all expenses. I consider M4A quite restricted:

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

2021-10-12 Thread Moritz Barsnick
Hi Jim, On Tue, Oct 12, 2021 at 12:27:15 +, FFmpeg user discussions wrote: > I wonder what do you see that tells that the mapping is map 0:2 -map 0:4 This part: > > Program 1 > > Stream #0:2[0x51]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), > > yuv420p(tv, top first), 1920x1080

Re: [FFmpeg-user] unable to git pull, git clone due to SSL cert errors

2021-10-07 Thread Moritz Barsnick
Von: "Pavel Koshevoy" > Am I the only one having this problem: > > $ git pull > fatal: unable to access 'https://git.ffmpeg.org/ffmpeg.git/': SSL > certificate problem: certificate has expired Recent changes to the certificate chain of LetsEncrypt expose problems with gnutls. (git uses curl,

Re: [FFmpeg-user] Quality Reduced when Burning Subtitles

2021-09-05 Thread Moritz Barsnick
On Sun, Sep 05, 2021 at 13:43:22 +, Veronica & Stephen McGuckin wrote: > ffmpeg -i c:\video\input.mkv -filter_complex "[0:v][0:s]overlay[v]" -c:v > libx265 -pix_fmt yuv420p10le -profile:v high -x265-params "-crf=10 -film > -hdr10+=1 -preset slow" -map "[v]" -map 0:a:0 -c:a copy

Re: [FFmpeg-user] Can ffmpeg record video from this kind of URL?

2021-09-01 Thread Moritz Barsnick
On Wed, Sep 01, 2021 at 08:14:02 +0200, Bo Berglund wrote: > How do I extract the proper m3u8 URL from the webpage in the best/safest way? > Some of these pages display a scrolling long list of items when one presses > the > F12 function key in FireFox and it is not obvious to me what I should

Re: [FFmpeg-user] Next major release or point release for 4.4

2021-09-01 Thread Moritz Barsnick
Hi Bishal, On Tue, Aug 24, 2021 at 03:42:50 +, DEBBARMA, Bishal via ffmpeg-user wrote: > I am looking for the next major / point release date for 4.4 that > contain this patch @ > https://github.com/FFmpeg/FFmpeg/commit/26d3c81bc5ef2f8c3f09d45eaeacfb4b1139a777 The next major release is far

Re: [FFmpeg-user] Why FFMPEG?

2021-08-15 Thread Moritz Barsnick
On Sun, Aug 15, 2021 at 21:28:12 +0200, Android PowerUser wrote: > If FFMPEG is a collection of codecs then why are the most memory efficient > codecs not available. The most memory-efficient waveform encoder xhe-aac, > the most memory-efficient video codec VVC, the most memory-efficient image >

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

2021-06-29 Thread Moritz Barsnick
On Tue, Jun 29, 2021 at 08:57:51 -0400, rbar...@njdevils.net wrote: > I would very much like to figure a way to Keep the 4K quality and reformat > the video for streaming. As an example, my daughters 2 hour recital hit the > 80GB mark using a GoPro 9 set to record HDR. > My ultimate goal is to

Re: [FFmpeg-user] lot of open file handles

2021-06-23 Thread Moritz Barsnick
Hallo Wolfgang, On Wed, Jun 23, 2021 at 06:08:30 +0200, Wolfgang Meyerle via ffmpeg-user wrote: > Does anybody know why ffmpeg is using a lot of open file handles on the same > filen when processing it? > > When I open up an mkv file and check with lsof the before and after count I > get over

Re: [FFmpeg-user] Preserving AAC LC status when converting to fragmented MP4

2021-05-24 Thread Moritz Barsnick
On Mon, May 24, 2021 at 22:26:03 +0200, Moritz Barsnick wrote: > MPEG-TS and demuxing isn't the problem. If you look at the ffmpeg > output in the original e-mail from decoding the file, it correctly > identifies the codec as "aac (LC)". The issue is the encoding to MP4. On the

Re: [FFmpeg-user] Preserving AAC LC status when converting to fragmented MP4

2021-05-24 Thread Moritz Barsnick
On Wed, May 19, 2021 at 12:17:38 +0200, Tobias Rapp wrote: > Looks like the data that should be found in the "esds" atom is missing or > incomplete when using -c:a copy. See this link for details on how AAC > profile information is stored in MP4: > >

Re: [FFmpeg-user] Modify FFMP Vendor FourCC for ProRes Videostream

2021-05-19 Thread Moritz Barsnick
Hallo Marcel, On Wed, May 19, 2021 at 11:48:58 +0200, Marcel Hinsch wrote: > Looking into FFMPEG's source when trying to figure out how to change a > ProRes Video Stream's vendor tag (which is required for certain automated > spec compliency tests), I have found that the vendor code is hard-coded

Re: [FFmpeg-user] Python / Qprocess misfires commands.

2021-05-18 Thread Moritz Barsnick
On Tue, May 18, 2021 at 12:05:40 +0200, Bouke wrote: > > Then you're capturing your output incorrectly. > Nah, this was an apology for an earlier message where I ment ’nothing except > the banner' Hmm. Your attached reports indicate that there were more log messages. I wonder where they went...

Re: [FFmpeg-user] Python / Qprocess misfires commands.

2021-05-18 Thread Moritz Barsnick
On Mon, May 17, 2021 at 09:19:46 +0200, Bouke wrote: > > You will have to show/look at the console output of both commands. > > (It's there for a reason, and most likely says what the issue is.) > > I know, but there was ’nothing’ on stdErr / stdOut. Then you're capturing your output incorrectly.

Re: [FFmpeg-user] Preserving AAC LC status when converting to fragmented MP4

2021-05-18 Thread Moritz Barsnick
On Mon, May 17, 2021 at 23:34:45 +0100, Simon Brown wrote: > Thank you for your reply. If it is the bitstream filter could you point me > to the relevant source file that is responsible for this filter? Sure, it's here: https://github.com/FFmpeg/FFmpeg/blob/master/libavcodec/aac_adtstoasc_bsf.c

Re: [FFmpeg-user] Preserving AAC LC status when converting to fragmented MP4

2021-05-17 Thread Moritz Barsnick
On Fri, May 14, 2021 at 14:31:42 +0100, Simon Brown wrote: > Hi, > I have a mpeg2 transport stream with video as H264 and audio as AAC LC. If > I use the following command to convert it to fragmented MP4 by just copying > the encoded data, then the result is now AAC, and not AAC LC. If instead I

Re: [FFmpeg-user] Python / Qprocess misfires commands.

2021-05-16 Thread Moritz Barsnick
On Fri, May 14, 2021 at 13:16:41 +0200, Bouke wrote: > Using Python to fire FFmpeg > cmd = ‘ffmpeg’ > args = [‘-f’, ‘avfoundation’, ‘-i’, ‘:0’] > > with a QProcess, this returns exit code 6, exitstatus 1 > > > ffmpeg -f avfoundation -i :0 in a Terminal works. > (At least one output file….) You

Re: [FFmpeg-user] Failed / strange build script, now with log / script files in link

2021-05-11 Thread Moritz Barsnick
On Tue, May 11, 2021 at 09:50:14 +0200, Bouke wrote: > Logfiles and script is here: > Download link > https://we.tl/t-UB5Ynvv8DE > > (Original script comes from > https://github.com/markus-perl/ffmpeg-build-script >

Re: [FFmpeg-user] Sometimes, ffplay fails showing raw video received over LAN

2021-05-11 Thread Moritz Barsnick
Hi Thomas, On Tue, May 11, 2021 at 14:40:40 +0200, FFmpeg user discussions wrote: > I grab video on a Raspberry Pi, host 1,  and sends raw video to another > host, host 2, on the same LAN: > > Host 1: > > export FPS=5; export W=352; export H=240; \ > > raspividyuv -t 0 -n -v -hf --exposure sports

Re: [FFmpeg-user] gnutls compilation error

2021-05-11 Thread Moritz Barsnick
Hi Uros, On Wed, May 05, 2021 at 19:29:43 -0400, Uros Kolar wrote: > pkg-config can find gnutls if I run it manually: > > $ pkg-config gnutls --cflags > -I/usr/local/include > > I also exported GNUTLS_CFLAGS and GNUTLS_LIBS. I am not sure if the > undefined references are related with this error

Re: [FFmpeg-user] Failed / strange build script

2021-05-10 Thread Moritz Barsnick
On Mon, May 10, 2021 at 10:47:24 +0200, Bouke wrote: > Hi all, > I’ve downloaded a FFMpeg build script and altered it to my liking > (Added Decklink support / drawtext) > > running the script as ./build-ffmpeg -b --enable-gpl-and-non-free > > Now it does build on a Catalina system, but fails on a

Re: [FFmpeg-user] convert a video to some format and than bring it back exactly the same

2021-04-29 Thread Moritz Barsnick
Hi Julien, On Thu, Apr 29, 2021 at 04:17:20 +0200, Julien Dotsev wrote: > I see there is a difference in the file size. The first avi is *1462KB* and > after the reconversion is *1474KB*. > > My question is is there a way to take a video file from a client, convert > it to some readable by HTML

Re: [FFmpeg-user] Can FFmpeg Record Video On Linux Using V4L2 in V4L2_CAP_VIDEO_CAPTURE_MPLANE Mode?

2021-04-28 Thread Moritz Barsnick
Hi Andrew, On Wed, Apr 28, 2021 at 13:17:25 +, FFmpeg user discussions wrote: > $ ffmpeg -f v4l2 -list_formats all -i /dev/video1 # Look at device > information > > $ ffmpeg -f v4l2 -framerate 25 -video_size 640x480 -i /dev/video0 output.mkv > # save the video You'll have to use the same

Re: [FFmpeg-user] Can ffmpeg be set to wait if a stream stop happens?

2021-04-22 Thread Moritz Barsnick
Hej Bo, On Wed, Apr 21, 2021 at 16:59:10 +0200, Bo Berglund wrote: > But what I have noticed lately is that sometimes the stream it downloads from > stops feeding data for a few seconds (don't know for how long) and it seems > like > ffmpeg at that times finishes up the output file and exits.

Re: [FFmpeg-user] Converting wma to mp3, avoiding joint stereo

2021-04-18 Thread Moritz Barsnick
On Sat, Apr 17, 2021 at 13:42:02 -0400, Alan Corey wrote: > can deal with. So I did the basic > ffmpeg -i somefile.wma somefile.mp3 > And it works, but mpg123 tells me the file is joint stereo. It's > quite possible the wma files are joint stereo, I don't know anything > about them, but when I

Re: [FFmpeg-user] Tokenised http subtitle source

2021-04-14 Thread Moritz Barsnick
Hi Adam, On Wed, Apr 14, 2021 at 14:15:48 +0100, FFmpeg user discussions wrote: > [https @ 0x7f40de879b40] HTTP error 403 > Forbiddenhttps://some_domain.com/subtitles/18217/bf4130a3-64f8-40cb-aae8-720da75797a7.srt?AWSAccessKeyId=A*Z: > Server returned 403 Forbidden (access

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

2021-04-14 Thread Moritz Barsnick
On Tue, Apr 13, 2021 at 17:49:55 +0200, Bo Berglund wrote: > Question: > Is there a quicker way to just go from ts to mp4 so the file format is OK even > though the video size remains at 1280x720? > > (I could live with the size even though the disk storage takes a hit...) Yes, by remuxing, i.e.

Re: [FFmpeg-user] ERROR: libglslang not found

2021-04-11 Thread Moritz Barsnick
On Thu, Apr 08, 2021 at 09:49:02 +1000, Dylan Fernando wrote: > g++ -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE > -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -std=c11 > -fomit-frame-pointer -fPIC -pthread -D__STDC_CONSTANT_MACROS -c -o > /tmp/ffconf.j3rfnDQR/test.o

Re: [FFmpeg-user] -b:v option

2021-04-11 Thread Moritz Barsnick
On Thu, Apr 08, 2021 at 11:53:52 +, Mar Andrés López wrote: > I want to do this in order to generate a DASH content, one of the > profiles sould have the original bitrate, and the other ones fixed > values. As an example: Have you considered using the copy codec for the first profile? That

Re: [FFmpeg-user] 'mix=nb_inputs=2' provokes error...

2021-03-24 Thread Moritz Barsnick
On Wed, Mar 24, 2021 at 10:18:55 +0100, Peter White wrote: > > [AVFilterGraph @ 025772b53dc0] Error initializing filter 'mix' with > > args 'nb_inputs=2:weights=3 2' > > Error initializing complex filters. > > Option not found > > There seems to be an error in the documentation. The option is

Re: [FFmpeg-user] sytraming AAC+

2021-03-22 Thread Moritz Barsnick
Hi Robert, On Mon, Mar 22, 2021 at 18:08:23 +1300, Robert Jeffares wrote: > I am getting... > > [rtp @ 0x55e52ffe8c00] AAC with no global headers is currently not > supported. You are usually asked to provide the full, uncut console output of your command. > ffmpeg -i

Re: [FFmpeg-user] Error decoding RTSP stream using h264_cuvid vcodec

2021-03-10 Thread Moritz Barsnick
On Wed, Mar 10, 2021 at 15:54:28 -0500, FFmpeg user discussions wrote: > Oh duh! Thanks @Moritz! You're welcome. > As a side note, I just wanted to mention that we mostly deal with RTMP > streams and we have been starting the ffmpeg process the way I described > for over a year and half now and

Re: [FFmpeg-user] RTSP to Twitch

2021-03-10 Thread Moritz Barsnick
Hi Sébastien, On Wed, Mar 10, 2021 at 12:55:25 +0100, Sébastien Bonaimé wrote: > included x264 codec are : libx264 libx264rgb h264_omx h264_v4l2m2m h264_vaapi > ffmpeg -probesize 10M -rtsp_transport tcp -thread_queue_size 1000k > \ > -i $url \ >

Re: [FFmpeg-user] Error decoding RTSP stream using h264_cuvid vcodec

2021-03-10 Thread Moritz Barsnick
On Tue, Mar 09, 2021 at 16:46:41 -0500, Nishant Trivedi via ffmpeg-user wrote: > I am trying to decode a RTSP video stream using ffmpeg while using > h264_cuvid vcodec to take advantage of hardware acceleration on a machine > with NVIDIA GPU. I am seeing an error with the message Unknown encoder >

Re: [FFmpeg-user] How to get he total number of frames

2021-03-09 Thread Moritz Barsnick
On Tue, Mar 09, 2021 at 11:07:21 +0100, Ulf Zibis wrote: > Am 09.03.21 um 10:43 schrieb Ulf Zibis: > > I suspect that the last "progression" line shows the exact count, > > as it may only report the last progression state a few µs before > > the operation is completed. > > Can one please clarify

Re: [FFmpeg-user] repeat a frame

2021-03-04 Thread Moritz Barsnick
On Thu, Mar 04, 2021 at 03:57:38 -0500, Mark Filipak (ffmpeg) wrote: > Well, per rational.h, 'num' & 'den' are both integers. > > Now, I don't know how '72' is stored. Is it stored as an int64? They are defined as "int", which can be platform dependant. ffmpeg assumes/guarantees ints to be at

Re: [FFmpeg-user] .m3u8 video being downloaded converted to mp4 result in trouble

2021-03-03 Thread Moritz Barsnick
On Wed, Mar 03, 2021 at 22:35:56 +, Budi wrote: > Why did the .m3u8 video being downloaded converted outright to mp4 > result in lower resolution quality? > It's anyway either done by vlc or ffmpeg cli Pease show us te ffmpeg command you are using and its complete, uncust console output.

Re: [FFmpeg-user] split files based on time

2021-03-03 Thread Moritz Barsnick
Hi Raj, On Tue, Mar 02, 2021 at 21:14:23 -0700, Raj Cryp wrote: > ffmpeg has the option to split file based on time. Say starting with time t > and go for length l. > > I am thinking of basically computing the time windows which will result in > the desired file size. Say a 1 min video of 20 MB

Re: [FFmpeg-user] repeat a frame

2021-03-03 Thread Moritz Barsnick
On Tue, Mar 02, 2021 at 17:32:42 -0500, Mark Filipak (ffmpeg) wrote: > Thank you, Jim. To the best of my knowledge, rational is not a 'C' datatype. No, but it is an ffmpeg data type, AVRational, as defined in libavutil/rational.h, along with functions to operate on this type. > I need to know

Re: [FFmpeg-user] Issue when adding a title to an audio stream within a mp4 file

2021-03-02 Thread Moritz Barsnick
On Mon, Mar 01, 2021 at 15:17:40 +0100, PPRJ01 wrote: > But ... I don't understand what you are planning to do. I'm not planning to do anything. I checked whether this could easily be fixed, but it cannot with my knowledge. > Please tell me if I'm right or wrong : > - ffprobe/ffmpeg will display

Re: [FFmpeg-user] aax to m4b with chapters

2021-02-26 Thread Moritz Barsnick
On Fri, Feb 26, 2021 at 12:30:10 +, Max Blindenhoefer wrote: > I read the Documentation, but didn’t understand everything. What am i > supposed to insert after the command „-map_chapters“ and what is > meant with „Input_file_index“? Th input file index is explained e.g. in this chapter:

Re: [FFmpeg-user] Issue when adding a title to an audio stream within a mp4 file

2021-02-25 Thread Moritz Barsnick
On Wed, Feb 24, 2021 at 17:37:18 +0100, PPRJ01 wrote: > I observed that the command below seem to work properly when adding a title > to an audio stream within an MP4 file : > >   ffmpeg -i INPUT.mp4 -c copy -metadata:s:a:0 "title=mono" OUTPUT.mp4 > > Both VLC and Exiftool do display

Re: [FFmpeg-user] Do I really need libaom?

2021-02-23 Thread Moritz Barsnick
On Tue, Feb 23, 2021 at 10:59:07 +0300, Alexander Dyagilev wrote: > But do I really need to encode? That depends on what you want to achieve. If you use the copy codec ("-c copy"), you get a much faster creation of the target file, but with unchanged codecs. You write: > to convert arbitrary

Re: [FFmpeg-user] Re-writing hot .ts file that rotates every 24 hours in realtime

2021-02-19 Thread Moritz Barsnick
On Wed, Feb 17, 2021 at 22:18:00 -0800, Carl Zwanzig wrote: > On 2/15/2021 11:33 PM, Korn Moffle wrote: > > What I am trying to do: > > a. copy the file in realtime ? So, ffmpeg would be rewriting file1.ts into > > file2.ts as file1.ts is constantly being written into. > > What's the goal of

Re: [FFmpeg-user] compiling ffmpeg for nvidia gpu under Debian Bullseye

2021-02-11 Thread Moritz Barsnick
On Wed, Feb 10, 2021 at 13:53:32 -0500, Steve Newcomb wrote: > about what happened and how I eventually succeeded.  (I did everything as > superuser, so you won't see any "sudo" below.) I do see sudo below. And I don't see any reason to do any steps beyond installation as superuser or with sudo.

Re: [FFmpeg-user] Stack + resize + use audio from first video?

2021-02-09 Thread Moritz Barsnick
On Mon, Feb 08, 2021 at 13:00:15 -0600, Gilles wrote: > In one command, I'd like to stack two videos, resize them to the same > width+height, and use audio from the first video. Which of the below works for you? The first two, right? > #Stack > ffmpeg -i input0 -i input1 -filter_complex

Re: [FFmpeg-user] Script to time all encoders on a given machine?

2021-02-07 Thread Moritz Barsnick
On Sun, Feb 07, 2021 at 14:15:34 -0800, Steven Kan wrote: > for each $thisencoder in “ffmpeg -encoders” > time ffmpeg -i testfile.mp4 -vcodec $thisencoder out.mp4 (or whatever > extension is suitable) > results.txt > next $encoder > > with error checking, etc. > > Or would this not be

Re: [FFmpeg-user] Questions about "Cannot allocate memory"

2021-01-31 Thread Moritz Barsnick
On Sun, Jan 31, 2021 at 20:28:46 -0500, Mark Filipak (ffmpeg) wrote: > In lines like this: > "frame= 1588 fps=0.5 q=22.4 size= 23296kB time=00:01:06.02 > bitrate=2890.3kbits/s speed=0.0225x" > Regarding "frame=": > Why are many frame numbers repeated? > Why are many frame numbers skipped? >

Re: [FFmpeg-user] minterpolate ...for Paul

2021-01-30 Thread Moritz Barsnick
On Fri, Jan 29, 2021 at 20:16:12 -0500, Mark Filipak (ffmpeg) wrote: > Carl Eugen, it appears you're sniping at me. It appears you're throwing dirt > in the air in the hope that some of it will land on me. It appears that > you're trying to discredit me. Carl Eugen, the dirt lands on both of us.

  1   2   3   4   5   6   7   8   9   10   >