Re: [FFmpeg-user] Clipping inputs -t position with concat video filter

2019-02-06 Thread Christian Johannesen
On Wed, Feb 6, 2019 at 12:44 AM Gyan wrote: > > > > > > >> ffmpeg -y -ss 86.086 -t 4.004 -i countdownclock_720p2398_21min.mp4 -ss > > 1257.256 -t 4.004 -i countdownclock_720p2398_21min.mp4 -filter_complex > > "[0:v:0][1:v:0]concat=n=2:v=1:a=0[concat_v]" -map "[concat_v]" -pix_fmt > > yuv420p

[FFmpeg-user] Clipping inputs -t position with concat video filter

2019-02-05 Thread Christian Johannesen
It's my understanding that the -t option can be used before or after the input file. I've found that its more accurate with some input files if I place the option after the input file. However, this impacts the ability to use the concat video filter to combine multiple clips. When I set the -t

Re: [FFmpeg-user] 24h timecode max

2019-01-30 Thread Christian Johannesen
On Wed, Jan 30, 2019 at 9:37 AM Gyan wrote: > > On 30-01-2019 04:31 AM, Christian Johannesen wrote: > > I saw in timecode.c there is AV_TIMECODE_FLAG_24HOURSMAX, but i'm not > sure > > how I could utilize it. It only seems that the Drawtext filter has an > > op

[FFmpeg-user] 24h timecode max

2019-01-29 Thread Christian Johannesen
I'm using the -timecode option to set the output starting timecode, but I was hoping to enforce a 24 hour max, so that if I set a value of 23:59:59:00, it will round back to 00:00:00:00 after a second of timecode. I can see that in my output mov file, the timecode continues to 24:00:00:00 and past

Re: [FFmpeg-user] Cannot allocate memory for complex filtering with latest git

2017-11-15 Thread Christian Johannesen
On Wed, Nov 15, 2017 at 9:41 PM, Carl Eugen Hoyos wrote: > > How is memory usage if you choose a thread count that is still ok? > (Could the issue be fork-bomb-safety?) > > The ffmpeg option -benchmark should tell you about memory usage. > > Carl Eugen With a setting of

Re: [FFmpeg-user] Cannot allocate memory for complex filtering with latest git

2017-11-15 Thread Christian Johannesen
On Wed, Nov 15, 2017 at 9:30 PM, Carl Eugen Hoyos wrote: > > This sounds like a bug to me but as said, oom is possible. > > Carl Eugen > > The system I am using has 64GB of memory, so if there is an issue it would be with ffmpeg not being able to allocate it. I've uploaded

Re: [FFmpeg-user] Cannot allocate memory for complex filtering with latest git

2017-11-15 Thread Christian Johannesen
On Wed, Nov 15, 2017 at 9:06 PM, Carl Eugen Hoyos wrote: > > You could now find out if the issue is with decoding or encoding > threads (not sure) and edit your command accordingly. > > Carl Eugen > It looks like its the number of threads for decoding the audio channels. A

Re: [FFmpeg-user] Cannot allocate memory for complex filtering with latest git

2017-11-15 Thread Christian Johannesen
On Wed, Nov 15, 2017 at 8:47 PM, Christian Johannesen < chrisjohanne...@gmail.com> wrote: > > > On Wed, Nov 15, 2017 at 5:42 PM, Carl Eugen Hoyos <ceffm...@gmail.com> > wrote: >> >> Please also test "-filter_threads 1" and / or "-threads 1&quo

Re: [FFmpeg-user] Cannot allocate memory for complex filtering with latest git

2017-11-15 Thread Christian Johannesen
On Wed, Nov 15, 2017 at 5:42 PM, Carl Eugen Hoyos <ceffm...@gmail.com> wrote: > 2017-11-15 18:04 GMT+01:00 Christian Johannesen <chrisjohanne...@gmail.com > >: > > On Wed, Nov 15, 2017 at 11:39 AM, Carl Eugen Hoyos <ceffm...@gmail.com> > > wrote: > >

Re: [FFmpeg-user] Cannot allocate memory for complex filtering with latest git

2017-11-15 Thread Christian Johannesen
On Wed, Nov 15, 2017 at 11:39 AM, Carl Eugen Hoyos <ceffm...@gmail.com> wrote: > 2017-11-15 17:36 GMT+01:00 Christian Johannesen <chrisjohanne...@gmail.com > >: > > A command that works in FFmpeg 3.2.3, does not work in the > > latest version of FFmpeg > > Do

[FFmpeg-user] Cannot allocate memory for complex filtering with latest git

2017-11-15 Thread Christian Johannesen
A command that works in FFmpeg 3.2.3, does not work in the latest version of FFmpeg and I have also tested version 3.3.5 which it fails there as well. I've made a clip from the input file which reproduces the issue. The process takes an input file where a stereo program is on two mono channels and

Re: [FFmpeg-user] Why is concat so slow on a powerful machine?

2017-10-19 Thread Christian Johannesen
On Thu, Oct 19, 2017 at 11:51 AM, Kevin Duffey < kevinmduffey-at-yahoo@ffmpeg.org> wrote: > So I would assume that if I can copy the two files in a matter of seconds > from one dir to another on the SSD, that copying them together would be > similar speed. However I did try that and it

Re: [FFmpeg-user] issue with [PATCH] avformat/hlsenc: actual segment file size and duration in segment filenames

2017-01-12 Thread Christian Johannesen
On Thu, Jan 12, 2017 at 11:32 AM, Christian Johannesen < chrisjohanne...@gmail.com> wrote: > > > On Thu, Jan 12, 2017 at 1:27 AM, Steven Liu <lingjiujia...@gmail.com> > wrote: > >> >> I have sent a patch to the ffmpeg-devel maillist, you can test it.

Re: [FFmpeg-user] issue with [PATCH] avformat/hlsenc: actual segment file size and duration in segment filenames

2017-01-12 Thread Christian Johannesen
On Thu, Jan 12, 2017 at 1:27 AM, Steven Liu wrote: > > I have sent a patch to the ffmpeg-devel maillist, you can test it. > I've tested the patch from http://ffmpeg.org/pipermail/ffmpeg-devel/2017-January/205706.html on Windows 2012 x64 with msys2. It now works as

Re: [FFmpeg-user] issue with [PATCH] avformat/hlsenc: actual segment file size and duration in segment filenames

2017-01-11 Thread Christian Johannesen
On Wed, Jan 11, 2017 at 8:56 AM, Steven Liu wrote: > > > al'right, i have reproduce it on windows+mingw, and will fix it. > > Thank you! Much appreciated. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org

[FFmpeg-user] issue with [PATCH] avformat/hlsenc: actual segment file size and duration in segment filenames

2017-01-10 Thread Christian Johannesen
I tested new functionality that was recently added to FFMPEG to include the segment size in bytes and segment duration in the filename. I tried re-multiplexing a MP4 with H.264 video and AAC audio into HLS with this feature, but only the last HLS segment has this data, all other ts segments

Re: [FFmpeg-user] Enable all audio tracks for MOV container

2016-07-19 Thread Christian Johannesen
On Tue, Jul 19, 2016 at 4:07 PM, Rens Dijkshoorn <r...@offlinemedia.nl> wrote: > - Original Message - > > From: "Christian Johannesen" <chrisjohanne...@gmail.com> > > To: "FFmpeg user questions" <ffmpeg-user@ffmpeg.org> > > Sent

[FFmpeg-user] Enable all audio tracks for MOV container

2016-07-19 Thread Christian Johannesen
Hi all - I had been using a patch from this mailing list on the FFMPEG source code to enable all audio tracks when encoding QuickTime MOV. diff --git a/libavformat/movenc.c b/libavformat/movenc.c index b6821d4..136adae 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -2315,6

Re: [FFmpeg-user] fading multiple graphic overlays

2016-04-01 Thread Christian Johannesen
On Thu, Mar 31, 2016 at 6:29 PM, Christian Johannesen < chrisjohanne...@gmail.com> wrote: > I'm able to use ffmpeg to fade the same graphic overlays multiple times > but I wonder if i'm not using the right approach. When I use 1 overlay the > process runs at 35fps, but if I

[FFmpeg-user] fading multiple graphic overlays

2016-03-31 Thread Christian Johannesen
I'm able to use ffmpeg to fade the same graphic overlays multiple times but I wonder if i'm not using the right approach. When I use 1 overlay the process runs at 35fps, but if I try to overlay the same graphic 3 times the performance drops to 14fps. Thanks, Chris 1 graphic overlay:

Re: [FFmpeg-user] concat & input trimming

2016-03-29 Thread Christian Johannesen
Christian Johannesen <chrisjohanne...@gmail.com> wrote: > > > Carl Eugen Hoyos <ceho...@ag.or.at> wrote: > >> Christian Johannesen gmail.com> writes: >> >> > I am attempting to use the concat filter along with input >> > trimming which i'm

Re: [FFmpeg-user] concat & input trimming

2016-03-29 Thread Christian Johannesen
Carl Eugen Hoyos <ceho...@ag.or.at> wrote: > Christian Johannesen gmail.com> writes: > > > I am attempting to use the concat filter along with input > > trimming which i'm guessing might not be supported in this > > combination. > > Can you confirm

[FFmpeg-user] concat & input trimming

2016-03-29 Thread Christian Johannesen
I am attempting to use the concat filter along with input trimming which i'm guessing might not be supported in this combination. The behavior with using input trimming and the concat filter is that the ffmpeg command line process stalls at 0% until it gets to the last input segment which is what

Re: [FFmpeg-user] Video filtering for chroma dot crawl and rainbow effect

2016-01-26 Thread Christian Johannesen
On Monday, January 25, 2016, Andy Furniss <adf.li...@gmail.com> wrote: > Andy Furniss wrote: > >> Andy Furniss wrote: >> >>> Carl Eugen Hoyos wrote: >>> >>>> Christian Johannesen gmail.com> writes: >>>> >&g

Re: [FFmpeg-user] Video filtering for chroma dot crawl and rainbow effect

2016-01-24 Thread Christian Johannesen
On Sun, Jan 24, 2016 at 8:23 PM, Carl Eugen Hoyos <ceho...@ag.or.at> wrote: > Christian Johannesen gmail.com> writes: > > > Looked through all the documentation for FFMPEG and I can't > > seem to find any video filters that deal with chroma dot > > crawl &

[FFmpeg-user] Video filtering for chroma dot crawl and rainbow effect

2016-01-22 Thread Christian Johannesen
Looked through all the documentation for FFMPEG and I can't seem to find any video filters that deal with chroma dot crawl & rainbow artifacts in files captured from analog tape formats. I have a feeling that I am going to need to immerse myself in AVISynth, but if anyone has any leads I would

Re: [FFmpeg-user] Video filtering for chroma dot crawl and rainbow effect

2016-01-22 Thread Christian Johannesen
On Fri, Jan 22, 2016 at 4:18 PM, Paul B Mahol <one...@gmail.com> wrote: > On 1/22/16, Christian Johannesen <chrisjohanne...@gmail.com> wrote: > > Looked through all the documentation for FFMPEG and I can't seem to find > > any video filters that deal with chroma do

Re: [FFmpeg-user] issue with trim & pan filters

2015-12-30 Thread Christian Johannesen
> > > On Wed, Dec 30, 2015 at 3:15 AM, Paul B Mahol <one...@gmail.com> wrote: > >> On 12/30/15, Christian Johannesen <chrisjohanne...@gmail.com> wrote: >> >> > [trim for input stream 0:1 @ 00ecd74caac0] Cannot select channel >> layout >>

[FFmpeg-user] issue with trim & pan filters

2015-12-29 Thread Christian Johannesen
I ran into an issue with ffmpeg tonight where I could not trim a source because of the audio channel configuration of the track I was pulling audio from. The source has a track of 12 channels of audio. I can process the first two channels in the track to a stereo output with the pan filter. If I

[FFmpeg-user] Video frame duplication in FFMPEG output for MXF source

2015-11-03 Thread Christian Johannesen
Hi - I'm having a specific issue when I try to process a 1080i 59.94 MXF to a MP4 at 23.98. The output video freezes on one frame while the audio continues. On the output file, one frame of the credits displays from frame 2499 to 2579, then another frame from 2580 to 2603 and a third frame plays

Re: [FFmpeg-user] Preserving color space for MOV container

2015-07-17 Thread Christian Johannesen
On Fri, Jul 17, 2015 at 2:48 AM, Carl Eugen Hoyos ceho...@ag.or.at wrote: Christian Johannesen chrisjohannesen at gmail.com writes: I'm wondering if it is possible to preserve or set the color_space, color_transfer color_primaries in a conversion to a MOV container format. You

Re: [FFmpeg-user] Preserving color space for MOV container

2015-07-17 Thread Christian Johannesen
On Fri, Jul 17, 2015 at 12:15 PM, Dave Rice d...@dericed.com wrote: On Jul 17, 2015, at 10:59 AM, Christian Johannesen chrisjohanne...@gmail.com wrote: On Fri, Jul 17, 2015 at 2:48 AM, Carl Eugen Hoyos ceho...@ag.or.at wrote: Christian Johannesen chrisjohannesen at gmail.com writes

Re: [FFmpeg-user] Why start_time is sometimes non zero?

2015-03-20 Thread Christian Johannesen
I know files captured with Final Cut Pro 7 have this attribute. The software starts recording the audio and video tracks and then inserts metadata for each track to indicate the offset of the start of the track relative to the start time of the container. This aligns the tracks, to this point.

[FFmpeg-user] Issue with using amerge pan to map mix

2015-03-18 Thread Christian Johannesen
I am trying to utilize the amerge pan filters to combine the audio tracks of an MXF MOV to create a 10 channel mix from them. I am trying to mix both channels from the stereo WAV to output channels 3 4, if I do this, I get silent audio on the output. If I map the inputs and apply no mixing, I

[FFmpeg-user] Issue with timecode burn-in with 29.97 file that reports tbc as 59.94

2015-03-12 Thread Christian Johannesen
I'm attempting to create a QuickTime proxy with H.264 video and multiple tracks of aac audio, timecode track timecode burn-in. My source is 29.97 fps, but the tbc is reported as 59.94 and if I do not pass -r 29.97 before -map 0:v the output proxy is encoded at 59.94 fps. But even though I have