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

2015-12-13 Thread Phil Rhodes
> Please do not top-post here, it is considered rude.
Please do not endlessly repeat the same pointless, tired statements, it is 
considered rude.
> Please do not repeat your question without providing complete, uncut console 
>output.
This is often impossible as it will cause the mail to exceed certain maximum 
size limits.
Please do not endlessly repeat the same advice, especially when you know it is 
often impossible to follow.
It is considered rude.
P 
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


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

2015-12-13 Thread Carl Eugen Hoyos
On Sunday 13 December 2015 04:24:47 pm Stephan Klemmer PIXEL for everyone 
wrote:
> ffmpeg -i film.mxf -i audio.mxf -c:v prores  -c:a copy output.mov

Complete, uncut console output missing.

Please do not top-post here, it is considered rude.
Please do not repeat your question without providing complete, 
uncut console output.

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


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

2015-12-13 Thread Stephan Klemmer PIXEL for everyone

Hi,

im using this command:

ffmpeg -i film.mxf -i audio.mxf -c:v prores  -c:a copy output.mov


but the output is still xyz, with greenish colors.



regards stephan


> Am 13.12.2015 um 15:45 schrieb Anshul :
> 
> Hey need some more details.
> 
> From your subject we came to know that you have problem while
> decoding DCP (jpeg2000 wrapped in MXF)
> 
> but where is ffmpeg command that you are using?
> What was your expected output?
> what is it thats coming?
> 
> -Anshul
> 
> On 12/13/2015 08:12 PM, Stephan Klemmer PIXEL for everyone wrote:
>> Hello,
>> i have the same problem. Is there a solution now?
>> 
>> thank you
>> 
>>  Beste Grüße,
>> 
>> Stephan Klemmer
>> Mediendesign
>> 
>> Tel.: 0331 / 287 931 62
>> Mobil: 0174 / 77 87 590
>> Mail: step...@pixel-for-everyone.de 
>> 
>> 
>>  
>> 
>> 
>> 
>>
>> 
>> 
>>   https://www.facebook.com/PIXELforeveryone 
>> 
>> ___
>> ffmpeg-user mailing list
>> ffmpeg-user@ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> 
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


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

2015-12-13 Thread Anshul

Hey need some more details.

From your subject we came to know that you have problem while
decoding DCP (jpeg2000 wrapped in MXF)

but where is ffmpeg command that you are using?
What was your expected output?
what is it thats coming?

-Anshul

On 12/13/2015 08:12 PM, Stephan Klemmer PIXEL for everyone wrote:

Hello,
i have the same problem. Is there a solution now?

thank you

  
Beste Grüße,


Stephan Klemmer
Mediendesign

Tel.: 0331 / 287 931 62
Mobil: 0174 / 77 87 590
Mail: step...@pixel-for-everyone.de 


   
   










   https://www.facebook.com/PIXELforeveryone 

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


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

2015-12-13 Thread Stephan Klemmer PIXEL for everyone
Hello,
i have the same problem. Is there a solution now?

thank you

 
Beste Grüße,

Stephan Klemmer
Mediendesign

Tel.: 0331 / 287 931 62
Mobil: 0174 / 77 87 590
Mail: step...@pixel-for-everyone.de 


  
  




   



  https://www.facebook.com/PIXELforeveryone 

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


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

2014-10-25 Thread Dave Rice
Hi Carles,

> On Oct 24, 2014, at 7:25 AM, Carles Vila  wrote:
> 
> Hi!
> Mitch, Thanks for taking the time and do the test. This confirms the
> problem is on my side.
> And Carl Eugen, thanks for knowing what I'm talking about!
> I installed ffmpeg one week ago on my mac via homebrew, using this command:
> 
> brew install ffmpeg --with-fdk-aac --with-ffplay --with-freetype
> --with-frei0r --with-libass --with-libvo-aacenc --with-libvorbis
> --with-libvpx --with-opencore-amr --with-openjpeg --with-opus
> --with-rtmpdump --with-schroedinger --with-speex --with-theora --with-tools
> 
> So, in theory nothing would be disabled. Should I compile ffmpeg in some
> other way?

When homebrew builds ffmpeg with openjpeg it disables jpeg2000 (see this 
commit: 
https://github.com/Homebrew/homebrew/commit/66a7aa83fdba702a7981744a3db564fc3b953297).
 This was done because as the commit note says the jpeg2000 encoder/decoder 
"mostly doesn't work".

To build an ffmpeg as Carl suggests, run `brew edit ffmpeg`, and delete this 
line `args << "--disable-decoder=jpeg2000"`.
Dave Rice

> Thank you
> 
> 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.
>> 
>> We should probably work on this but I suspect the easiest
>> solution is to compile without "--disable-encoder" and
>> specify the decoder you want:
>> $ ffmpeg -vcodec libopenjpeg -i input.mxf
>> This will use the internal decoder only to decide the
>> pix_fmt but will use the (bitexact!) libopenjpeg
>> decoder for actual decoding.
>> 
>> Carl Eugen
>> 
>> ___
>> ffmpeg-user mailing list
>> ffmpeg-user@ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>> 
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


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

2014-10-24 Thread Carl Eugen Hoyos
Carles Vila  gmail.com> writes:

> I installed ffmpeg one week ago on my mac via 
> homebrew, using this command:

> brew install ffmpeg --with-fdk-aac --with-ffplay --with-freetype
> --with-frei0r --with-libass --with-libvo-aacenc --with-libvorbis
> --with-libvpx --with-opencore-amr --with-openjpeg --with-opus
> --with-rtmpdump --with-schroedinger --with-speex --with-theora 
> --with-tools

This does not look like a FFmpeg configure command.

Please understand that we don't support any other 
means of installing here than running configure 
and make.

Please don't top-post, Carl Eugen

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


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

2014-10-24 Thread Carles Vila
Hi!
Mitch, Thanks for taking the time and do the test. This confirms the
problem is on my side.
And Carl Eugen, thanks for knowing what I'm talking about!
I installed ffmpeg one week ago on my mac via homebrew, using this command:

brew install ffmpeg --with-fdk-aac --with-ffplay --with-freetype
--with-frei0r --with-libass --with-libvo-aacenc --with-libvorbis
--with-libvpx --with-opencore-amr --with-openjpeg --with-opus
--with-rtmpdump --with-schroedinger --with-speex --with-theora --with-tools

So, in theory nothing would be disabled. Should I compile ffmpeg in some
other way?
Thank you

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.
>
> We should probably work on this but I suspect the easiest
> solution is to compile without "--disable-encoder" and
> specify the decoder you want:
> $ ffmpeg -vcodec libopenjpeg -i input.mxf
> This will use the internal decoder only to decide the
> pix_fmt but will use the (bitexact!) libopenjpeg
> decoder for actual decoding.
>
> Carl Eugen
>
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


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

2014-10-24 Thread Carl Eugen Hoyos
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.

We should probably work on this but I suspect the easiest 
solution is to compile without "--disable-encoder" and 
specify the decoder you want:
$ ffmpeg -vcodec libopenjpeg -i input.mxf
This will use the internal decoder only to decide the 
pix_fmt but will use the (bitexact!) libopenjpeg 
decoder for actual decoding.

Carl Eugen

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


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

2014-10-23 Thread Mitch Crane
On Thu, Oct 23, 2014 at 7:41 PM, Carles Vila  wrote:
> Hi Carl,
>
> You can download a short sample here: http://we.tl/KH56sHWuZs

I downloaded the file and use the following command line:

ffmpeg -i 177d8c52-e30d-4b52-8f77-7e7a25e13a79_j2c.mxf -s 1920*1080
-vcodec prores -profile:v 3 -an OUTPUT.mov

The colorspace seems to have been correctly detected and the resulting
MOV file looks fine to me.


Output below:

ffmpeg version N-66690-gf3296b9 Copyright (c) 2000-2014 the FFmpeg developers
  built on Oct  8 2014 01:17:39 with gcc 4.9.1 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
--enable-gnutls --enable-iconv --enable-libass --enable-libblu
ray --enable-libbs2b --enable-libcaca --enable-libfreetype
--enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug
--enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrw
b --enable-libopenjpeg --enable-libopus --enable-librtmp
--enable-libschroedinger --enable-libsoxr --enable-libspeex
--enable-libtheora --enable-libtwolame --enable-libvidstab
--enable-libvo-aacenc --
enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
--enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265
--enable-libxavs --enable-libxvid --enable-zlib
  libavutil  54.  9.100 / 54.  9.100
  libavcodec 56.  3.101 / 56.  3.101
  libavformat56.  7.104 / 56.  7.104
  libavdevice56.  1.100 / 56.  1.100
  libavfilter 5.  1.103 /  5.  1.103
  libswscale  3.  1.100 /  3.  1.100
  libswresample   1.  1.100 /  1.  1.100
  libpostproc53.  1.100 / 53.  1.100
[mxf @ 04327c80] "OPAtom" with 2 ECs - assuming OP1a
Input #0, mxf, from '177d8c52-e30d-4b52-8f77-7e7a25e13a79_j2c.mxf':
  Metadata:
uid : 63a3a820-123f-46f3-921d-dd8b17c2a847
generation_uid  : 1f505f11-8d26-431f-9c6f-e3b6f89a8046
company_name: Fraunhofer IIS
product_name: easyDCP Creator
product_version : 2.2.3
product_uid : 7d836e16-37c7-4c22-b2e0-46a717e84f42
modification_date: 2014-09-08 07:55:42
application_platform: i386-apple-darwin9.8.0
timecode: 00:00:00:00
  Duration: 00:00:04.04, start: 0.00, bitrate: 11989 kb/s
Stream #0:0: Video: jpeg2000 (JPEG 2000 digital cinema 2K),
xyz12le, 1998x1080, 24 tbr, 24 tbn, 24 tbc
Output #0, mov, to 'OUTPUT.mov':
  Metadata:
uid : 63a3a820-123f-46f3-921d-dd8b17c2a847
generation_uid  : 1f505f11-8d26-431f-9c6f-e3b6f89a8046
company_name: Fraunhofer IIS
product_name: easyDCP Creator
product_version : 2.2.3
product_uid : 7d836e16-37c7-4c22-b2e0-46a717e84f42
modification_date: 2014-09-08 07:55:42
application_platform: i386-apple-darwin9.8.0
timecode: 00:00:00:00
encoder : Lavf56.7.104
Stream #0:0: Video: prores (apch) (apch / 0x68637061),
yuv422p10le, 1920x1080, q=2-31, 200 kb/s, 24 fps, 12288 tbn, 24 tbc
Metadata:
  encoder : Lavc56.3.101 prores
Stream mapping:
  Stream #0:0 -> #0:0 (jpeg2000 (native) -> prores (native))
Press [q] to stop, [?] for help
frame=   97 fps=9.1 q=0.0 Lsize=   16805kB time=00:00:04.04
bitrate=34062.3kbits/s
video:16803kB audio:0kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead: 0.010757%
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


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:
>
> > Now I'm trying with another DCP, but ffmpeg fails to
> > see that the mxf is in XYZ, but sees RGB.
>
> Please provide the sample.
>
> For future questions: Please do not cut the console
> output, always provide the first 50 and the last
> 50 lines.
>
> Carl Eugen
>
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


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

2014-10-23 Thread Carl Eugen Hoyos
Carles Vila  gmail.com> writes:

> Now I'm trying with another DCP, but ffmpeg fails to 
> see that the mxf is in XYZ, but sees RGB.

Please provide the sample.

For future questions: Please do not cut the console 
output, always provide the first 50 and the last 
50 lines.

Carl Eugen

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


[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 converted it OK to YUV,
so the Prores looked gorgeous.
Now I'm trying with another DCP, but ffmpeg fails to see that the mxf is in
XYZ, but sees RGB.

ffmpeg -i INPUT_j2c.mxf -s 1920*1080 -vcodec prores -profile:v 3 -an
OUTPUT.mov

ffmpeg version 2.4.2 Copyright (c) 2000-2014 the FFmpeg developers
  built on Oct 22 2014 15:41:47 with Apple LLVM version 5.1
(clang-503.0.40) (based on LLVM 3.4svn)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/2.4.2 --enable-shared
--enable-pthreads --enable-gpl --enable-version3 --enable-nonfree
--enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang
--host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac
--enable-libmp3lame --enable-libxvid --enable-libfreetype
--enable-libtheora --enable-libvorbis --enable-libvpx --enable-librtmp
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-aacenc
--enable-libass --enable-ffplay --enable-libspeex --enable-libschroedinger
--enable-libfdk-aac --enable-libopus --enable-frei0r --enable-libopenjpeg
--disable-decoder=jpeg2000
--extra-cflags='-I/usr/local/Cellar/openjpeg/1.5.1_1/include/openjpeg-1.5 '
  libavutil  54.  7.100 / 54.  7.100
  libavcodec 56.  1.100 / 56.  1.100
  libavformat56.  4.101 / 56.  4.101
  libavdevice56.  0.100 / 56.  0.100
  libavfilter 5.  1.100 /  5.  1.100
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale  3.  0.100 /  3.  0.100
  libswresample   1.  1.100 /  1.  1.100
  libpostproc53.  0.100 / 53.  0.100




Code: [Select]
Metadata:
uid : 0365d3e4-5e72-4229-8b3d-cd8ada6ace94
generation_uid  : 0497c548-2c85-4bd0-a915-2f1d65a0ffaf
company_name: Fraunhofer IIS
product_name: easyDCP Creator
product_version : 2.2.3
product_uid : 7d836e16-37c7-4c22-b2e0-46a717e84f42
modification_date: 2014-10-08 14:40:08
application_platform: i386-apple-darwin9.8.0
timecode: 00:00:00:00
  Duration: 00:19:18.58, start: 0.00, bitrate: 222669 kb/s
Stream #0:0: Video: jpeg2000, rgb48le(12 bpc), 1998x1080, 24 tbr, 24
tbn, 24 tbc

Now, the resulting Quicktime is wrong color-wise. (That greenish look)
Is there any way to force ffmpeg that it interprets the input as XYZ?

Thanks!!
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user