[FFmpeg-user] Trying to Motion JPEG to segmented video, but "Non-increasing DTS in stream 0" forever
Renato Santos
renato.cron at gmail.com
Sun Mar 2 19:35:52 CET 2014
Hello Carl,
I tested
/home/renato/ffmpeg/ffmpeg-HEAD-e2742d6/ffmpeg -loglevel debug
-use_wallclock_as_timestamps 1 *-user-agent 'foobar' -i
'http://141.89.114.58/cgi-bin/video320x240.mjpg
<http://141.89.114.58/cgi-bin/video320x240.mjpg>'* -force_key_frames
'expr:gte(t,n_forced*10)' -map 0 -an -codec:v libx264 -pix_fmt yuv420p
-profile main -preset ultrafast -r 8 -f segment -segment_time 20
-segment_list /tmp/segment.csv -reset_timestamps 1 -segment_time_delta
0.05 /tmp/hmm%09d.mp4
and it worked fine, it autoselected
[mjpeg @ 0xabe9fc0] Format mjpeg probed with size=2048 and score=50
And everthing works:
[mjpeg @ 0xabe9fc0] Before avformat_find_stream_info() pos: 0 bytes
read:4419 seeks:0
[mjpeg @ 0xabec160] marker=d8 avail_size_in_buf=9119
[mjpeg @ 0xabec160] marker parser used 0 bytes (0 bits)
[mjpeg @ 0xabec160] marker=fe avail_size_in_buf=9117
[mjpeg @ 0xabec160] marker parser used 40 bytes (320 bits)
[mjpeg @ 0xabec160] marker=db avail_size_in_buf=9075
[mjpeg @ 0xabec160] index=0
[mjpeg @ 0xabec160] qscale[0]: 7
[mjpeg @ 0xabec160] marker parser used 67 bytes (536 bits)
[mjpeg @ 0xabec160] marker=db avail_size_in_buf=9006
[mjpeg @ 0xabec160] index=1
[mjpeg @ 0xabec160] qscale[1]: 14
[mjpeg @ 0xabec160] marker parser used 67 bytes (536 bits)
[mjpeg @ 0xabec160] marker=c0 avail_size_in_buf=8937
[mjpeg @ 0xabec160] sof0: picture: 320x240
[mjpeg @ 0xabec160] component 0 2:1 id: 0 quant:0
[mjpeg @ 0xabec160] component 1 1:1 id: 1 quant:1
[mjpeg @ 0xabec160] component 2 1:1 id: 2 quant:1
[mjpeg @ 0xabec160] pix fmt id 21111100
[mjpeg @ 0xabec160] marker parser used 17 bytes (136 bits)
[mjpeg @ 0xabec160] marker=c4 avail_size_in_buf=8918
[mjpeg @ 0xabec160] class=0 index=0 nb_codes=12
[mjpeg @ 0xabec160] marker parser used 31 bytes (248 bits)
[mjpeg @ 0xabec160] marker=c4 avail_size_in_buf=8885
[mjpeg @ 0xabec160] class=1 index=0 nb_codes=251
[mjpeg @ 0xabec160] marker parser used 181 bytes (1448 bits)
[mjpeg @ 0xabec160] marker=c4 avail_size_in_buf=8702
[mjpeg @ 0xabec160] class=0 index=1 nb_codes=12
[mjpeg @ 0xabec160] marker parser used 31 bytes (248 bits)
[mjpeg @ 0xabec160] marker=c4 avail_size_in_buf=8669
[mjpeg @ 0xabec160] class=1 index=1 nb_codes=251
[mjpeg @ 0xabec160] marker parser used 181 bytes (1448 bits)
[mjpeg @ 0xabec160] escaping removed 53 bytes
[mjpeg @ 0xabec160] marker=da avail_size_in_buf=8486
[mjpeg @ 0xabec160] component: 0
[mjpeg @ 0xabec160] component: 1
[mjpeg @ 0xabec160] component: 2
[mjpeg @ 0xabec160] marker parser used 8432 bytes (67450 bits)
[mjpeg @ 0xabec160] marker=d9 avail_size_in_buf=41
[mjpeg @ 0xabec160] decode frame unused 41 bytes
[mjpeg @ 0xabe9fc0] All info found
[mjpeg @ 0xabe9fc0] After avformat_find_stream_info() pos: 10184 bytes
read:10620 seeks:0 frames:1
Input #0, mjpeg, from 'http://141.89.114.58/cgi-bin/video320x240.mjpg':
Duration: N/A, start: 1393728740.140910, bitrate: N/A
Stream #0:0, 1, 1/1200000: Video: mjpeg, yuvj422p(pc), 320x240, 1/25,
25 tbr, 1200k tbn, 25 tbc
... lots of input,
But when I use another camera model (sorry but I don't have it online, only
local, but its a M801W similar one), it didint work.
Chrome play the mjpeg stream fine, but ffmpeg send a Invalid data found
when processing input
/home/renato/ffmpeg/ffmpeg-HEAD-e2742d6/ffmpeg -loglevel debug
-use_wallclock_as_timestamps 1 -user-agent 'foobar' -i '
http://192.168.0.123/snapshot.cgi?user=admin&pwd=' -force_key_frames
'expr:gte(t,n_forced*10)' -map 0 -an -codec:v libx264 -pix_fmt yuv420p
-profile main -preset ultrafast -r 8 -f segment -segment_time 20
-segment_list /tmp/segment.csv -reset_timestamps 1 -segment_time_delta
0.05 /tmp/hmm%09d.mp4
ffmpeg version 2.1.git-e2742d6 Copyright (c) 2000-2013 the FFmpeg developers
built on Dec 16 2013 13:41:29 with gcc 4.7 (Ubuntu/Linaro 4.7.2-2ubuntu1)
configuration: --enable-gpl --enable-libx264 --prefix='~/ffmpeg/'
libavutil 52. 58.100 / 52. 58.100
libavcodec 55. 45.101 / 55. 45.101
libavformat 55. 22.100 / 55. 22.100
libavdevice 55. 5.102 / 55. 5.102
libavfilter 3. 92.100 / 3. 92.100
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100
Splitting the commandline.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging
level) with argument 'debug'.
Reading option '-use_wallclock_as_timestamps' ... matched as AVOption
'use_wallclock_as_timestamps' with argument '1'.
Reading option '-user-agent' ... matched as AVOption 'user-agent' with
argument 'foobar'.
Reading option '-i' ... matched as input file with argument '
http://192.168.0.123/snapshot.cgi?user=admin&pwd='.
Reading option '-force_key_frames' ... matched as option 'force_key_frames'
(force key frames at specified timestamps) with argument
'expr:gte(t,n_forced*10)'.
Reading option '-map' ... matched as option 'map' (set input stream
mapping) with argument '0'.
Reading option '-an' ... matched as option 'an' (disable audio) with
argument '1'.
Reading option '-codec:v' ... matched as option 'codec' (codec name) with
argument 'libx264'.
Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel
format) with argument 'yuv420p'.
Reading option '-profile' ... matched as option 'profile' (set profile)
with argument 'main'.
Reading option '-preset' ... matched as AVOption 'preset' with argument
'ultrafast'.
Reading option '-r' ... matched as option 'r' (set frame rate (Hz value,
fraction or abbreviation)) with argument '8'.
Reading option '-f' ... matched as option 'f' (force format) with argument
'segment'.
Reading option '-segment_time' ... matched as AVOption 'segment_time' with
argument '20'.
Reading option '-segment_list' ... matched as AVOption 'segment_list' with
argument '/tmp/segment.csv'.
Reading option '-reset_timestamps' ... matched as AVOption
'reset_timestamps' with argument '1'.
Reading option '-segment_time_delta' ... matched as AVOption
'segment_time_delta' with argument '0.05'.
Reading option '/tmp/hmm%09d.mp4' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input file
http://192.168.0.123/snapshot.cgi?user=admin&pwd=.
Successfully parsed a group of options.
Opening an input file: http://192.168.0.123/snapshot.cgi?user=admin&pwd=.
[http @ 0xaac0660] request: GET /snapshot.cgi?user=admin&pwd= HTTP/1.1
User-Agent: foobar
Accept: */*
Range: bytes=0-
Connection: close
Host: 192.168.0.123
[http @ 0xaac0660] header='HTTP/1.1 200 OK'
[http @ 0xaac0660] http_code=200
[http @ 0xaac0660] header='Server: Netwave IP Camera'
[http @ 0xaac0660] header='Date: Thu, 01 Jan 1970 05:16:24 GMT'
[http @ 0xaac0660] header='Content-Type: image/jpeg'
[http @ 0xaac0660] header='Content-Length: 29132'
[http @ 0xaac0660] header='Content-disposition:
filename="snapshot_006E061CCB8A_19700101051624.jpg"'
[http @ 0xaac0660] header='Connection: close'
[http @ 0xaac0660] header=''
[AVIOContext @ 0xaac04e0] Statistics: 29132 bytes read, 0 seeks
http://192.168.0.123/snapshot.cgi?user=admin&pwd=: Invalid data found when
processing input
And now I found that i forgot to say the format, so I also tried:
/home/renato/ffmpeg/ffmpeg-HEAD-e2742d6/ffmpeg -loglevel debug
-use_wallclock_as_timestamps 1 -user-agent 'foobar' -f mjpeg -i '
http://192.168.0.123/snapshot.cgi?user=admin&pwd=' -force_key_frames
'expr:gte(t,n_forced*10)' -map 0 -an -codec:v libx264 -pix_fmt yuv420p
-profile main -preset ultrafast -r 8 -f segment -segment_time 20
-segment_list /tmp/segment.csv -reset_timestamps 1 -segment_time_delta
0.05 /tmp/hmmx%09d.mp4
ffmpeg version 2.1.git-e2742d6 Copyright (c) 2000-2013 the FFmpeg developers
built on Dec 16 2013 13:41:29 with gcc 4.7 (Ubuntu/Linaro 4.7.2-2ubuntu1)
configuration: --enable-gpl --enable-libx264 --prefix='~/ffmpeg/'
libavutil 52. 58.100 / 52. 58.100
libavcodec 55. 45.101 / 55. 45.101
libavformat 55. 22.100 / 55. 22.100
libavdevice 55. 5.102 / 55. 5.102
libavfilter 3. 92.100 / 3. 92.100
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100
Splitting the commandline.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging
level) with argument 'debug'.
Reading option '-use_wallclock_as_timestamps' ... matched as AVOption
'use_wallclock_as_timestamps' with argument '1'.
Reading option '-user-agent' ... matched as AVOption 'user-agent' with
argument 'foobar'.
Reading option '-f' ... matched as option 'f' (force format) with argument
'mjpeg'.
Reading option '-i' ... matched as input file with argument '
http://192.168.0.123/snapshot.cgi?user=admin&pwd='.
Reading option '-force_key_frames' ... matched as option 'force_key_frames'
(force key frames at specified timestamps) with argument
'expr:gte(t,n_forced*10)'.
Reading option '-map' ... matched as option 'map' (set input stream
mapping) with argument '0'.
Reading option '-an' ... matched as option 'an' (disable audio) with
argument '1'.
Reading option '-codec:v' ... matched as option 'codec' (codec name) with
argument 'libx264'.
Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel
format) with argument 'yuv420p'.
Reading option '-profile' ... matched as option 'profile' (set profile)
with argument 'main'.
Reading option '-preset' ... matched as AVOption 'preset' with argument
'ultrafast'.
Reading option '-r' ... matched as option 'r' (set frame rate (Hz value,
fraction or abbreviation)) with argument '8'.
Reading option '-f' ... matched as option 'f' (force format) with argument
'segment'.
Reading option '-segment_time' ... matched as AVOption 'segment_time' with
argument '20'.
Reading option '-segment_list' ... matched as AVOption 'segment_list' with
argument '/tmp/segment.csv'.
Reading option '-reset_timestamps' ... matched as AVOption
'reset_timestamps' with argument '1'.
Reading option '-segment_time_delta' ... matched as AVOption
'segment_time_delta' with argument '0.05'.
Reading option '/tmp/hmmx%09d.mp4' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input file
http://192.168.0.123/snapshot.cgi?user=admin&pwd=.
Applying option f (force format) with argument mjpeg.
Successfully parsed a group of options.
Opening an input file: http://192.168.0.123/snapshot.cgi?user=admin&pwd=.
[http @ 0xaf86640] request: GET /snapshot.cgi?user=admin&pwd= HTTP/1.1
User-Agent: foobar
Accept: */*
Range: bytes=0-
Connection: close
Host: 192.168.0.123
[http @ 0xaf86640] header='HTTP/1.1 200 OK'
[http @ 0xaf86640] http_code=200
[http @ 0xaf86640] header='Server: Netwave IP Camera'
[http @ 0xaf86640] header='Date: Thu, 01 Jan 1970 05:19:07 GMT'
[http @ 0xaf86640] header='Content-Type: image/jpeg'
[http @ 0xaf86640] header='Content-Length: 29144'
[http @ 0xaf86640] header='Content-disposition:
filename="snapshot_006E061CCB8A_19700101051907.jpg"'
[http @ 0xaf86640] header='Connection: close'
[http @ 0xaf86640] header=''
[mjpeg @ 0xaf85f80] Before avformat_find_stream_info() pos: 0 bytes
read:1448 seeks:0
[mjpeg @ 0xaf90140] marker=d8 avail_size_in_buf=29142
[mjpeg @ 0xaf90140] marker parser used 0 bytes (0 bits)
[mjpeg @ 0xaf90140] marker=e0 avail_size_in_buf=29140
[mjpeg @ 0xaf90140] marker parser used 18 bytes (144 bits)
[mjpeg @ 0xaf90140] marker=c0 avail_size_in_buf=29119
[mjpeg @ 0xaf90140] sof0: picture: 640x480
[mjpeg @ 0xaf90140] component 0 2:1 id: 0 quant:0
[mjpeg @ 0xaf90140] component 1 1:1 id: 1 quant:1
[mjpeg @ 0xaf90140] component 2 1:1 id: 2 quant:1
[mjpeg @ 0xaf90140] pix fmt id 21111100
[mjpeg @ 0xaf90140] marker parser used 17 bytes (136 bits)
[mjpeg @ 0xaf90140] marker=db avail_size_in_buf=29100
[mjpeg @ 0xaf90140] index=0
[mjpeg @ 0xaf90140] qscale[0]: 4
[mjpeg @ 0xaf90140] index=1
[mjpeg @ 0xaf90140] qscale[1]: 8
[mjpeg @ 0xaf90140] marker parser used 132 bytes (1056 bits)
[mjpeg @ 0xaf90140] marker=c4 avail_size_in_buf=28966
[mjpeg @ 0xaf90140] class=0 index=0 nb_codes=12
[mjpeg @ 0xaf90140] class=1 index=0 nb_codes=251
[mjpeg @ 0xaf90140] class=0 index=1 nb_codes=12
[mjpeg @ 0xaf90140] class=1 index=1 nb_codes=251
[mjpeg @ 0xaf90140] marker parser used 418 bytes (3344 bits)
[mjpeg @ 0xaf90140] escaping removed 76 bytes
[mjpeg @ 0xaf90140] marker=da avail_size_in_buf=28546
[mjpeg @ 0xaf90140] component: 0
[mjpeg @ 0xaf90140] component: 1
[mjpeg @ 0xaf90140] component: 2
[mjpeg @ 0xaf90140] marker parser used 28468 bytes (227739 bits)
[mjpeg @ 0xaf90140] marker=d9 avail_size_in_buf=2
[mjpeg @ 0xaf90140] decode frame unused 2 bytes
[mjpeg @ 0xaf85f80] All info found
[mjpeg @ 0xaf85f80] After avformat_find_stream_info() pos: 29144 bytes
read:29144 seeks:0 frames:1
Input #0, mjpeg, from 'http://192.168.0.123/snapshot.cgi?user=admin&pwd=':
Duration: N/A, start: 1393785285.541950, bitrate: N/A
Stream #0:0, 1, 1/1200000: Video: mjpeg, yuvj422p(pc), 640x480, 1/25,
25 tbr, 1200k tbn, 25 tbc
Successfully opened the file.
Parsing a group of options: output file /tmp/hmmx%09d.mp4.
Applying option force_key_frames (force key frames at specified timestamps)
with argument expr:gte(t,n_forced*10).
Applying option map (set input stream mapping) with argument 0.
Applying option an (disable audio) with argument 1.
Applying option codec:v (codec name) with argument libx264.
Applying option pix_fmt (set pixel format) with argument yuv420p.
Applying option profile (set profile) with argument main.
Please use -profile:a or -profile:v, -profile is ambiguous
Applying option r (set frame rate (Hz value, fraction or abbreviation))
with argument 8.
Applying option f (force format) with argument segment.
Successfully parsed a group of options.
Opening an output file: /tmp/hmmx%09d.mp4.
Successfully opened the file.
detected 8 logical cores
[graph 0 input from stream 0:0 @ 0xaf91860] Setting 'video_size' to value
'640x480'
[graph 0 input from stream 0:0 @ 0xaf91860] Setting 'pix_fmt' to value '13'
[graph 0 input from stream 0:0 @ 0xaf91860] Setting 'time_base' to value
'1/1200000'
[graph 0 input from stream 0:0 @ 0xaf91860] Setting 'pixel_aspect' to value
'0/1'
[graph 0 input from stream 0:0 @ 0xaf91860] Setting 'sws_param' to value
'flags=2'
[graph 0 input from stream 0:0 @ 0xaf91860] Setting 'frame_rate' to value
'25/1'
[graph 0 input from stream 0:0 @ 0xaf91860] w:640 h:480 pixfmt:yuvj422p
tb:1/1200000 fr:25/1 sar:0/1 sws_param:flags=2
[format @ 0xaf93140] compat: called with args=[yuv420p]
[format @ 0xaf93140] Setting 'pix_fmts' to value 'yuv420p'
[auto-inserted scaler 0 @ 0xaf93040] Setting 'flags' to value '0x4'
[auto-inserted scaler 0 @ 0xaf93040] w:iw h:ih flags:'0x4' interl:0
[format @ 0xaf93140] auto-inserting filter 'auto-inserted scaler 0' between
the filter 'Parsed_null_0' and the filter 'format'
[AVFilterGraph @ 0xaf7fea0] query_formats: 4 queried, 2 merged, 1 already
done, 0 delayed
[swscaler @ 0xaf800a0] deprecated pixel format used, make sure you did set
range correctly
[auto-inserted scaler 0 @ 0xaf93040] w:640 h:480 fmt:yuvj422p sar:0/1 ->
w:640 h:480 fmt:yuv420p sar:0/1 flags:0x4
[libx264 @ 0xaf912c0] using mv_range_thread = 24
[libx264 @ 0xaf912c0] using cpu capabilities: MMX2 SSE2Fast SSSE3
FastShuffle SSE4.2 AVX
[libx264 @ 0xaf912c0] profile Constrained Baseline, level 2.2
[libx264 @ 0xaf912c0] 264 - core 123 r2189 35cf912 - H.264/MPEG-4 AVC codec
- Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=0
ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00
mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11
fast_pskip=1 chroma_qp_offset=0 threads=12 sliced_threads=0 nr=0 decimate=1
interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0
keyint=250 keyint_min=8 scenecut=0 intra_refresh=0 rc=crf mbtree=0 crf=23.0
qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=0
[segment @ 0xaf90aa0] Selected stream id:0 type:video
Output #0, segment, to '/tmp/hmmx%09d.mp4':
Metadata:
encoder : Lavf55.22.100
Stream #0:0, 0, 1/90000: Video: h264 (libx264), yuv420p, 640x480, 1/8,
q=-1--1, 90k tbn, 8 tbc
Stream mapping:
Stream #0:0 -> #0:0 (mjpeg -> libx264)
Press [q] to stop, [?] for help
[mjpeg @ 0xaf90140] marker=d8 avail_size_in_buf=29142
[mjpeg @ 0xaf90140] marker parser used 0 bytes (0 bits)
[mjpeg @ 0xaf90140] marker=e0 avail_size_in_buf=29140
[mjpeg @ 0xaf90140] marker parser used 18 bytes (144 bits)
[mjpeg @ 0xaf90140] marker=c0 avail_size_in_buf=29119
[mjpeg @ 0xaf90140] sof0: picture: 640x480
[mjpeg @ 0xaf90140] component 0 2:1 id: 0 quant:0
[mjpeg @ 0xaf90140] component 1 1:1 id: 1 quant:1
[mjpeg @ 0xaf90140] component 2 1:1 id: 2 quant:1
[mjpeg @ 0xaf90140] pix fmt id 21111100
[mjpeg @ 0xaf90140] marker parser used 17 bytes (136 bits)
[mjpeg @ 0xaf90140] marker=db avail_size_in_buf=29100
[mjpeg @ 0xaf90140] index=0
[mjpeg @ 0xaf90140] qscale[0]: 4
[mjpeg @ 0xaf90140] index=1
[mjpeg @ 0xaf90140] qscale[1]: 8
[mjpeg @ 0xaf90140] marker parser used 132 bytes (1056 bits)
[mjpeg @ 0xaf90140] marker=c4 avail_size_in_buf=28966
[mjpeg @ 0xaf90140] class=0 index=0 nb_codes=12
[mjpeg @ 0xaf90140] class=1 index=0 nb_codes=251
[mjpeg @ 0xaf90140] class=0 index=1 nb_codes=12
[mjpeg @ 0xaf90140] class=1 index=1 nb_codes=251
[mjpeg @ 0xaf90140] marker parser used 418 bytes (3344 bits)
[mjpeg @ 0xaf90140] escaping removed 76 bytes
[mjpeg @ 0xaf90140] marker=da avail_size_in_buf=28546
[mjpeg @ 0xaf90140] component: 0
[mjpeg @ 0xaf90140] component: 1
[mjpeg @ 0xaf90140] component: 2
[mjpeg @ 0xaf90140] marker parser used 28468 bytes (227739 bits)
[mjpeg @ 0xaf90140] marker=d9 avail_size_in_buf=2
[mjpeg @ 0xaf90140] decode frame unused 2 bytes
Forced keyframe at time 0.000000
[output stream 0:0 @ 0xaf92260] EOF on sink link output stream 0:0:default.
No more output streams to write to, finishing.
[libx264 @ 0xaf912c0] frame= 0 QP=20.00 NAL=3 Slice:I Poc:0 I:1200 P:0
SKIP:0 size=34388 bytes
[segment @ 0xaf90aa0] segment:'/tmp/hmmx000000000.mp4' starts with packet
stream:0 pts:0 pts_time:0 frame:0
[segment @ 0xaf90aa0] stream:0 start_pts_time:0 pts:0 pts_time:0 dts:0
dts_time:0 -> pts:0 pts_time:0 dts:0 dts_time:0
[segment @ 0xaf90aa0] segment:'/tmp/hmmx000000000.mp4' count:0 ended
[AVIOContext @ 0xb904c20] Statistics: 30 seeks, 25 writeouts
[AVIOContext @ 0xb904600] Statistics: 0 seeks, 1 writeouts
frame= 1 fps=0.0 q=20.0 Lsize=N/A time=00:00:00.12 bitrate=N/A
video:34kB audio:0kB subtitle:0 global headers:0kB muxing overhead
-100.062854%
[libx264 @ 0xaf912c0] frame I:1 Avg QP:20.00 size: 34388
[libx264 @ 0xaf912c0] mb I I16..4: 100.0% 0.0% 0.0%
[libx264 @ 0xaf912c0] coded y,uvDC,uvAC intra: 94.0% 68.3% 36.8%
[libx264 @ 0xaf912c0] i16 v,h,dc,p: 44% 8% 26% 22%
[libx264 @ 0xaf912c0] i8c dc,h,v,p: 40% 18% 34% 8%
[libx264 @ 0xaf912c0] kb/s:2200.83
1 frames successfully decoded, 0 decoding errors
[AVIOContext @ 0xaf86540] Statistics: 29144 bytes read, 0 seeks
Cool, now it connected to the camera and save a one frame video,
* hmmx000000000.mp4*
I have to go now,
On Sun, Mar 2, 2014 at 2:56 PM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> Renato Santos <renato.cron <at> gmail.com> writes:
>
> > perl download_mjpg.pl | ffmpeg -use_wallclock_as_timestamps 1
> > -loglevel debug -f *image2pipe*
>
> There is no decoder autodetection for image2pipe, you
> have to specify mjpeg if that is what the images are.
> Why don't you let FFmpeg receive the stream (instead
> of using a perl script)?
>
> Carl Eugen
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
--
Saravá,
Renato CRON
http://www.renatocron.com/blog/
@renato_cron <http://twitter.com/#!/renato_cron>
More information about the ffmpeg-user
mailing list