[FFmpeg-trac] #5691(ffmpeg:new): jpeg-ls transmission through tcp error
FFmpeg
trac at avcodec.org
Mon Jul 4 13:59:44 CEST 2016
#5691: jpeg-ls transmission through tcp error
-------------------------------------+-------------------------------------
Reporter: akasyanov | Type: defect
Status: new | Priority: normal
Component: ffmpeg | Version: 2.4.11
Keywords: jpeg-ls, | Blocked By:
tcp, image2pipe | Reproduced by developer: 0
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Hello. In the version 2.4.12 I'm trying to perform the next actions: in
the listen mode ffmpeg through tcp make the image record jpeg-ls format
into mkv file. The image is attached. We can transmit it through the nc:
{{{
cat result.jls | nc localhost 3333.
}}}
ffmpeg receive command is the following:
{{{
ffmpeg -y -f image2pipe -pix_fmt gray -video_size 1024x2048 -vcodec jpegls
-i tcp://localhost:3333?listen -vcodec libx264 -qp 0 video.mkv.
}}}
Problem:
{{{
Output #0, matroska, to 'video.mkv':
Metadata:
encoder : Lavf56.4.101
Stream #0:0, 0, 1/1000: Video: h264 (libx264) (H264 / 0x34363248),
yuv420p, 1024x2048, 1/25, q=-1--1, 25 fps, 1k tbn, 25 tbc
Metadata:
encoder : Lavc56.1.100 libx264
Stream mapping:
Stream #0:0 -> #0:0 (jpegls (native) -> h264 (libx264))
Press [q] to stop, [?] for help
tcp://localhost:3333?listen: Cannot allocate memory
}}}
If I use version 3.1.1 then:
{{{
Output #0, matroska, to 'video.mkv':
Metadata:
encoder : Lavf57.41.100
Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuvj444p(pc),
1024x2048, q=-1--1, 25 fps, 1k tbn, 25 tbc
Metadata:
encoder : Lavc57.48.101 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
Stream mapping:
Stream #0:0 -> #0:0 (jpegls (native) -> h264 (libx264))
Press [q] to stop, [?] for help
tcp://localhost:3333?listen: Invalid argument
frame= 0 fps=0.0 q=0.0 Lsize= 1kB time=00:00:00.00 bitrate=N/A
speed= 0x
video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: unknow
}}}
The current suggestion is - ffmpeg error.
P.S. If rawvideo used istead of image2pipe - it works.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5691>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list