Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - Directory contains set of .jp2 files from 01_2a_0000155.jp2 to 01_2a_0000542.jp2
- - Images are from Blender Foundation's 'Tears of Steel' Open Movie DVD
- - mediainfo details for files:
- General
- Complete name : 01_2a_000155.jp2
- Format : JPEG 2000
- Format profile : MPEG-4
- Codec ID : jp2
- File size : 223 KiB
- Image
- Format : JPEG 2000
- Width : 1 920 pixels
- Height : 1 012 pixels
- Color space : RGB
- Chroma subsampling : 4:4:4:4
- Bit depth : 8 bits
- Compression mode : Lossless
- First test parameters:
- ffmpeg -f image2 -r 24 -start_number 155 -i 01_2a_00%04d.jp2 -c:v libx264 -vf scale=854:480 -pix_fmt yuv420p /home/paul/test.mp4
- - which gave this error:
- [image2 @ 0x2082520] Could not find codec parameters for stream 0 (Video: jpeg2000): unspecified size
- Consider increasing the value for the 'analyzeduration' and 'probesize' options
- 01_2a_00%04d.jp2: could not find codec parameters
- - Fixed by adding -s 1920x1012. Next error was:
- Unable to parse option value "-1" as pixel format
- Error opening filters!
- Not sure what to try next. Adding -pix_fmt rgba doesn't help although 'rgba' might not be the correct value to use.
- Most recent ffmpeg params:
- ffmpeg -f image2 -r 24 -s 1920x1012 -pix_fmt rgba -start_number 155 -i 01_2a_00%04d.jp2 -c:v libx264 -vf scale=854:480 -pix_fmt yuv420p /home/paul/test.mp4
- and the subsequent error:
- ffmpeg version 1.0.5 Copyright (c) 2000-2012 the FFmpeg developers
- built on Mar 8 2013 22:07:43 with gcc 4.7 (SUSE Linux)
- configuration: --shlibdir=/usr/lib64 --prefix=/usr --mandir=/usr/share/man --libdir=/usr/lib64 --enable-shared --disable-static --enable-debug --disable-stripping --extra-cflags='-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -fPIC -I/usr/include/gsm' --enable-gpl --enable-x11grab --enable-version3 --enable-pthreads --enable-avfilter --enable-libpulse --enable-libvpx --enable-libopus --enable-libass --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libxvid --enable-libx264 --enable-libschroedinger --enable-libgsm --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-postproc --enable-libdc1394 --enable-librtmp --enable-libfreetype --enable-avresample --enable-libtwolame --enable-libvo-aacenc
- libavutil 51. 73.101 / 51. 73.101
- libavcodec 54. 59.100 / 54. 59.100
- libavformat 54. 29.104 / 54. 29.104
- libavdevice 54. 2.101 / 54. 2.101
- libavfilter 3. 17.100 / 3. 17.100
- libswscale 2. 1.101 / 2. 1.101
- libswresample 0. 15.100 / 0. 15.100
- libpostproc 52. 0.100 / 52. 0.100
- [NULL @ 0x1b1a880] Codec is experimental but experimental codecs are not enabled, try -strict -2
- Input #0, image2, from '01_2a_00%04d.jp2':
- Duration: 00:00:16.16, start: 0.000000, bitrate: N/A
- Stream #0:0: Video: jpeg2000, rgba, 1920x1012, 24 fps, 24 tbr, 24 tbn, 24 tbc
- [libx264 @ 0x1b152a0] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
- [libx264 @ 0x1b152a0] profile High, level 3.0
- [libx264 @ 0x1b152a0] 264 - core 129 - H.264/MPEG-4 AVC codec - Copyleft 2003-2013 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=24 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
- [NULL @ 0x1b1a880] Codec is experimental but experimental codecs are not enabled, try -strict -2
- Output #0, mp4, to '/home/paul/test.mp4':
- Stream #0:0: Video: h264, yuv420p, 854x480, q=-1--1, 90k tbn, 24 tbc
- Stream mapping:
- Stream #0:0 -> #0:0 (j2k -> libx264)
- Error while opening decoder for input stream #0:0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement