[FFmpeg-trac] #5691(avcodec:open): jpeg-ls needs seekable input (was: jpeg-ls transmission through tcp error)

FFmpeg trac at avcodec.org
Mon Jul 4 18:00:36 CEST 2016


#5691: jpeg-ls needs seekable input
------------------------------------+-----------------------------------
             Reporter:  akasyanov   |                    Owner:
                 Type:  defect      |                   Status:  open
             Priority:  normal      |                Component:  avcodec
              Version:  git-master  |               Resolution:
             Keywords:  jpegls      |               Blocked By:
             Blocking:              |  Reproduced by developer:  1
Analyzed by developer:  0           |
------------------------------------+-----------------------------------
Changes (by cehoyos):

 * status:  new => open
 * reproduced:  0 => 1
 * component:  ffmpeg => avcodec
 * version:  2.4.11 => git-master
 * keywords:  jpeg-ls, tcp, image2pipe => jpegls


Comment:

 I suspect that the following issue is reported, not really a regression,
 only the resolution detection used to work, the output was broken, ancient
 FFmpeg used to hang:
 {{{
 $ cat result.jls|ffmpeg -i - out.png
 ffmpeg version N-80907-g64c6193 Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl
   libavutil      55. 28.100 / 55. 28.100
   libavcodec     57. 48.101 / 57. 48.101
   libavformat    57. 41.100 / 57. 41.100
   libavdevice    57.  0.102 / 57.  0.102
   libavfilter     6. 47.100 /  6. 47.100
   libswscale      4.  1.100 /  4.  1.100
   libswresample   2.  1.100 /  2.  1.100
   libpostproc    54.  0.100 / 54.  0.100
 [jpegls_pipe @ 0x22723a0] Could not find codec parameters for stream 0
 (Video: jpegls, none(bt470bg/unknown/unknown)): unspecified size
 Consider increasing the value for the 'analyzeduration' and 'probesize'
 options
 Input #0, jpegls_pipe, from 'pipe:':
   Duration: N/A, bitrate: N/A
     Stream #0:0: Video: jpegls, none(bt470bg/unknown/unknown), 25 tbr, 25
 tbn, 25 tbc
 Output #0, image2, to 'out.png':
 Output file #0 does not contain any stream
 }}}
 {{{
 $ cat result.jls|ffmpeg -f image2pipe -vcodec jpegls -i - out.png
 ffmpeg version N-80907-g64c6193 Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl
   libavutil      55. 28.100 / 55. 28.100
   libavcodec     57. 48.101 / 57. 48.101
   libavformat    57. 41.100 / 57. 41.100
   libavdevice    57.  0.102 / 57.  0.102
   libavfilter     6. 47.100 /  6. 47.100
   libswscale      4.  1.100 /  4.  1.100
   libswresample   2.  1.100 /  2.  1.100
   libpostproc    54.  0.100 / 54.  0.100
 [image2pipe @ 0x398c460] Could not find codec parameters for stream 0
 (Video: jpegls, none(bt470bg/unknown/unknown)): unspecified size
 Consider increasing the value for the 'analyzeduration' and 'probesize'
 options
 Input #0, image2pipe, from 'pipe:':
   Duration: N/A, bitrate: N/A
     Stream #0:0: Video: jpegls, none(bt470bg/unknown/unknown), 25 tbr, 25
 tbn, 25 tbc
 Output #0, image2, to 'out.png':
 Output file #0 does not contain any stream
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5691#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list