[FFmpeg-user] R: Cannot generate a UDP stream of JPEG frames because there's no way to specify JPEG output if the output is not a file?
Marcello Antonucci
m.antonucci at ezness.it
Sun Jun 10 19:36:38 CEST 2012
Hi there,
here's the output:
-----------------
D:\ bin>ffmpeg -f dshow -i video="USB PC Camera (SN9C103)" -f image2
udp://10.1.3.11:5502
ffmpeg version N-41416-g718607b Copyright (c) 2000-2012 the FFmpeg
developers
built on Jun 8 2012 12:46:19 with gcc 4.6.3
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-runtime-cpudetect --enable-avisynth --enable-bzlib -
-enable-frei0r --enable-libass --enable-libcelt --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libfreetype --enabl
e-libgsm --enable-libmp3lame --enable-libnut --enable-libopenjpeg
--enable-librtmp --enable-libschroedinger --enable-libspeex --en
able-libtheora --enable-libutvideo --enable-libvo-aacenc
--enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --ena libavut
il 51. 56.100 / 51. 56.100
libavcodec 54. 25.100 / 54. 25.100
libavformat 54. 6.101 / 54. 6.101
libavdevice 54. 0.100 / 54. 0.100
libavfilter 2. 78.101 / 2. 78.101
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
[dshow @ 0208bdc0] Estimating duration from bitrate, this may be inaccurate
Input #0, dshow, from 'video=USB PC Camera (SN9C103)':
Duration: N/A, start: 19449.745000, bitrate: N/A
Stream #0:0: Video: rawvideo, bgr24, 320x240, 30 tbr, 10000k tbn, 30 tbc
[buffer @ 01fccf40] w:320 h:240 pixfmt:bgr24 tb:1/10000000 sar:0/1
sws_param:flags=2
[ffmpeg_buffersink @ 02088020] No opaque field provided
[format @ 02088240] auto-inserting filter 'auto-inserted scaler 0' between
the filter 'Parsed_null_0' and the filter 'format'
[auto-inserted scaler 0 @ 020885a0] w:320 h:240 fmt:bgr24 sar:0/1 -> w:320
h:240 fmt:yuvj420p sar:0/1 flags:0x4
Output #0, image2, to 'udp://10.1.3.11:5502':
Metadata:
encoder : Lavf54.6.101
Stream #0:0: Video: mjpeg, yuvj420p, 320x240, q=2-31, 200 kb/s, 90k tbn,
30 tbc
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo -> mjpeg)
Press [q] to stop, [?] for help
[image2 @ 01fc5960] Could not get frame filename number 2 from pattern
'udp://10.1.3.11:5502'
av_interleaved_write_frame(): Invalid argument
------------
Marcello
-----Messaggio originale-----
Da: ffmpeg-user-bounces at ffmpeg.org [mailto:ffmpeg-user-bounces at ffmpeg.org]
Per conto di Carl Eugen Hoyos
Inviato: domenica 10 giugno 2012 19:25
A: ffmpeg-user at ffmpeg.org
Oggetto: Re: [FFmpeg-user] Cannot generate a UDP stream of JPEG frames
because there's no way to specify JPEG output if the output is not a file?
Marcello Antonucci <m.antonucci <at> ezness.it> writes:
> ffmpeg -f dshow -c:v mjpeg -i video="(webcam name)" -c:v copy -bsf:v
> mjpeg2jpeg -f image2 udp://10.1.3.11:5502
Complete, uncut console output missing.
Does ffmpeg support sending jpg images over udp at all?
(I don't know.)
Carl Eugen
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
More information about the ffmpeg-user
mailing list