Re: [FFmpeg-user] Advice on optimizing bitstream filter usage - unexplained frame count differences

2024-05-11 Thread Marton Balint
On Fri, 10 May 2024, Gia Ferrari wrote: Greetings, I feel I've come up against the limits of my ability to narrow down the cause of a surprising behavior related to bitstream filters, and could use a pointer or two on where to focus my learning. A general description of the system

Re: [FFmpeg-user] Frame rate discrepancy

2023-02-03 Thread Marton Balint
On Fri, 3 Feb 2023, Dave Blanchard wrote: Hi all, I'm pulling video off a capture card for a surveillance application. I use the -t option to ffmpeg to record a 6 hour segment of video, then stop and start another segment. The problem is the timestamp of the next video file is advanced

Re: [FFmpeg-user] Trying to extract an image from a video

2022-09-29 Thread Marton Balint
On Mon, 26 Sep 2022, Damien Vandame wrote: Hi, Sorry to disturb you, I'm trying to extract only one image from a video. Using ffmpeg with Windows. It does work, but there is a warning I'd like to get rid of. Can anybody tell me the right syntax? Thank you very much! This is the syntax I'm

Re: [FFmpeg-user] "Bitrate" function in udp out don't working

2022-09-15 Thread Marton Balint
On Thu, 15 Sep 2022, Online video wrote: Hello all, I have problem with ffmpeg in Windows. "Bitrate" function in udp out don't work correctly. I can set any bitrate, it will be no more than 1.35 Mbps. For example: "udp://127.0.0.1:1234?pkt_size=1316=600" In Linux it work correctly,

Re: [FFmpeg-user] High CPU utilization in FFmpeg 5.0.1 compared to FFmpeg 4.3 for all media conversions

2022-07-12 Thread Marton Balint via ffmpeg-user
On Tue, 12 Jul 2022, Kousthu Gangarapu wrote: Hi FFmpeg community, After installing the latest FFmpeg 5.0.1 from 4.3, I am seeing increased Avg CPU Utilization and increased number of threads for the same workload compared to FFmpeg v4.3. *Specifically,* 1. Increased Avg CPU utilization

Re: [FFmpeg-user] 24bit WAV files unreadable by Sound Forge 6

2022-06-19 Thread Marton Balint
On Fri, 10 Jun 2022, Joe Dupré wrote: Hello, I have 48K/24bit stereo CAF files that I need to convert to 48K/24bit WAV files. "ffmpeg -i infile.caf outfile.wav" produces a 48K/16bit WAV file that I can open with Sound Forge 6.0. "ffmpeg -i infile.caf -c pcm_s24le outfile.wav" produces

Re: [FFmpeg-user] XDCAMHD422 MXF files - MXF IndexTableSegments have the same InstanceUIDs (not unique)

2022-03-14 Thread Marton Balint
On Mon, 14 Mar 2022, Christoph Gerstbauer wrote: Hello everyone! I am currently testing with XDCAMHD422 mxfs generated by ffmpeg 4.4 and 5.0. I am testing these MXFs against the SMPTE ST377 Standard. My testtool is the MXF Analyser from the IRT which can test the MXF against Standard

Re: [FFmpeg-user] Alternative to Dynamic Text

2021-11-08 Thread Marton Balint
On Mon, 8 Nov 2021, Gyan Doshi wrote: On 2021-11-07 02:56 pm, Marton Balint wrote: On Sun, 7 Nov 2021, Gyan Doshi wrote: On 2021-11-07 03:58 am, Anatoly wrote:  On Thu, 4 Nov 2021 20:14:16 +0800  LianCheng wrote:  Yes, would like to know in ffmpeg, under drawtext

Re: [FFmpeg-user] Alternative to Dynamic Text

2021-11-07 Thread Marton Balint
On Sun, 7 Nov 2021, Gyan Doshi wrote: On 2021-11-07 03:58 am, Anatoly wrote: On Thu, 4 Nov 2021 20:14:16 +0800 LianCheng wrote: Yes, would like to know in ffmpeg, under drawtext, the textfile (reload=1) is using read-write or read-only mode? I think "procmon.exe" from Microsoft

Re: [FFmpeg-user] Why FFMPEG?

2021-08-15 Thread Marton Balint
On Sun, 15 Aug 2021, Android PowerUser wrote: The use case is simple: why do we use codecs at all: It's easy, files will simply become incredibly large. Stream would be impossible and send via Whatsapp (16 MB lock). Saving on a low budget device would also not be possible. Then of course

Re: [FFmpeg-user] ffprobe outputs frame_rate=90000/1

2021-08-02 Thread Marton Balint
On Mon, 2 Aug 2021, David Mueller IWS. wrote: Hello, when checking the framerate of an h264 stream with ffprobe I'm getting an output of r_frame_rate=9/1. Any idea why ffprobe outputs this value? Maybe because the video PID has no packets so there is no way to determine the proper

Re: [FFmpeg-user] XDcam MXF wrong field order

2021-05-18 Thread Marton Balint
On Tue, 18 May 2021, Bouke wrote: Trying to make broadcast compliant (XDcam style) MXF files, but those fail on wrong field order, if the source is progressive. This used to work fine. (ffmpeg version 3.2.2 has no issues with this, and has done literally thousands of good / compliant

Re: [FFmpeg-user] Decklink timestamp_align, what should it do?

2021-05-02 Thread Marton Balint
On Sun, 2 May 2021, Bouke wrote: On 2 May 2021, at 13:22, Bouke wrote: Setting a timestamp_align of 6 seconds results in a start delay of just 6 seconds… Oops, I ment, Setting a timestamp_align of TEN seconds results in a start delay of just 6 seconds… Well of course, since it

Re: [FFmpeg-user] Decklink timestamp_align, what should it do?

2021-05-02 Thread Marton Balint
On Sun, 2 May 2021, Bouke wrote: From the manual: 'timestamp_align Capture start time alignment in seconds. If set to nonzero, input frames are dropped till the system timestamp aligns with configured value Ok, when I put -timestamp_align in my command, it does wait ‘a bit’ before

Re: [FFmpeg-user] Recorded Frame Timestamps are Inconsistent! How to Fix it?

2021-03-15 Thread Marton Balint
On Mon, 15 Mar 2021, Hassan wrote: Hello, I am using ffmpeg on a Windows 10 machine and I want to record the desktop at a high frame rate while appending accurate timestamps to each frame. I am recording my desktop using the following command: ffmpeg -f gdigrab -framerate 60 -i desktop -vf

Re: [FFmpeg-user] ffmpeg -f gdigrab

2020-12-25 Thread Marton Balint
On Fri, 25 Dec 2020, Nasty Phoenix wrote: Hello I don't understand i can use the ffmpeg -f x11grab but my ffmpeg build don't recognize the -f gdigrab or the -i pulse option gdigrab is a windows thing, x11grab is a linux/unix thing, if you are on linux you won't be able to use gdigrab.

Re: [FFmpeg-user] Trying to solve drop in quality

2020-11-03 Thread Marton Balint
On Tue, 3 Nov 2020, John Harlow via ffmpeg-user wrote: I've been trying to hit the specs we need to match for an HLS live stream and I’ve created an ffmpeg 2 pass command to convert some existing mp4 files into HLS so they can be used. The mp4 test file I am using is

Re: [FFmpeg-user] Fwd: Understanding/preventing buffer overruns

2020-07-20 Thread Marton Balint
On Mon, 20 Jul 2020, Simon Roberts wrote: [...snip, mostly successful scenario describing simultaneous recording > of four video channels...] > >> But... I get almost continuous buffer overruns after about a minute. >> Can someone tell me where to start learning about how I might fix this >>

Re: [FFmpeg-user] Fwd: Understanding/preventing buffer overruns

2020-07-20 Thread Marton Balint
On Mon, 20 Jul 2020, Simon Roberts wrote: [...snip, mostly successful scenario describing simultaneous recording of four video channels...] But... I get almost continuous buffer overruns after about a minute. Can someone tell me where to start learning about how I might fix this (I presume

Re: [FFmpeg-user] How to change internal Exif "creation time" NOT to UTC timestamp but to MEZ/MESZ in MP4 video?

2020-07-18 Thread Marton Balint
On Sat, 18 Jul 2020, Ben via ffmpeg-user wrote: Ok, I can change the internal EXIF Metadata "Creation time" of an MP4 video with the following command: ffmpeg -i input.mp4 -c copy -map 0 -metadata creation_time="2020-04-19 11:30:00" output.mp4 It works. However the date is

Re: [FFmpeg-user] Causes of color bars?

2020-07-15 Thread Marton Balint
On Wed, 15 Jul 2020, Moritz Barsnick wrote: On Tue, Jul 14, 2020 at 15:50:55 -0600, Simon Roberts wrote: On Tue, Jul 14, 2020 at 1:29 AM Carl Zwanzig wrote: > Decklink boards are _very_ touchy about formats and parameters. Try setting > at least the resolution and frame rate on the input

Re: [FFmpeg-user] Causes of color bars?

2020-07-14 Thread Marton Balint
On Mon, 13 Jul 2020, Simon wrote: I think I have determined that as far as ffmpeg is concerned there is no input. I added the flag -color_bars false, which I believe tells ffmpeg not to display color bars in response to lost input. Sure enough, the color bars went away. I interpret this as

Re: [FFmpeg-user] GOP Structure - XDCAM RDD9

2020-06-19 Thread Marton Balint
On Fri, 19 Jun 2020, Anthony Smith wrote: Hello everyone, I am having an issue creating an RDD9 compliant MXF using FFMPEG within FFASTrans. I am transcoding from a QT ProRes 422 HQ MOV to XDCAM MXF then re-wrapping using BMX Trans Wrap to ensure RDD9 compliance. The base issue is the GOP

Re: [FFmpeg-user] MPEG2 Profile Options Integer order wrong

2020-06-19 Thread Marton Balint
On Fri, 19 Jun 2020, Carl Eugen Hoyos wrote: Am Mi., 17. Juni 2020 um 01:32 Uhr schrieb Bill Crockett : https://ffmpeg.org/ffmpeg-all.html#mpeg2 Who maintains the documentation on the above and how can I contact to ask if it is wrong or correct? 16.15 mpeg2 MPEG-2 video encoder.

Re: [FFmpeg-user] Deinterlacing VHS

2020-05-12 Thread Marton Balint
On Tue, 12 May 2020, Noeck wrote: Hi, I have digitized VHS video recordings on my computer. The Video is originally recorded in a PAL system (interlaced). I would like to improve the video quality with some filters. Cropping and color correction is clear. But deinterlacing is hard, as the

Re: [FFmpeg-user] Decklink output latency, high

2020-05-09 Thread Marton Balint
On Sat, 9 May 2020, Martin wrote: Hi! Anybody have an idea why I get a couple of seconds of latency when outputting to a decklink device? I ffmpeg -fflags nobuffer -i srt://x -f decklink -pix_fmt uyvy422 -c:a pcm_s16le -ar 48000 -ac 2 "UltraStudio SDI" Input is a TS stream SRT or UDP,

Re: [FFmpeg-user] rw_timeout trouble

2020-04-21 Thread Marton Balint
On Tue, 21 Apr 2020, Bouke / VideoToolShed wrote: Hi all, Strange issue: Trying to transcode MXF ‘while in the making’ with the rw_timeout option. Shouldn't you use the -follow option as well? It works on my end using Adobe Media Encoder for the MXF, but if Avid MC (on another computer

Re: [FFmpeg-user] Use of tee output with codec copy

2020-03-31 Thread Marton Balint
On Tue, 31 Mar 2020, Devin Heitmueller wrote: On Wed, Mar 25, 2020 at 8:05 PM Dennis Mungai wrote: Many thanks, I'll take a look. This *might* be related to an issue I've been tracking internally with the tee muxer. Any further thoughts on this? It seems like some codec_tag confusion

Re: [FFmpeg-user] Have trouble saving opengl-generated RGB image sequence to .mp4

2020-02-25 Thread Marton Balint
On Tue, 25 Feb 2020, Lou Logan wrote: On Tue, Feb 25, 2020, at 10:41 AM, Marton Balint wrote: Does it make sense to separate the two? I don't think so, but I'm not strongly opinionated about it. Library usage and cli tool usage are two completely different topics. I don't know how others

Re: [FFmpeg-user] Have trouble saving opengl-generated RGB image sequence to .mp4

2020-02-25 Thread Marton Balint
On Tue, 25 Feb 2020, Lou Logan wrote: On Tue, Feb 25, 2020, at 7:49 AM, Igor Belyakov wrote: My code is mostly composed of "encode_video.c" example: https://ffmpeg.org/doxygen/trunk/encode_video_8c-example.html This mailing list (ffmpeg-user) is only for questions involving the FFmpeg

Re: [FFmpeg-user] Using -re input option with UDP inputs

2019-11-25 Thread Marton Balint
On Mon, 25 Nov 2019, Dennis Mungai wrote: Hello there, Are there any known caveats to using -re with UDP streams as input, such as packet loss? I’ve seen the -re option being discouraged with the likes of RTP, does the same apply to mpegts UDP streams? Yes. -re is widely misundetstood for

Re: [FFmpeg-user] Continuity issues with multiple UDP output streams.

2019-11-12 Thread Marton Balint
=1.01x so I think I am good there. Thanks, -James -Original Message- From: ffmpeg-user On Behalf Of Marton Balint Sent: Tuesday, November 12, 2019 2:23 PM To: FFmpeg user questions Subject: Re: [FFmpeg-user] Continuity issues with multiple UDP output streams. On Tue, 12 Nov 2019, James E

Re: [FFmpeg-user] Continuity issues with multiple UDP output streams.

2019-11-12 Thread Marton Balint
On Tue, 12 Nov 2019, James E. Baird wrote: To add to this, I did some further testing and it would seem the lower the bitrate I make the streams from the transmitter, the more streams I can have without continuity errors on the receiver side. I did a resolution change from 1080p to 480p and

Re: [FFmpeg-user] Duplicated frames when streaming to decklink

2019-10-17 Thread Marton Balint
On Thu, 17 Oct 2019, Valentin Schweitzer wrote: Hi, I am trying to stream audio and video in an endless loop from a file to a DeckLink Duo 2 on Windows 10. When streaming in this loop, ffmpeg reports duplicated frames approximately at the time the loop starts anew. The command I'm using is

[FFmpeg-user] Intel kmsgrab VAAPI interop assertions

2019-09-19 Thread Marton Balint
Hi, I made some tests with kmsgrab (I have used the vaapi interop) and it seems to me that sometimes if an app (e.g.: ffplay) is in fullscreen it does not capture a fully drawn framebuffer but the one which is being drawn to and which has not been presented to the user. Also sometimes the

Re: [FFmpeg-user] ffplay, display subtitles

2019-08-13 Thread Marton Balint
On Tue, 13 Aug 2019, Ted Park wrote: Libraries: libxv-dev/stable,now 2:1.0.11-1 amd64 [installed] -- X11 Video extension library (development headers) libsdl2-dev/stable,now 2.0.9+dfsg1-1 amd64 [installed] -- Simple DirectMedia Layer development files libvdpau-dev/stable,now 1.1.1-10

Re: [FFmpeg-user] DeckLink Duo 2 duplex_mode doesn't work

2019-08-07 Thread Marton Balint
On Wed, 7 Aug 2019, Rik Roukens wrote: Thanks for your reply Marton, Probably this can be worked around from software, so ffmpeg could be smart enough to enable half duplex mode even if the specified input is the "slave" connector. I agree, it feels like it should set the duplex mode by

Re: [FFmpeg-user] DeckLink Duo 2 duplex_mode doesn't work

2019-08-07 Thread Marton Balint
On Wed, 7 Aug 2019, Rik Roukens wrote: Thanks for your response Mustafa, the cards are definitely capable of it, as I've done it in windows. perhaps you need to set the duplex mode on 1 and 2, which then opens up sdi 3&4 to be individually programmed. Yeah, I think that is how I use all 4

Re: [FFmpeg-user] best way to transform SD to HD w/ pillarbox and yadif

2019-07-19 Thread Marton Balint
On Fri, 19 Jul 2019, Carl Eugen Hoyos wrote: Am Do., 18. Juli 2019 um 22:25 Uhr schrieb William Caulfield : I hope I'm getting your intention right here. I had to do this a while back for some PAL files. Split the fields, scale, pad, then interlace. -filter_complex

Re: [FFmpeg-user] best way to transform SD to HD w/ pillarbox and yadif

2019-07-18 Thread Marton Balint
On Thu, 18 Jul 2019, Benjamin Turkus via ffmpeg-user wrote: Hi All, I was hoping for some advice regarding the best way to sequence video filters when transcoding SD video to HD, de-interlacing, scaling, padding (pillar-box), etc. I know the order of filters is critical, but I haven't been

Re: [FFmpeg-user] Metadata text length

2019-03-18 Thread Marton Balint
On Mon, 18 Mar 2019, Richard F via ffmpeg-user wrote: On 18/03/2019 20:25, Moritz Barsnick wrote: On Mon, Mar 18, 2019 at 19:40:41 +, FFmpeg user discussions wrote: I think the patch here: https://patchwork.ffmpeg.org/patch/12047 has introduced a limit to the length of plain ASCII text

Re: [FFmpeg-user] Growing file processing

2019-03-02 Thread Marton Balint
On Sat, 2 Mar 2019, Bouke / VideoToolShed wrote: Bouke www.VideoToolShed.com van Oldenbarneveltstraat 33 6512 AS Nijmegen +31 6 21817248 To send files, go here: https://videotoolshed.wetransfer.com/ On 26 Feb 2019, at 13:20, Moritz Barsnick wrote: On Tue, Feb 26, 2019 at 11:00:40

Re: [FFmpeg-user] MP4 from MXP - Material Package Only

2019-02-18 Thread Marton Balint
On Mon, 18 Feb 2019, DeBacker, Bart wrote: On 2/17/19, 5:57 PM, "ffmpeg-user on behalf of Carl Eugen Hoyos" wrote: 2019-02-17 23:26 GMT+01:00, DeBacker, Bart : > ffmpeg -i hires.mxf -s 960x540 lores.mp4 > > ffmpeg version 4.0.1 This is soon one year old. Carl

Re: [FFmpeg-user] HD MXF SMPTE ST377 Standard Compliance Problem with multiple IndexTableSegments carring Unique ID twins (maybe a bug)

2018-11-09 Thread Marton Balint
On Sat, 10 Nov 2018, Carl Eugen Hoyos wrote: 2018-11-10 0:19 GMT+01:00, Marton Balint : On Fri, 9 Nov 2018, Lou Logan wrote: On Fri, Nov 9, 2018, at 8:01 AM, Carl Eugen Hoyos wrote: (Continuing a discussion I had with several people who archive.) I wonder if this is all intentional

Re: [FFmpeg-user] Optimise XDCAMHD422 Picture Quality - Syntax questions

2018-10-23 Thread Marton Balint
On Tue, 23 Oct 2018, Chris von Görstinger wrote: Hello I am using this syntax to generate a XDCAMHD422 file: -c:v mpeg2video -r 25 -pix_fmt yuv422p -s 1920x1080 -aspect 16:9 -minrate 5k -maxrate 5k -b:v 5k -g 12 -flags +ildct+ilme -intra_vlc 1 -dc 10 -non_linear_quant 1 -bf 2

Re: [FFmpeg-user] Stream to a specific lancard

2018-10-08 Thread Marton Balint
On Mon, 8 Oct 2018, Mettavihari D wrote: Greetings My os is Debian I have 2 lan cards which I want to stream 2 streams to. This is my commands. ffmpeg -re -i file2.ts -c:v copy -c:a copy -muxrate 2000k -f mpegts udp:// 224.x.x.x:port 1 ffmpeg -re

Re: [FFmpeg-user] using loudnorm only for true-peak limiting ?

2018-09-19 Thread Marton Balint
On Fri, 14 Sep 2018, Frédéric Busnel-Joncour wrote: Hi there, I sometimes need to adjust true-peak of audio files, only for small corrections (from -0.7 to -1.0 for example), and leave everything else unchanged. As there's no dedicated true-peak limiter in ffmpeg audio filters (if I'm not

Re: [FFmpeg-user] Decklink quad 2 - video input/output error

2018-09-01 Thread Marton Balint
On Sat, 1 Sep 2018, Mustafa Al Ani wrote: It means that ffmpeg has found the card but Decklink SDK can NOT enable video input. You need to configure your decklink inputs and outputs using either decklink desktop video or decklink SDK. Alternatively you can also use the -duplex_mode option

Re: [FFmpeg-user] Decklink output can't produce 1080i50

2018-08-29 Thread Marton Balint
On Wed, 29 Aug 2018, Mustafa Al Ani wrote: ffmpeg -f libndi_newtek -i "MED-GW-01 (IO-ENC-01-NDI-01_VR)" -f decklink 'DeckLink Duo (1)' Try requesting an explicit field order on the output, e.g.: -field_order tt Regards, Marton ___ ffmpeg-user

Re: [FFmpeg-user] DeckLink Mini Monitor 4K

2018-08-04 Thread Marton Balint
On Sat, 4 Aug 2018, Mustafa Al Ani wrote: Hi, In my setup I have two decklink cards, 'DeckLink SDI Micro' and 'DeckLink Mini Monitor 4K' I'm trying to get "DeckLink Mini Monitor 4K" to work with ffmpeg but it doesn't seem to be detected by ffmpeg. When I run "ffmpeg -f decklink

Re: [FFmpeg-user] ffmpeg audio distortion using blackmagic

2018-07-23 Thread Marton Balint
On Mon, 23 Jul 2018, Flumotion Support wrote: Hello everybody If I understood you correctly to avoid corruption, I need to add the option -async 1 -vsync 1 in my ffmpeg pipeline is this correct?, No, for "frame sync" I meant a real hardware frame synchronizer device.

Re: [FFmpeg-user] ffmpeg audio distortion using blackmagic

2018-07-22 Thread Marton Balint
On Wed, 18 Jul 2018, Flumotion Support wrote: Hello everybody I have problems capturing a sdi flow with ffmpeg, I'm using a blackmagic mini recorder pro, after a while of working the capture the audio is distorted and the only way to fix it is to restart ffmpeg. this is my pipeline

Re: [FFmpeg-user] Poor NDI performance

2018-07-22 Thread Marton Balint
On Wed, 18 Jul 2018, Micael Silva wrote: On Wed, Jul 18, 2018 at 8:13 AM, Jon wrote: On Tue, 17 Jul 2018 at 23:15, Carl Eugen Hoyos wrote: > > 2018-07-17 20:16 GMT+02:00, Jon : > > After successfully compiling ffmpeg on Debian 9 64bit, following the > > instructions at

Re: [FFmpeg-user] Warning : Thread message queue blocking

2018-06-20 Thread Marton Balint
On Wed, 20 Jun 2018, yael Laouar wrote: Hi all, I'm trying to stream live using ffmpeg a set 3D camera and microphone to Facebook in order to realize a 3D live. I've the workflow complete now, meaning that I can stream from my set to Facebook, but I still have a problem. If I launch my

Re: [FFmpeg-user] XDCAMHD422 Syntax questions - qmin qmax

2018-06-19 Thread Marton Balint
On Tue, 19 Jun 2018, Christoph Gerstbauer wrote: Hello; I am using this syntax to generate a XDCAMHD422 file: ffmpeg -i inputfile.avi -map 0:v -map 0:a -c:v mpeg2video -r 25 -pix_fmt yuv422p -s 1920x1080 -aspect 16:9 -minrate 5k -maxrate 5k -b:v 5k -g 12 -flags +ildct+ilme

Re: [FFmpeg-user] Using FFMPEG to Record a MPTS

2018-03-02 Thread Marton Balint
On Fri, 2 Mar 2018, David Stephens wrote: Greetings! I am attempting to use FFMPEG to record a multi-program transport stream (MPTS) which arrives as UDP. There are four Programs in the MPTS. Each program consists of a video (h264) and seven or eight audios (mp2). And each Program has a

Re: [FFmpeg-user] FFMPEG convert MXF OP-1b to DNxHD error getting stream index 385942017

2018-02-19 Thread Marton Balint
On Mon, 19 Feb 2018, Hannes Kuehn wrote: Hi, my question regarding the problem is basicly the same as in this mail https://ffmpeg.org/pipermail/ffmpeg-user/2017-March/035541.html but there was no solution yet. We need to convert MXF OP-1b to DNxHD so that our Avid Media Composer will be

Re: [FFmpeg-user] Missing frames when using ffconcat

2017-10-23 Thread Marton Balint
On Wed, 18 Oct 2017, Thomas Howe wrote: Hi all, I'm working on a project that requires ff.concat files to be interpreted accurately, but every other frame in my 50fps project goes missing (is filled in with the previous frame instead). I think this might be related to ffmpeg's default 25fps,

Re: [FFmpeg-user] Unable to detect or generate NDI streams in 3.4

2017-10-23 Thread Marton Balint
On Mon, 23 Oct 2017, Quayle, Sim wrote: Hi all, I'm having issues with the libndi_newtek device in 3.4. I've compiled the latest release using --enable-libndi_newtek --extra-cflags="-I/home/user/ffmpeg_build/ndi/include" --extra-ldflags="-L/home/user/ffmpeg_build/ndi/include", as well as

Re: [FFmpeg-user] Create an AAC stream matching the Core Media Audio packet format / priming etc?

2017-06-19 Thread Marton Balint
On Mon, 19 Jun 2017, Mark Burton wrote: On 15 Apr 2017, at 13:25, Christian Ebert <blacktr...@gmx.net> wrote: * Marton Balint on Saturday, April 15, 2017 at 12:25:58 +0200 On Sat, 15 Apr 2017, Christian Ebert wrote: * Marton Balint on Saturday, April 15, 2017 at 07:55:22 +0200 Last

Re: [FFmpeg-user] Check if a decoded frame is broken

2017-06-06 Thread Marton Balint
On Tue, 6 Jun 2017, Wei.Yang wrote: i'm decoding video stream using ffmpeg, what i want to do is to check if the picture is broken when a frame is decoded by avcodec_decode_video2(). i call av_frame_get_decode_error_flags() on decoded frame to get the errflags, but it returned 0 all the

Re: [FFmpeg-user] DeckLink@ cannot enable video input

2017-04-27 Thread Marton Balint
On Thu, 27 Apr 2017, Tung Tran wrote: Dear All I am running into an issue if ffmpeg cannout enable video input on decklink card, Here is the console output [root@localhost ffmpeg]# ffmpeg -f decklink -i 'DeckLink SDI' -vf scale=1280:720 -vcodec libx264 -pix_fmt yuv420p -tune zerolatency

Re: [FFmpeg-user] Create an AAC stream matching the Core Media Audio packet format / priming etc?

2017-04-15 Thread Marton Balint
On Sat, 15 Apr 2017, Christian Ebert wrote: * Marton Balint on Saturday, April 15, 2017 at 07:55:22 +0200 Last time I checked (a year ago or so), ffmpeg created a correct .mov edit list to signal the audio priming. https://developer.apple.com/library/mac/documentation/QuickTime/QTFF

Re: [FFmpeg-user] Create an AAC stream matching the Core Media Audio packet format / priming etc?

2017-04-14 Thread Marton Balint
17 00:00:00 2001 From: Marton Balint <c...@passwd.hu> Date: Sat, 20 Feb 2016 19:32:18 +0100 Subject: [PATCH] avformat/movenc: add support for writing AAC Audio Priming metadata https://developer.apple.com/library/mac/documentation/QuickTime/QTFF/QTFFAppenG/QTFFAppenG.html Signed-off-by: M

Re: [FFmpeg-user] Maximum argument length for tee pseudo muxer

2017-03-22 Thread Marton Balint
On Wed, 22 Mar 2017, luke harrison wrote: I'm preparing a script to take a feed coming in over SDI and encode it into multiple video and audio streams, all for distribution to different stream paths using the tee muxer. I'm sending quite a few different mixes of the streams to an RTMP server

Re: [FFmpeg-user] -pix_fmt yuv420p and deinterlacing

2017-02-25 Thread Marton Balint
On Sun, 26 Feb 2017, Katherine Frances wrote: Hi Martin, Oh! Thanks for letting me know. I just assumed the conflation of the two things here. But then, how are my output videos becoming deinterlaced? Probably they are not. Inputs are uncompressed v210 in MOV. They're definitely

Re: [FFmpeg-user] -pix_fmt yuv420p and deinterlacing

2017-02-25 Thread Marton Balint
On Sun, 26 Feb 2017, Katherine Frances wrote: Hi all, When transcoding to H.264 from an interlaced 4:2:2 original, I always add the flag *-pix_fmt yuv420p*, which obviously achieves two goals: i. Chroma subsampling scheme: 4:2:2 -> 4:2:0 ii. Scan: interlaced -> progressive. I'm interested in

Re: [FFmpeg-user] Extract all audio regardless of stream/channel count

2017-02-10 Thread Marton Balint
On Fri, 10 Feb 2017, Carles Vila wrote: Hi, I'd like to know if there is a simple way (script) to extract all audios individually from a video. The video could have N stereo streams (normally up to 16), M mono streams (up to 16), or a combination of both. Now I have to write the -map structure

Re: [FFmpeg-user] compiling ffmpeg program with libavutil/internal.h in gcc

2017-02-06 Thread Marton Balint
On Mon, 6 Feb 2017, יוסף אלון wrote: because i need to record 36 seconds every 30 seconds and i cant find a command to do this. Are you sure you cannot do what you want with the segment muxer? Do you really need overlapping segments? Regards, Marton

Re: [FFmpeg-user] Generate/Playback Interlaced (1080i) video with lavfi.

2017-01-04 Thread Marton Balint
On Wed, 4 Jan 2017, Matthias, Thomas wrote: Thanks for the help Carl. Seeing the difference isn’t that important, really what I’m trying to accomplish is outputting 1080i video using the FFMPEG wrapper for the DeckLink SDK. I’ve tried numerous combinations of filter settings with either

Re: [FFmpeg-user] -stream_loop cuts first few seconds

2016-12-31 Thread Marton Balint
On Thu, 29 Dec 2016, Geraldo Ramos wrote: Hi, I'm trying to create an infinite loop from a mp4 video file, add some complex filters and then broadcast as a live stream. My code works great but after the first loop, the beginning of the video gets cut (a few seconds). Could you try this

Re: [FFmpeg-user] Generating Multichannel Sine Wave Audio

2016-12-12 Thread Marton Balint
On Mon, 12 Dec 2016, Matthias, Thomas wrote: I see that there is a sine wave filter when using ‘-f lavfi –i “sine=frequency=1000:duration=60”, which is great! However, what is the easiest/best way to get this into a multichannel format, say 5.1 or even 16 channels? Ideally it would be

Re: [FFmpeg-user] ffplay frustrations/questions/suggestions

2016-11-17 Thread Marton Balint
On Sat, 12 Nov 2016, Toerless Eckert wrote: It is possible with ffplay to use "-devices" to list output devices, but i could not find in ffplay(8) or "ffplay --help" or http://ffmpeg.org any indication how to SELECT a particular output device to use. If there is no option to select the

Re: [FFmpeg-user] Audio delayed with DeckLink

2016-10-14 Thread Marton Balint
On Fri, 14 Oct 2016, PSPunch wrote: Hi Marton, The suggested options fixed the sync issue in a snap. Thank you, thank you, thank you!! BTW, I understand from brief searching that the wallclock option is relatively new. Just curious how FFmpeg users dealt with Decklink boards until they

Re: [FFmpeg-user] Audio delayed with DeckLink

2016-10-13 Thread Marton Balint
On Thu, 13 Oct 2016, PSPunch wrote: Hi, On Win7 x64, Capturing SDI from DeckLink Duo 2. When encoding with FFmpeg, audio seems to be about 100ms later than video. Is there a known solution to this, or is there a way to delay video by roughly 100ms? I tested the DeckLink drivers on Linux,

Re: [FFmpeg-user] Selecting/dropping frames without re-encoding

2016-10-07 Thread Marton Balint
On Fri, 7 Oct 2016, Moritz Barsnick wrote: On Fri, Oct 07, 2016 at 13:07:53 +0200, Carl Eugen Hoyos wrote: 2016-10-06 17:34 GMT+02:00 Moritz Barsnick : > $ ffmpeg -r 25 -f concat -i concatscript.txt -c:v copy output.mxf This scales very badly, no? It's just a proof of

Re: [FFmpeg-user] Selecting/dropping frames without re-encoding

2016-10-05 Thread Marton Balint
On Wed, 5 Oct 2016, Mikhail V wrote: On 5 October 2016 at 19:55, Carl Eugen Hoyos wrote: 2016-10-05 15:45 GMT+02:00 Mikhail V : Is it possible that ffmpeg cannot do this without re-encoding? You can export single frames and delete half of them

Re: [FFmpeg-user] problem with -txt_top

2016-06-19 Thread Marton Balint
On Sat, 18 Jun 2016, Peter Münster wrote: Hi, I would like to create an mp4-file with subtitles from a ts-file. When I specify "-txt_top 0" (the default value), the subtitles are in the middle of the video, but I would like them to appear at the bottom. When I specify "-txt_top 10", or

Re: [FFmpeg-user] Decklink with ffmpeg audio desync

2016-05-16 Thread Marton Balint
On Mon, 16 May 2016, Dpto. Datos Television Costa Blanca wrote: El 14/05/2016 a las 2:44, Marton Balint escribió: I've removed -re from the command, but if that doesnt help, how can I fix the desync? I have no way of "not having" the NO INPUT SIGNAL -> INPUT SIGNAL DETECTED

Re: [FFmpeg-user] Decklink with ffmpeg audio desync

2016-05-13 Thread Marton Balint
On Fri, 13 May 2016, Dpto. Datos Television Costa Blanca wrote: El 12/05/2016 a las 21:19, Marton Balint escribió: The actual command is: ./ffmpeg -re -f decklink -i "DeckLink SDI 4K@2" -c:v mpeg2video -pix_fmt yuv420p -aspect 16:9 -deinterlace -sc_threshold 10 -b:v 3.5M

Re: [FFmpeg-user] Decklink with ffmpeg audio desync

2016-05-12 Thread Marton Balint
On Thu, 12 May 2016, Dpto. Datos Television Costa Blanca wrote: El 11/05/2016 a las 23:42, Marton Balint escribió: With -ar 44100 you are resampling the initial sample rate of the captured source (48000) to 44100. You are also manually specifying a resample filter with -af resample. Try your

Re: [FFmpeg-user] Decklink with ffmpeg audio desync

2016-05-11 Thread Marton Balint
On Tue, 10 May 2016, Dpto. Datos Television Costa Blanca wrote: Hi Marton, Thanks for replying. And without resampling you mean? Sorry, Im far away of having video skills. Do not top post. Try to figure out based on the ffmpeg command line manual what your command actually does.

Re: [FFmpeg-user] Which command line can do dvb_teletext from ts to mp4

2016-02-17 Thread Marton Balint
On Tue, 16 Feb 2016, Henk D. Schoneveld wrote: On 16 Feb 2016, at 14:40, Carl Eugen Hoyos wrote: Henk D. Schoneveld zonnet.nl> writes: Stream #0:5 -> #0:2 (dvb_teletext (libzvbi_teletextdec) -> mov_text (native)) Error while opening encoder for output stream #0:2 -

Re: [FFmpeg-user] New task ideas for GSoC and Outreachy

2016-02-10 Thread Marton Balint
On Wed, 10 Feb 2016, Kieran Kunhya wrote: Hello, It seems that we're trotting out the same old GSoC and Outreachy tasks that students haven't picked for years. So, in the spirit of open source, I'd like to ask you, the developers and users what students should work on. An important thing

Re: [FFmpeg-user] dvb_teletext -> .srt fails?

2016-01-15 Thread Marton Balint
On Fri, 15 Jan 2016, Roger Pack wrote: similar to https://lists.ffmpeg.org/pipermail/ffmpeg-user/2015-June/027029.html and https://trac.ffmpeg.org/ticket/3025 My "quest" is to convert an dvb_teletext stream to some human readable (ex: .srt) format. Ex: using this file:

Re: [FFmpeg-user] ffplay and increasing delay (latency)

2016-01-06 Thread Marton Balint
On Wed, 6 Jan 2016, Ilya Matveychikov wrote: Hello, I'm using ffplay to play an RTMP stream from the nginx/rtmp server. The stream from the microphone is being captured with ffmpeg as follows: ffmpeg -fflags nobuffer -re -f alsa -i hw:0,0 -c:a nellymoser \ -ar 11025 -ab 8k -ac 1 -f

Re: [FFmpeg-user] Converting Progressive content to Interlaced

2015-12-11 Thread Marton Balint
On Fri, 11 Dec 2015, Hardik Kanakia wrote: Hi Guys, can someone please help me with the command for converting progressive apple prores mov 25 fps content to interlaced (for broadcasting) current command used: *-i "test progressive.mov -c:v copy -c:a copy -flags +ilme+ildct result

Re: [FFmpeg-user] concat images to h.264 movie not working

2015-12-07 Thread Marton Balint
On Tue, 8 Dec 2015, Moritz Barsnick wrote: On Mon, Dec 07, 2015 at 08:17:06 -0800, Roger Allen wrote: I included a pointer at the end of the email. I regret that was not more obvious to you. Please see https://gist.github.com/rogerallen/426203d3a580898bd864 Apparently, the concat demuxer

Re: [FFmpeg-user] dvb teletext page number

2015-12-02 Thread Marton Balint
On Tue, 1 Dec 2015, Charles-Henri d'Adhémar wrote: Dear all, My video file is mpegts with 1 stream dvb teletext subtitle. The teletext subtitle contains 3 pages (see tag language below) for the same language (deaf people and more). There is a -txt_page option for the libzvbi-teletext decoder

Re: [FFmpeg-user] How to deinterlace a 25fps (50i tff content) video with FFplay and output it as 50p?

2015-10-23 Thread Marton Balint
On Fri, 23 Oct 2015, Christoph Gerstbauer wrote: I am using following syntax to deinterlace TFF content, but I only get 25p output. How can I force ffplay to output 50p? "-r 50" is not working. ffplay -i test.avi -vf "yadif=0:0" -loglevel debug $ ffplay test.avi -vf yadif=1 ffplay

Re: [FFmpeg-user] Decklink input buffer overrun

2015-09-23 Thread Marton Balint
On Wed, 23 Sep 2015, Ricardo Kleemann wrote: On Wed, Sep 23, 2015 at 12:47 PM, Flávio Pontes wrote: Hi, I need to stream the 2 inputs from a DeckLink Duo card in FHD. So far I could compile ffmpeg with decklink support and capture one input at a time without

Re: [FFmpeg-user] [FFmpeg-devel] ffplay buffer

2015-08-29 Thread Marton Balint
On Fri, 28 Aug 2015, Dan Gordon wrote: I’m working on a frame accurate stream switch. My current iteration is using vapoursynth to serve frames to ffplay. I have the vapoursynth script set up to take a keyboard input and then change to stream without skipping forward to the next iframe. There

Re: [FFmpeg-user] FFMPEg security question

2015-07-05 Thread Marton Balint
On Sun, 5 Jul 2015, Carl Eugen Hoyos wrote: Dani A danix4u-at-yahoo.com at ffmpeg.org writes: Now, how can I recompile ffmpeg again? If you cannot recompile, only changeroot was a relevant tip for you. Is there a specific program I can use to disable the non wanted functions? No, the

Re: [FFmpeg-user] FFMPEg security question

2015-07-02 Thread Marton Balint
On Thu, 2 Jul 2015, Dani A wrote: My website allows users to upload video files so they can publish them, and I use ffmpeg to convert the files and move atom to the beginning, can someone upload a malicious file as if it is a video file and ffmpeg can execute that malicious file? If yes, any

Re: [FFmpeg-user] help with file paths under windows

2015-05-15 Thread Marton Balint
On Fri, 15 May 2015, Moritz Barsnick wrote: On Thu, May 14, 2015 at 17:39:46 +0200, lorenzo angeli wrote: Now, this seems all to be working fine under linux, but on winows, I started finding a bunch of issues. first this : https://trac.ffmpeg.org/ticket/2166

Re: [FFmpeg-user] How can I set in a D10 MXF (IMX50) file the flags for output color_range, -space, -transfer and primaries?

2015-04-30 Thread Marton Balint
On Wed, 29 Apr 2015, Christoph Gerstbauer wrote: I found out that a IMX50 mxf file encoded with FFmbc and the IMX50 mxf file encoded with actual ffmpeg builds are different in these mxf metadata flags (by reading out via ffprobe - show_streams) FFMBC IMX FILE stream 0:0: color_range=tv

Re: [FFmpeg-user] Multithreaded multioutput problem

2015-04-20 Thread Marton Balint
On Mon, 20 Apr 2015, Deron wrote: On 4/20/15 1:48 PM, Marton Balint wrote: On Mon, 20 Apr 2015, Deron wrote: Another user has contacted me with the exact same problem hoping that I stumbled on a solution for the below problem. I did not, so I am adding some more extensive log output

Re: [FFmpeg-user] update atomically

2015-01-28 Thread Marton Balint
On Wed, 28 Jan 2015, Anthony Griffiths wrote: so how would I get around the problem of the stream randomly crashing because the file can't update fast enough? Is this a case of me simply not having a fast enough machine? You already got the answer, instead of copying to the file, overwrite