[FFmpeg-user] XDCAM 422 HD with 16 audio channels

2020-07-29 Thread Carles Vila
Hi, I've been asked to deliver an "MXF file (OP1A) XDCAM 422 HD (1080p) 25fps , 50 Mbps with 16 audio channels" with a certain audio mapping This would be no problem if we were talking about 8 channel audio, I've done dozens of those from within commercial ecoders, but 16? AFAIK the sony XDCAM sta

Re: [FFmpeg-user] pan filter confusion

2017-11-27 Thread Carles Vila
> > [0:1] is the input stream mapping to the complex filter chain. With > this syntax, it references the second stream from the first file. For > your particular file, it's indeed the audio stream. You could use > "[0:a]", just in case the order of video and audio streams are swapped > (or undeterm

Re: [FFmpeg-user] pan filter confusion

2017-11-23 Thread Carles Vila
> How are you testing the output? > > Have you tried > > ffplay -vn proxy_stereo.mp4 > ? > > > Gyan > Hi I'm testing with Quicktime player, but now that you mention it, I've tested with ffplay and a couple of other players with the same result: silent audio I also double checked that the wavef

[FFmpeg-user] pan filter confusion

2017-11-23 Thread Carles Vila
Hi I can't get my head around how the pan filter works, in theory all is clear but in practice I fail with the result. My input is a mov container with 1 ProRes stream and 1 audio stream with 12 channels. I'd like to create a small stereo H264 file with a special combination of those channels: Le

Re: [FFmpeg-user] Error converting 4K DCP

2017-09-22 Thread Carles Vila
> Seems like your source has four components, maybe an alpha channel? I'd > like to see the pix_fmt, but maybe ffmpeg gives the same error. > > Not sure if using libopenjpeg as decoder would help? > Just add > -c:v libopenjpeg > Before your > -i > Hi! I claimed victory too early. Libopenjpeg start

Re: [FFmpeg-user] Error converting 4K DCP

2017-09-22 Thread Carles Vila
> > Seems like your source has four components, maybe an alpha channel? I'd > like to see the pix_fmt, but maybe ffmpeg gives the same error. > > Not sure if using libopenjpeg as decoder would help? > Just add > -c:v libopenjpeg > Before your > -i > > Hi thanks for the tip! it did the trick, almost

[FFmpeg-user] Error converting 4K DCP

2017-09-21 Thread Carles Vila
Hi all, I'm having an issue when converting a .j2c image sequence to ProRes. The error log suggests me to upgrade, can you please confirm that the only way to upgrade is to remove all files and compile from scratch, like this guide explains? https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu any

Re: [FFmpeg-user] Blue Ray Question

2017-06-09 Thread Carles Vila
On 9 June 2017 at 15:26, Ron Barnes wrote: > Hello All, > > > > I know there are tools out there for this question but I'm hoping FFmpeg > can > handle things. > > I have an old blue ray that I would like to shrink. The only problem is > when I open the BR in File Explorer there is no way of kno

Re: [FFmpeg-user] Can't get a/v synchronisation right with mpeg transport stream that has gaps in it

2017-04-03 Thread Carles Vila
On 3 April 2017 at 15:47, Erik Slagter wrote: > [ ffmpeg not syncing a/v properly with an mpeg transport stream, that > has gaps in it, as input ] > > It seems nobody experiences the same issues. As said before it's not > specific to a certain file, it happens with all such streams. So > uploadin

Re: [FFmpeg-user] T shirt

2017-03-31 Thread Carles Vila
"Complete uncut console output missing" under the logo 😃 -Mensaje original- De: "David Whitaker" Enviado: ‎31/‎03/‎2017 19:57 Para: "ffmpeg-user@ffmpeg.org" Asunto: [FFmpeg-user] T shirt Hi, I am a big fan of ffmpeg, I like the logo so I decided to have a single white t shirt with the

Re: [FFmpeg-user] cropping problem

2017-02-22 Thread Carles Vila
El 22 feb. 2017 16:46, "Benjamin Houtman" escribió: Hello all, I'm trying to crop a video that has a large green stripe at the bottom. Using Cropdetect I've determined that the dimensions of the content for the video are 720:480, not the 720:576 it displays at. When I try to crop it two things

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

2017-02-13 Thread Carles Vila
On 10 February 2017 at 14:12, Markku Vainio wrote: > Hello, > > I've used this my AudioSplitter.bat script placed in windows "send to" > folder for quick access. It could probably be much smarter but anyways it > does the job for me. It loops now 50 times and creates 24bit wav files. > >

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

2017-02-13 Thread Carles Vila
On 11 February 2017 at 02:24, Cley Faye wrote: > 2017-02-10 12:40 GMT+01:00 Carles Vila : > > > If you could give me a starting point, I could probably figure out. > > > ​This comes with no guarantee, no documentation and very minimal testing, > but since you aske

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

2017-02-10 Thread Carles Vila
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 manually after probing the input. Ideally I

[FFmpeg-user] Manually convert XYZ to YUV

2017-01-16 Thread Carles Vila
Hi I have been given an MP4 which has been extracted from DCP without color-correction, so it still has the greenish look from the XYZ colorspace. Is there any way to convert it and make it look approximately normal? Thank you! below are the specs of the source: ffmpeg -i INPUT.mov ffmpeg version

Re: [FFmpeg-user] Need help understanding framerate conversion!

2017-01-13 Thread Carles Vila
The reason that the resulting video is longer is simple: it plays slower! which is what you want (pull-down) By default, ffmpeg does nothing to the audio, so you must stretch it. The most simple solution is to resample it. Try this command line below: the -r before the input tells ffmpeg to interp

Re: [FFmpeg-user] issue with concat and seek

2016-10-20 Thread Carles Vila
> > > Good point - I wasn't aware it would do it this way. (I'll need to play > around with this to understand, for myself.) > > I'm pretty sure the "inpoint" directive to the concat demuxer will then > suffer the same issue. Its documentation even says: > > This directive works best with intra f

Re: [FFmpeg-user] issue with concat and seek

2016-10-19 Thread Carles Vila
Thanks for hinting in the right direction. Indeed there was no key frame up to sec. 10,5 (amazed by this!) The fact that QuickTime player did *not* show the cut beginning increased my confusion. But further processing with ffmpeg (concat) proves that the frames are there. Increasing the seek ha

[FFmpeg-user] issue with concat and seek

2016-10-19 Thread Carles Vila
Hi, I have two mp4 (myIntro.mp4 and movie.mp4) that I want to concatenate, but the second video should start at 10 seconds. Both mp4 have same properties. Normal concat without seeking works just fine: ffmpeg -f concat -i list.txt -c copy output.mp4 I cut the first few seconds of the movie to re

Re: [FFmpeg-user] framerate conversion with sync audio

2016-10-13 Thread Carles Vila
> > > How can I apply the same filter to all audio streams? > > You use -filter_complex instead of -vf and -af > > -filter_complex > [0:0]setpts=PTS*0.8[v];[0:1]asetrate,aresample[a0];[0:2] > asetrate,aresample[a1] > and then -map [v] -map [a0] -map [a1] > (untested) > After a couple of attempts,

Re: [FFmpeg-user] framerate conversion with sync audio

2016-10-13 Thread Carles Vila
> > > > > > ffmpeg -i ... -af atempo=0.96 > > > > (24/25 = 0.96) > > > > Wow, I messed that one up completely. Incorporating Carl's suggestion as > well of -vf setpts, the filter chain should look something like: > > ffmpeg -i -vf setpts=PTS*0.8 -af=atune=25/24 > > or if -r works for you: > ffm

[FFmpeg-user] framerate conversion with sync audio

2016-10-11 Thread Carles Vila
Hi, I'm trying to perform framerate conversion of a video, from 24fps to 25fps to be precise. The source is mov, ProRes with multichannel audio at 48kHz. It is mandatory for my application to preserve the integrity of all frames, i.e. no frame-interpolation or duplication should occur. In other wo

Re: [FFmpeg-user] encoding video from png diffs

2016-09-02 Thread Carles Vila
> > > > I have another different, but related question. What format would you > suggest for storing my screencast in? The resulting video is going to be > 1080p30 and it needs to have an alpha channel (the input png's will use the > alpha channel). The screencast is going to be overlaid at a later

Re: [FFmpeg-user] view mp4 while still encoding?

2016-07-14 Thread Carles Vila
nd a > stream and look at the stream. This is a more complicated setup though.,* > > *Louis* > > On Thu, Jul 14, 2016 at 6:29 AM, Carles Vila wrote: > > > Hi all, > > > > Is there an option to be able to view an mp4 (H.264) which is still being > > en

[FFmpeg-user] view mp4 while still encoding?

2016-07-14 Thread Carles Vila
Hi all, Is there an option to be able to view an mp4 (H.264) which is still being encoded? with mpeg-2 in mpeg container it works, it would be handy for mp4.. Thanks! ffplay throws following error: ffplay movie.mp4 ffplay version 2.7.2 Copyright (c) 2003-2015 the FFmpeg developers built with A

Re: [FFmpeg-user] Is it possible to write a DOLBY-E metadata flag to specific PCM Audio Streams in a MXF File?

2016-07-05 Thread Carles Vila
Sorry, I can only help you by saying that I've delivered a fair amount of mxf files (d-10, imx, XDCAM...) with embedded DolbyE and I've never been asked to provide this metadata info. Of course I encode according to broadcaster specs, Dolby E is always on CH5-6 and 7-8, so I assume they know what t

Re: [FFmpeg-user] How to convert PRORES source XYZ to ProRes yuv422p10le

2016-04-05 Thread Carles Vila
On 5 April 2016 at 09:48, pasaico wrote: > Hi Kieraon, > > I know that it is recognized as YUV , but it definitely has a color > applied to XYZ , > Is there a way to find a LUT to apply to return to the right colors > for a specific REC709 ? > > Best, > Pasaico > I've applied LUTs in the past us

[FFmpeg-user] Downmix discrete 5.1 to stereo

2016-01-20 Thread Carles Vila
Hi, I'm struggling to find the correct command-line for converting 5.1 to stereo. My source are 6 x aiff (numbered _1 to _6, corresponding to L, R, C, LFE, Ls and Rs channels. My idea is to obtain stereo the way the -ac 2 option does. Any ideas? Thank you! ffmpeg -i Test_1.aif -i Test_2.aif -i

Re: [FFmpeg-user] ProRes change framerate

2015-12-30 Thread Carles Vila
On 30 December 2015 at 00:11, Fabrice Saudoyez < fabrice.saudo...@staytuned.be> wrote: > Any possibility without re-encoding ? > Just copy the frames ? > > > > > > On 30/12/15 00:04, "ffmpeg-user on behalf of Carl Eugen Hoyos" < > ffmpeg-user-boun...@ffmpeg.org on behalf of ceho...@ag.or.at> wrote

Re: [FFmpeg-user] ffmpeg's Dolby Pro Logic feature is leaking center channel into surround channel

2015-11-30 Thread Carles Vila
On 30 November 2015 at 12:00, Carl Eugen Hoyos wrote: > On Monday 30 November 2015 11:09:55 am Carles Vila wrote: > > [...] > > I believe you completely misunderstood the report, do you > realize that FFmpeg contains a "dolby prologic encoder"? > > I am particul

Re: [FFmpeg-user] ffmpeg's Dolby Pro Logic feature is leaking center channel into surround channel

2015-11-30 Thread Carles Vila
Hi There are many variables in your setup, and I believe you have some confusion regarding how film audio works. I work in audio postproduction for film and TV, I hope I am able to help. I truly believe the root of your problem is not in ffmpeg, but in the setup of your system. In that respect I wo

Re: [FFmpeg-user] decoding jpeg2000 problem

2015-10-30 Thread Carles Vila
Hi, Resurrecting semi-old thread. Hope it's OK. I've been struggling a long time to get the best possible conversion from DCinema with ffmpeg. No matter what I try I always get weird color artifacts at low levels, which I can best describe as "posterization". I know it must be possible because a c

Re: [FFmpeg-user] Specify FC instead of mono‏

2015-10-28 Thread Carles Vila
Hi, I'm in the same boat. Would be very useful to fix this. It was mentioned before that Amazon Prime and Google play ask for ProRes for their VOD platforms. For the sake of completeness I'd like to add iTunes and Netflix. So it's a de facto standard for VOD delivery I would say.It all stems from

Re: [FFmpeg-user] decoding jpeg2000 problem

2015-09-04 Thread Carles Vila
On 4 September 2015 at 15:45, Paul B Mahol wrote: > On 9/4/15, Carl Eugen Hoyos wrote: > > Carles Vila gmail.com> writes: > > > >> Here's the command line. I had to include > >> -pix_fmt xyz12le in order to have it detect > >> xyz of

Re: [FFmpeg-user] decoding jpeg2000 problem

2015-09-04 Thread Carles Vila
On 4 September 2015 at 14:28, Carl Eugen Hoyos wrote: > Carles Vila gmail.com> writes: > > > Anyway I'm going to update to the latest version. > > Please do and report back. > (There may be a regression...) > > Carl Eugen > >

Re: [FFmpeg-user] decoding jpeg2000 problem

2015-09-04 Thread Carles Vila
On 4 September 2015 at 12:17, Carl Eugen Hoyos wrote: > Carles Vila gmail.com> writes: > > > I've run into a problem when converting a j2c image > > sequence to ProRes. > > Sorry, I thought the artefacts are intended... > > You need to use ffmpeg -vcodec

[FFmpeg-user] decoding jpeg2000 problem

2015-09-04 Thread Carles Vila
Hi all, I've run into a problem when converting a j2c image sequence to ProRes. The dark levels look horrible, especially dark gradients, which seem like posterized. The bright levels seem to look better. I think it's a problem related to 12 bit to 10 bit conversion. Is there anything I can do to m

Re: [FFmpeg-user] In and out-range Scale option able to correct 0-255 video to 0-235?

2015-05-19 Thread Carles Vila
On 19 May 2015 at 23:16, Carl Eugen Hoyos wrote: > Carl Eugen Hoyos ag.or.at> writes: > > > Please test with the following inlined patch > > and -cpuflags 0: > > Please ignore, this test makes no sense. > > Sorry, Carl Eugen > > ___ > ffmpeg-user maili

Re: [FFmpeg-user] Conform framerate with ffmpeg

2015-05-19 Thread Carles Vila
On 19 May 2015 at 21:43, Carl Eugen Hoyos wrote: > Carles Vila gmail.com> writes: > > > Hi, here are some of my findings regarding frame > > rate conforming. > > Did you test input option -r ? > Did it work? > > Carl Eugen > > ___

Re: [FFmpeg-user] Conform framerate with ffmpeg

2015-05-19 Thread Carles Vila
On 16 May 2015 at 10:24, Carl Eugen Hoyos wrote: > Reuben Martin gmail.com> writes: > > > On Friday, May 15, 2015 02:42:06 PM Carl Eugen Hoyos wrote: > > > Carles Vila gmail.com> writes: > > > > 2. Is there a way to conform a ProRes file > >

Re: [FFmpeg-user] subtitles - visual alignment offset?

2015-05-16 Thread Carles Vila
One option would be to use .ass subtitles instead of srt, .ass allows you to adjust position and appearance at will for all or individual subtitles. I use Aegisub for this purpose. -Mensaje original- De: "jamie" Enviado: ‎16/‎05/‎2015 0:26 Para: "FFmpeg user questions" Asunto: [FFmpeg-

Re: [FFmpeg-user] Conform framerate with ffmpeg

2015-05-16 Thread Carles Vila
fmpeg Reuben Martin gmail.com> writes: > On Friday, May 15, 2015 02:42:06 PM Carl Eugen Hoyos wrote: > > Carles Vila gmail.com> writes: > > > 2. Is there a way to conform a ProRes file > > > directly with ffmpeg? All audio channels playback > > > sample

[FFmpeg-user] Conform framerate with ffmpeg

2015-05-15 Thread Carles Vila
Hi all, I often use Cinema Tools (part of Final Cut Studio) to conform ProRes videos between 25 fps, 24 fps and 23,98 fps. As you may know, "conforming" is the process of changing the playback speed only by changing info in the file header (no transcoding) I have two questions: 1. For some reason

Re: [FFmpeg-user] conversion dropping frames

2015-04-21 Thread Carles Vila
On 21 April 2015 at 18:03, Carl Eugen Hoyos wrote: > Carles Vila gmail.com> writes: > > > $ ffmpeg -i frm_%6d.j2c -c:v prores -profile:v 3 -r 24 > > Move "-r 24" before "-i" and make it "-framerate 24": > https://ffmpeg.org/ffmpeg-formats.ht

[FFmpeg-user] conversion dropping frames

2015-04-21 Thread Carles Vila
Hi all, I'm converting a JPEG2000 image sequence to prores. The command works fine but it reports dropped frames during the conversion. What could be the cause? Is there any way to avoid this by forcing a retry or something? Strangely ffmpeg reports an 25fps rate for the image sequence (?) I had t

Re: [FFmpeg-user] filterstats broadcast legal report

2015-02-12 Thread Carles Vila
On 12 February 2015 at 02:17, Dave Rice wrote: > Hi Carles, > > > On Feb 11, 2015, at 1:45 PM, Carles Vila wrote: > > > > Hi all, > > I'd like to set up a command to find out if a video is broadcast legal. > > I've tried to understand how signalsta

[FFmpeg-user] filterstats broadcast legal report

2015-02-11 Thread Carles Vila
Hi all, I'd like to set up a command to find out if a video is broadcast legal. I've tried to understand how signalstats works but I need some help. I tried the examples in the ffmpeg filter documentation, like the one pasted below, but I'd like to customize it to my needs. Ideally It would output

Re: [FFmpeg-user] Introduction and problem with decoding DCP (jpeg2000 wrapped in MXF)

2014-10-24 Thread Carles Vila
u On 24 October 2014 12:59, Carl Eugen Hoyos wrote: > Carles Vila gmail.com> writes: > > > --enable-libopenjpeg > > > --disable-decoder=jpeg2000 > > I know why you are doing this (and I recommended it often) > but it makes detection of xyz impossible. > > W

Re: [FFmpeg-user] Introduction and problem with decoding DCP (jpeg2000 wrapped in MXF)

2014-10-23 Thread Carles Vila
Hi Carl, You can download a short sample here: http://we.tl/KH56sHWuZs I followed the instructions at http://olitee.com/2014/02/ffmpeg-convert-dcp-quicktime/ Thanks for looking at it. Thanks On 23 October 2014 23:21, Carl Eugen Hoyos wrote: > Carles Vila gmail.com> writes: > &g

[FFmpeg-user] Introduction and problem with decoding DCP (jpeg2000 wrapped in MXF)

2014-10-23 Thread Carles Vila
Hi all, This is my first message, nice to meet you all. We've been using ffmpeg and ffmbc in our small postproduction company for quite some time. We use it for many tasks. I remember having used ffmpeg to convert a picture mxf from a DCP to ProRes. ffmpeg detected the XYZ colorspace fine and conv