[FFmpeg-user] DPX to jp2 encoding
Rajendran Krishnan
rajendran_t_k at yahoo.co.in
Wed May 28 14:46:59 CEST 2014
Hi,
I converted a DPX file as advised and the output file is created but I'm unable to view my command line is given below.
C:\ffmpeg\bin>ffmpeg.exe -i
F:\test\src\RL01_0000001.dpx -vcodec ffv1 -level 1 -coder 1 -context 1 -g 1
F:\test\src\test.jp2
ffmpeg version N-57307-g23c0698 Copyright (c)
2000-2013 the FFmpeg developers
built on
Oct 21 2013 18:02:05 with gcc 4.8.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avisynth --enable-bzlib --enable-fontconfig --enable
-frei0r --enable-gnutls --enable-iconv
--enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype
--enable-libgsm --
enable-libilbc --enable-libmodplug
--enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libopenjpeg
--enable-libopus --enable-librtmp
--enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora
--enable-libtwola
me --enable-libvidstab --enable-libvo-aacenc
--enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack
--enab
le-libx264 --enable-libxavs --enable-libxvid
--enable-zlib
libavutil 52. 47.101 / 52.
47.101
libavcodec 55. 37.102 / 55. 37.102
libavformat 55. 19.103 / 55.
19.103
libavdevice 55. 4.100 / 55.
4.100
libavfilter 3. 89.100 / 3. 89.100
libswscale 2. 5.101 /
2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52.
3.100
Input #0, image2, from
'F:\test\src\RL01_0000001.dpx':
Duration:
00:00:00.04, start: 0.000000, bitrate: N/A
Stream
#0:0: Video: dpx, gray16be, 1920x1080 [SAR 1:1 DAR 16:9], 25 tbr, 25 tbn, 25
tbc
Output #0, image2, to 'F:\test\src\test.jp2':
Metadata:
encoder : Lavf55.19.103
Stream
#0:0: Video: ffv1, gray16le, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s,
90k tbn, 25 tbc
Stream mapping:
Stream
#0:0 -> #0:0 (dpx -> ffv1)
Press [q] to stop, [?] for help
frame= 1
fps=0.0 q=-1.0 Lsize=N/A time=00:00:00.04 bitrate=N/A
video:1183kB audio:0kB subtitle:0 global
headers:0kB muxing overhead -100.001816%
Since I'm unable to open the output file test.jp2 I have tired to probe with ffmpeg and it is throwing error
For Reverse Process
C:\ffmpeg\bin>ffmpeg.exe -i
F:\test\src\test12.jp2 -vcodec dpx F:\test\src\test.dpx
ffmpeg version N-57307-g23c0698 Copyright (c)
2000-2013 the FFmpeg developers
built on
Oct 21 2013 18:02:05 with gcc 4.8.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avisynth --enable-bzlib --enable-fontconfig --enable
-frei0r --enable-gnutls --enable-iconv
--enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype
--enable-libgsm --
enable-libilbc --enable-libmodplug
--enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libopenjpeg
--enable-libopus --enable-librtmp
--enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora
--enable-libtwola
me --enable-libvidstab --enable-libvo-aacenc
--enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack
--enab
le-libx264 --enable-libxavs --enable-libxvid
--enable-zlib
libavutil 52. 47.101 / 52.
47.101
libavcodec 55. 37.102 / 55.
37.102
libavformat 55. 19.103 / 55.
19.103
libavdevice 55. 4.100 / 55.
4.100
libavfilter 3. 89.100 / 3. 89.100
libswscale 2.
5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52.
3.100
[jpeg2000 @ 02497e20] unsupported
marker 0xD2B7 at pos 0x182B
[jpeg2000 @ 02497e20] unsupported
marker 0xA7C9 at pos 0xCF43
[jpeg2000 @ 02497e20] unsupported
marker 0xE72A at pos 0x16832
[jpeg2000 @ 02497e20] unsupported
marker 0xD739 at pos 0x193B2
[jpeg2000 @ 02497e20] unsupported
marker 0x8B08 at pos 0x1E5E0
[jpeg2000 @ 02497e20] unsupported
marker 0xEAA5 at pos 0x2C23B
[jpeg2000 @ 02497e20] unsupported
marker 0x9A4A at pos 0x344B7
[jpeg2000 @ 02497e20] unsupported
marker 0x2E9D at pos 0x3C6EF
[jpeg2000 @ 02497e20] unsupported
marker 0x2182 at pos 0x45DD3
[jpeg2000 @ 02497e20] unsupported
marker 0x77FC at pos 0x50969
[jpeg2000 @ 02497e20] unsupported
marker 0xC7EF at pos 0x5BE45
[jpeg2000 @ 02497e20] unsupported
marker 0xFCAA at pos 0x6A612
[jpeg2000 @ 02497e20] unsupported
marker 0x12D3 at pos 0x7712E
[jpeg2000 @ 02497e20] unsupported
marker 0xC1EE at pos 0x783BD
[jpeg2000 @ 02497e20] unsupported
marker 0x4350 at pos 0x85D6D
[jpeg2000 @ 02497e20] unsupported
marker 0x5084 at pos 0x8BB87
[jpeg2000 @ 02497e20] unsupported
marker 0xED7E at pos 0x8FAC3
[jpeg2000 @ 02497e20] unsupported
marker 0xC5AF at pos 0x93105
[jpeg2000 @ 02497e20] unsupported
marker 0x86D7 at pos 0x9EFB0
[jpeg2000 @ 02497e20] unsupported
marker 0xB8B7 at pos 0xA0899
[jpeg2000 @ 02497e20] unsupported
marker 0xE72D at pos 0xAA9F4
[jpeg2000 @ 02497e20] unsupported
marker 0xAE0E at pos 0xACDCE
[jpeg2000 @ 02497e20] unsupported
marker 0x38DE at pos 0xB111E
[jpeg2000 @ 02497e20] unsupported
marker 0x1A16 at pos 0xB3518
[jpeg2000 @ 02497e20] unsupported
marker 0x0AEB at pos 0xBA33E
[jpeg2000 @ 02497e20] unsupported
marker 0xAF82 at pos 0xC1D9C
[jpeg2000 @ 02497e20] unsupported
marker 0xD65A at pos 0xC70EF
[jpeg2000 @ 02497e20] unsupported
marker 0x9ADB at pos 0xCA8F0
[jpeg2000 @ 02497e20] unsupported
marker 0x7D81 at pos 0xCDB53
[jpeg2000 @ 02497e20] unsupported
marker 0xD88A at pos 0xD39B9
[jpeg2000 @ 02497e20] unsupported
marker 0x5C15 at pos 0xD7227
[jpeg2000 @ 02497e20] unsupported
marker 0x09F7 at pos 0xE7192
[jpeg2000 @ 02497e20] unsupported
marker 0x4953 at pos 0xE7A10
[jpeg2000 @ 02497e20] unsupported
marker 0x1E00 at pos 0xE7B85
[jpeg2000 @ 02497e20] unsupported
marker 0xC959 at pos 0xF5E7D
[jpeg2000 @ 02497e20] unsupported
marker 0x3096 at pos 0xFA730
[jpeg2000 @ 02497e20] unsupported
marker 0x1A8E at pos 0x10548B
[jpeg2000 @ 02497e20] unsupported
marker 0xCD4E at pos 0x10E7CF
[jpeg2000 @ 02497e20] unsupported
marker 0x0E02 at pos 0x11D809
[image2 @ 031f07e0] decoding for stream
0 failed
[image2 @ 031f07e0] Could not find codec
parameters for stream 0 (Video: jpeg2000): unspecified size
Consider increasing the value for the 'analyzeduration'
and 'probesize' options
F:\test\src\test12.jp2: could not find codec
parameters
let me know what could be the problem?
Thanks
K.Raj
On Wednesday, 28 May 2014 3:08 AM, Peter B. <pb at das-werkstatt.com> wrote:
On 05/27/2014 06:18 PM, Dave Rice wrote:
> Also note that libopenjpeg is slow compared to other lossless codecs in ffmpeg. I tested dpx->libopenjpeg and dpx->ffv1 and ffv1 was about 10 times faster at getting a lossless result.
I can confirm that.
I've posted some test-results, comparing different lossless codecs
available in FFmpeg (including libopenjpeg):
http://download.das-werkstatt.com/pb/mthk/info/video/comparison_video_codecs_containers.html#codec_tests
Regards,
Pb
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
More information about the ffmpeg-user
mailing list