[FFmpeg-trac] #4342(undetermined:new): ffserver selects wrong codec for jpeg format
FFmpeg
trac at avcodec.org
Mon Mar 2 03:23:56 CET 2015
#4342: ffserver selects wrong codec for jpeg format
-------------------------------------+-------------------------------------
Reporter: illumilore | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug: when using ffserver with format jpeg, the result is
that it will select the mjpeg codec instead of jpg.
How to reproduce:
{{{
% ffmpeg -i input ... output
ffmpeg version
built on ...
}}}
Patches should be submitted to the ffmpeg-devel mailing list and not this
bug tracker.
$ ffmpeg --version
ffmpeg version 2.3.6 Copyright (c) 2000-2014 the FFmpeg developers
built on Jan 18 2015 08:37:01 with gcc 4.8 (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 -grecord-gcc-switches -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 --datadir=/usr/share/ffmpeg --enable-avfilter --enable-
libpulse --enable-libvpx --enable-libopus --enable-libass --enable-libx265
--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 --enable-
gnutls --enable-frei0r --enable-libcdio
libavutil 52. 92.100 / 52. 92.100
libavcodec 55. 69.100 / 55. 69.100
libavformat 55. 48.100 / 55. 48.100
libavdevice 55. 13.102 / 55. 13.102
libavfilter 4. 11.100 / 4. 11.100
libavresample 1. 3. 0 / 1. 3. 0
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100
Unrecognized option '-version'.
Error splitting the argument list: Option not found
<Stream test.jpg>
Feed cam.ffm
Format jpeg
VideoFrameRate 2
VideoIntraOnly
VideoQmin 1
VideoQMax 5
VideoSize 960x720
NoAudio
Strict -1
</Stream>
From stat.html, stream 1 should be jpeg coded:
Feed cam.ffm
Stream type kbits/s codec Parameters
0 video 4000 flv 960x720, q=5-15, fps=5
1 video 64 mjpeg 960x720, q=1-5, fps=2
2 video 64 mjpeg 640x480, q=10-20, fps=2
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4342>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list