Opened 4 years ago

Closed 2 weeks ago

#4222 closed defect (wontfix)

ffmpeg fails to start.

Reported by: illumilore Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

$ ffmpeg -f alsa -itsoffset 0.1 -ar 24000 -i plughw:0 -f video4linux2 -input_format mjpeg -s 960x720 -r 5 -i /dev/video0 -map 0:a -map 1:v http://127.0.0.1:8090/cam.ffm -f segment -segment_time 3600 -segment_atclocktime 1 -r 5 -s 640x480 -reset_timestamps 1 -segment_list_flags live -vf "drawtext='fontfile=/usr/share/fonts/truetype/DejaVuSans.ttf:fontcolor=white:fontsize=30:x=1:y=2:shadowx=1:shadowy=1:text=%{localtime\:%Y-%m-%d %H

\:%M

\:%S}'" -segment_start_number 1242 /media/cam/test_%03d.avi
ffmpeg version 2.3.5 Copyright (c) 2000-2014 the FFmpeg developers

built on Jan 2 2015 09:03:59 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 --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
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

Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, alsa, from 'plughw:0':

Duration: N/A, start: 1420344868.544161, bitrate: 768 kb/s

Stream #0:0: Audio: pcm_s16le, 24000 Hz, 2 channels, s16, 768 kb/s

Input #1, video4linux2,v4l2, from '/dev/video0':

Duration: N/A, start: 2680.509634, bitrate: N/A

Stream #1:0: Video: mjpeg, yuvj422p(pc, bt470bg), 960x720, 0 kb/s, 5 fps, 5 tbr, 1000k tbn, 1000k tbc

[swscaler @ 0xab97a0] deprecated pixel format used, make sure you did set range correctly
[swscaler @ 0xb0f600] deprecated pixel format used, make sure you did set range correctly
[swscaler @ 0xb376e0] deprecated pixel format used, make sure you did set range correctly
[avi @ 0xe4cca0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead.

Last message repeated 1 times

Output #0, ffm, to 'http://127.0.0.1:8090/cam.ffm':

Metadata:

creation_time : now
encoder : Lavf55.48.100
Stream #0:0: Video: flv1 (flv), yuv420p, 960x720, q=5-15, 4000 kb/s, 5 fps, 1000k tbn, 5 tbc
Metadata:

encoder : Lavc55.69.100 flv

Stream #0:1: Video: mjpeg, yuvj422p, 960x720, q=1-5, 128 kb/s, 5 fps, 1000k tbn, 5 tbc
Metadata:

encoder : Lavc55.69.100 mjpeg

Stream #0:2: Video: mjpeg, yuvj422p, 480x320, q=10-20, 128 kb/s, 5 fps, 1000k tbn, 5 tbc
Metadata:

encoder : Lavc55.69.100 mjpeg

Output #1, segment, to '/media/cam/test_%03d.avi':

Metadata:

encoder : Lavf55.48.100
Stream #1:0: Video: mpeg4, yuv420p, 640x480, q=2-31, 200 kb/s, 5 fps, 5 tbn, 5 tbc
Metadata:

encoder : Lavc55.69.100 mpeg4

Stream #1:1: Audio: mp3 (libmp3lame), 24000 Hz, stereo, s16p
Metadata:

encoder : Lavc55.69.100 libmp3lame

Stream mapping:

Stream #1:0 -> #0:0 (mjpeg (native) -> flv1 (flv))
Stream #1:0 -> #0:1 (mjpeg (native) -> mjpeg (native))
Stream #1:0 -> #0:2 (mjpeg (native) -> mjpeg (native))
Stream #1:0 -> #1:0 (mjpeg (native) -> mpeg4 (native))
Stream #0:0 -> #1:1 (pcm_s16le (native) -> mp3 (libmp3lame))

Press [q] to stop, ? for help
[mjpeg @ 0xafef00] rc buffer underflow

Last message repeated 3 times

[libmp3lame @ 0xaf9ea0] Queue input is backward in time
frame= 5 fps=0.0 q=2.0 q=31.4 q=1.6 q=2.0 size= 124kB time=00:00:01.07 bitrate= 947.7k[mjpeg @ 0xafef00] rc buffer underflow

Last message repeated 1 times

[libmp3lame @ 0xaf9ea0] Queue input is backward in time
[segment @ 0xaf8560] Non-monotonous DTS in output stream 1:1; previous: 26301, current: 25269; changing to 26302. This may result in incorrect timestamps in the output file.
[avi @ 0xe4cca0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 46 >= 46
av_interleaved_write_frame(): Invalid argument
frame= 7 fps=0.0 q=2.0 Lq=31.4 q=1.6 q=2.0 size= 196kB time=00:00:01.40 bitrate=1146.9kbits/s
video:208kB audio:3kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Conversion failed!

Change History (1)

comment:1 Changed 2 weeks ago by richardpl

  • Resolution set to wontfix
  • Status changed from new to closed

The ffm have been removed.

Note: See TracTickets for help on using tickets.