[FFmpeg-user] Ffmpeg conversion from JPEG-SOF3(lossless) to JPEG-LS(lossless) cuts the image after some kB
Steffen Knoll
steffen.knoll at pergamonmed.com
Fri Aug 26 14:08:43 EEST 2016
Console output:
ffmpeg -y -i C:\Users\sknoll\Desktop\big.sof3 -vcodec jpegls -q:v 0 test.jls
ffmpeg version N-81342-gb93e223 Copyright (c) 2000-2016 the FFmpeg
developers
built with gcc 5.4.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth
--enable-bzlib --enable-libebur128 --enable-fontconfig --enable-frei0r
--enable-gnutls --enable-iconv --enable-libass --enable-libbluray
--enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme
--enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libopenjpeg --enable-libopus --enable-librtmp
--enable-libschroedinger --enable-libsnappy --enable-libsoxr
--enable-libspeex --enable-libtheora --enable-libtwolame
--enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis
--enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264
--enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg
--enable-lzma --enable-decklink --enable-zlib
libavutil 55. 28.100 / 55. 28.100
libavcodec 57. 51.102 / 57. 51.102
libavformat 57. 46.101 / 57. 46.101
libavdevice 57. 0.102 / 57. 0.102
libavfilter 6. 51.100 / 6. 51.100
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 1.100 / 2. 1.100
libpostproc 54. 0.100 / 54. 0.100
Input #0, jpeg_pipe, from 'C:\Users\sknoll\Desktop\big.sof3':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: mjpeg, gray16le(bt470bg/unknown/unknown),
512x512, lossless, 25 tbr, 25 tbn, 25 tbc
[image2 @ 00000000006a5600] Using AVStream.codec to pass codec
parameters to muxers is deprecated, use AVStream.codecpar instead.
Output #0, image2, to 'test.jls':
Metadata:
encoder : Lavf57.46.101
Stream #0:0: Video: jpegls, gray16le, 512x512, q=2-31, 200 kb/s, 25
fps, 25 tbn, 25 tbc
Metadata:
encoder : Lavc57.51.102 jpegls
Stream mapping:
Stream #0:0 -> #0:0 (mjpeg (native) -> jpegls (native))
Press [q] to stop, [?] for help
[mjpeg @ 00000000006a7060] mjpeg_decode_dc: bad vlc: 0:0 (00000000006a4f20)
frame= 1 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.04 bitrate=N/A speed=
8.8x
video:5kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: unknown
Unfortunately I didn't find any library that can handle SOF-3 Jpegs.
Sorry for the fauxpas with the download link. It tricked me with a
cookie. I can download it.....
This should work now:
Original SOF-3: http://www12.zippyshare.com/v/EEcHv1R3/file.html
Converted LS: http://www12.zippyshare.com/v/sBr8u9Dz/file.html
Am 26.08.2016 um 12:48 schrieb Moritz Barsnick:
> On Fri, Aug 26, 2016 at 11:46:00 +0200, Steffen Knoll wrote:
>> I've used following command:
>> ffmpeg -y -i big.sof3 -vcodec jpegls -q:v 0 test.jls
> Would you please also post the complete, uncut console output of your
> command? Thanks.
>
> Have you tried any other tools? With what result?
>
>> However in the converted JPEG-LS the ScanData is only 5149 Bytes.
>> http://s000.tinyupload.com/?file_id=00054117486941883286
> How can I download the samples without a login and without having to
> install an extension?
>
> Moritz
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
--
best regards
Steffen Knoll
More information about the ffmpeg-user
mailing list