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] Creating screencap mosaic sheet issues

2014-10-08 Thread Mitch Crane
Excuse my previous top post (thanks gmail).
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Creating screencap mosaic sheet issues

2014-10-08 Thread Mitch Crane
Through some trial and error I got what appears to be a reasonable
output using the following command line:

ffmpeg -i D:\movies\input.avi -vf
"fps=fps=1/5,select='isnan(prev_selected_t)+gte(t-prev_selected_t\,5)',scale=160:90,tile=5x5"
-qscale:v 3 -y %03d_sheet.jpg

My input file was a 23.98 fps, which I rounded up to 24. I added
"fps=fps=1/5" to what you already had in your options. I arrived at
1/5 frames per second by multiplying the frame rate of the input by
the interval at which I wanted thumbnails to be captured and then
dividing that number by the number of thumbnails in each output file.
This was just a guess and I'm not sure if my logic is correct or I
just got lucky. I only verified my results by eyeballing it and seeing
that the number of thumbnails was in the ballpark of the length of the
movie in seconds divided by 5.

On Tue, Oct 7, 2014 at 11:32 AM, kosta vlotis
 wrote:
> I'm trying to create a screencap mosaic sheet similar to what is shown in
> https://trac.ffmpeg.org/wiki/How%20to%20take%20multiple%20screenshots%20to%20an%20image%20%28tile%2C%20mosaic%29
> .
>
> I'm running into a few issues:
>
>- Firstly, I can't seem to figure out how to set the screencap interval.
>I need to set the interval to 5 seconds.
>- Secondly, I've played with some variations of the command and what
>seems to be happening is the same sheet gets duplicating 5 times before
>moving on to the next.
>
>
> Screencap mosaic jpg images with the following specs need to be created:
>
>- 5x5 tiles
>- images must have a resolution of 160x90 @ 16:9
>- the screencap interval must be 5 seconds.
>- These must be created for the duration of the video.
>
>
> Here is my command line (running the latest zeranoe windows build):
> ffmpeg -i video.mpeg -vf
> "select='isnan(prev_selected_t)+gte(t-prev_selected_t\,5)',scale=160:90,tile=5x5"
> -qscale:v 3 -y %02d_sheet.jpg
>
> Can anyone help?
> ___
> 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