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] 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 \ > -vsy

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 i

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 http://localhost:8000/wirel

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

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 /tmp/ff

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. u

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 denied

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 con

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. ff

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

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

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] 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] 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] 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] 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] 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: > > https://stackoverflow.com/questions/3987850/mp4-

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. O

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 3000

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 ha

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 > co

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 a

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 try

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 c:\video\outp

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, wh

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] 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: https://en.wikipedia.org/wiki/Comparison_of_video_c

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 wit

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 b

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 doin

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 th

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 mail

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 th

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 the

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 so

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: https://www.ffmpeg

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 https://ffmpeg.org/mailman

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 URL

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-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'

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 th

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" -fi

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] 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 further)

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

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 c

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 libzmq3-de

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-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] 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 ./configur

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

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 e

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 ci

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 li

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 flip=horizon

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 \(objCreate.dwGI

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 to Convert MP4 (or MKV) with AAC *and* AC-3 Audio to Multi-Rendition HLS (each with *both* audio streams)

2022-08-31 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 "[0:v]split=4

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 co

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 lik

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 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 https

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 canno

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 transcoding

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: hval

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

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 don

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

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 > differ

Re: [FFmpeg-user] ffmpeg keep aspect ratio when scaling, keep dimensions divisable by n

2020-04-09 Thread Moritz Barsnick
On Thu, Apr 09, 2020 at 12:43:34 +, atticus via ffmpeg-user wrote: > Well I still have a problem when using this: [...] > ffmpeg version n4.2.2 Copyright (c) 2000-2019 the FFmpeg developers [...] > [Parsed_scale_0 @ 0x562f226b0980] Option 'force_divisible_by' not found This option was introduc

Re: [FFmpeg-user] trim and pad audio without reencode

2020-04-11 Thread Moritz Barsnick
On Wed, Apr 08, 2020 at 14:38:23 +0300, Alexander Machev wrote: > I want to align the audio stream in the input to has the exact same > duration as the video stream. So, if audio length is lower than video, fill > the gap with silence. If audio stream is over length than video, cut the > audio to f

Re: [FFmpeg-user] Encoding Settings

2020-04-11 Thread Moritz Barsnick
On Sat, Apr 11, 2020 at 17:50:59 +, K J wrote: > Below are the settings I used but only some of the settings match > > ffmpeg -i input.mkv -x264-params > -cabac=1:-ref=4:-deblock=1:-1:-1:-analyse=0x3:0x113:-me=umh:-subme=9:-psy=1:-psy_rd=1.00:0.15:-mixed_ref=1:-me_range=24:-chroma_me=1:-trelli

Re: [FFmpeg-user] Encoding Settings

2020-04-11 Thread Moritz Barsnick
On Sat, Apr 11, 2020 at 15:09:35 +, K J wrote: > I have some movies and they are nice encodes so I had a look in > MediaInfo under encoding settings to see what settings was used as I > want to do some movies I have and use the exact same settings. I want to point out that you will only get th

Re: [FFmpeg-user] center-align multiple text lines

2020-04-11 Thread Moritz Barsnick
On Sat, Apr 11, 2020 at 23:03:31 +0200, Michael Koch wrote: > I want to show the content of a credits file scrolling up.The file > contains many lines of different lengths. > > drawtext=textfile=credits.txt:x=(w-text_w)/2:y=h-100*t > > The variable text_w is the width of the longest line in the tex

Re: [FFmpeg-user] Encoding Settings

2020-04-12 Thread Moritz Barsnick
On Sun, Apr 12, 2020 at 12:09:57 +, K J wrote: > I have dropped all the leading dashes as you recommended. That means it works now? > I have comparable material. > Those settings are needed and the average bitrate is needed. Okay, I just wanted to point it out. ;-) Good luck, Moritz ___

Re: [FFmpeg-user] concat demuxer filter_complex (fade)

2020-04-12 Thread Moritz Barsnick
On Sat, Apr 11, 2020 at 18:23:07 -0500, atticus via ffmpeg-user wrote: > I learned, that it's possible to define multiple inputs and reference then > later in the filter_complex to the different inputs like this: [...] > But is this possible with using the concat demuxer (providing the files by > w

Re: [FFmpeg-user] FFmpeg - I would like to stream from my browser to youtube live

2020-04-12 Thread Moritz Barsnick
On Sun, Apr 12, 2020 at 20:20:11 +0200, Tobias Kilb wrote: > Maybe you find something useful here: > > https://trac.ffmpeg.org/wiki/EncodingForStreamingSites In addition to this, you should check out the requirements for a successful YouTube stream. E.g. audio needs to have at least two channels,

Re: [FFmpeg-user] ffplay options for setting audio volume and locating player windows on the screen

2020-04-15 Thread Moritz Barsnick
On Tue, Apr 14, 2020 at 18:46:27 -0700, Michael Glenn Williams wrote: > Hey Ted! > > Thank you for responding. Regarding -volume, i'm just putting 30 > without the %. > Regarding -top and -left, my version of ffplay (the latest MAC OSX download > from the website) > Doesn't seem to know these optio

Re: [FFmpeg-user] Copy across core DTS audio

2020-04-17 Thread Moritz Barsnick
On Fri, Apr 17, 2020 at 03:56:37 -0400, Ted Park wrote: > I meant try doing the same thing as the codec copy to the filter to > specify the stream. So here, it would be -bsf:a:0 dca_core. (and I > think when you specify stream type, the number that comes after is > the index only counting that type

Re: [FFmpeg-user] Copy across core DTS audio

2020-04-17 Thread Moritz Barsnick
On Fri, Apr 17, 2020 at 03:33:55 -0500, kaled wrote: > thank you both and thanks for the code Moritz > I tried the following > > ffmpeg -i x.mkv -map 0:0 -map 0:2 -map 0:1 -map 0:3 -c:v copy -c:a:2 copy > -bsf:a:2 dca_core -c:a:1 copy -c:s copy output.mkv > > and it converts the dts audio track to

Re: [FFmpeg-user] Copy across core DTS audio

2020-04-17 Thread Moritz Barsnick
On Fri, Apr 17, 2020 at 05:10:36 -0400, Mark Filipak wrote: > I believe that ffmpeg doesn't have a DTS coder (output) -- only a DTS decoder > (input). Please don't give advice based on beliefs, especially if they are wrong and easy to prove wrong. This wasn't the original poster's intent anyway,

Re: [FFmpeg-user] Streaming to YouTube Live

2020-04-17 Thread Moritz Barsnick
On Fri, Apr 17, 2020 at 17:02:21 -0500, First Last wrote: > I am uncertain whether this question is outside the scope of this forum, so > please advise me if it is. It's a little bit off topic, but fine by me. This was handled here recently, and there's a lot of stuff on the web about it. Not det

Re: [FFmpeg-user] Failure: No wav codec tag found

2020-04-17 Thread Moritz Barsnick
On Fri, Apr 17, 2020 at 18:13:22 -0400, Mark Filipak wrote: > [matroska @ 028fabd7b040] No wav codec tag found for codec pcm_bluray > > Does this means I did something wrong (would be the first time in ...about > the last 2 minutes), or > MKV doesn't support LPCM, or sumtinelse? Yes. Google,

Re: [FFmpeg-user] Requesting to add a new book to the "Books about FFmpeg" section?

2020-04-17 Thread Moritz Barsnick
On Fri, Apr 17, 2020 at 15:44:54 -0400, John Riselvato wrote: > It's a full-color book and I'm only getting 5 USD per sale because of the > number of pages. So even if I sold 100 books (which I've yet to sell a > single book since releasing it 2 days ago) I would barely cover a week of > the 2 mont

Re: [FFmpeg-user] pcm_alaw audio from Wyze Cam to YouTube?

2020-04-19 Thread Moritz Barsnick
Hi Steven, thanks for the quite complete report and explanation of what you're trying to do. On Sun, Apr 19, 2020 at 11:13:52 -0700, Steven Kan wrote: > Since ffmpeg doesn’t include an mp3 encoder by default, I tried aac, but now > ffmpeg complains of "Non-monotonous DTS in output stream . . .

Re: [FFmpeg-user] Streaming to YouTube Live

2020-04-19 Thread Moritz Barsnick
On Sat, Apr 18, 2020 at 12:48:44 -0500, First Last wrote: > Thank you so much for your help and for all of the useful information! Thanks for kindly reporting back your success! > In the more minimal configuration, processor usage seems to be stable at > about one quarter capacity, and memory at

Re: [FFmpeg-user] FFmpeg Vulnerable to Denial-of-Service (DoS) via Heap-Based Buffer Overflow in 'cbs_jpeg.c' File

2020-05-15 Thread Moritz Barsnick
On Fri, May 15, 2020 at 08:28:03 +, FFmpeg user discussions wrote: > Would like to understand, any plan to fix the to the > https://nvd.nist.gov/vuln/detail/CVE-2020-12284 (FFmpeg Vulnerable to > Denial-of-Service (DoS) via Heap-Based Buffer Overflow in > 'cbs_jpeg.c' File) This is a user and

Re: [FFmpeg-user] ffmpeg output messages

2020-05-18 Thread Moritz Barsnick
On Sun, May 17, 2020 at 18:50:49 -0600, JD wrote: > (using ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers). > what does it mean when ffmpeg (during transcode) > belches out: > bitrate=1366.8kbits/s dup=0 drop=133 speed=0.404x > > So, if there were 0 duplicates, why drop 133 fr

Re: [FFmpeg-user] CRF and Preset in H265, am I loosing it?

2020-05-19 Thread Moritz Barsnick
On Sat, May 02, 2020 at 14:30:26 +0200, Bouke / VideoToolShed wrote: > https://trac.ffmpeg.org/wiki/Encode/H.265 > > > Under the Constant Rate Factor (CRF): > > -Put differently, if you choose ultrafast, the encoding process is going to > run fast, and

  1   2   3   4   5   6   7   8   9   10   >