Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ffmpeg -loglevel debug -f video4linux2 -i /dev/video0 http://wuhtzu.dk:8090/webcam.ffm -pix_fmt yuvj422p
- ffmpeg version N-62569-gf57ac37 Copyright (c) 2000-2014 the FFmpeg developers
- built on Apr 20 2014 02:07:21 with gcc 4.7 (Ubuntu/Linaro 4.7.2-2ubuntu1)
- configuration: --prefix=/mnt/storeage --enable-libv4l2
- libavutil 52. 77.100 / 52. 77.100
- libavcodec 55. 58.105 / 55. 58.105
- libavformat 55. 37.101 / 55. 37.101
- libavdevice 55. 13.100 / 55. 13.100
- libavfilter 4. 4.100 / 4. 4.100
- libswscale 2. 6.100 / 2. 6.100
- libswresample 0. 18.100 / 0. 18.100
- Splitting the commandline.
- Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
- Reading option '-f' ... matched as option 'f' (force format) with argument 'video4linux2'.
- Reading option '-i' ... matched as input file with argument '/dev/video0'.
- Reading option 'http://wuhtzu.dk:8090/webcam.ffm' ... matched as output file.
- Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) with argument 'yuvj422p'.
- Trailing options were found on the commandline.
- 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 /dev/video0.
- Applying option f (force format) with argument video4linux2.
- Successfully parsed a group of options.
- Opening an input file: /dev/video0.
- [video4linux2,v4l2 @ 0x264ac20] fd:3 capabilities:4000001
- [video4linux2,v4l2 @ 0x264ac20] Current input_channel: 0, input_name: Camera 1, input_std: 0
- [video4linux2,v4l2 @ 0x264ac20] Querying the device for the current frame size
- [video4linux2,v4l2 @ 0x264ac20] Setting frame size to 320x240
- [video4linux2,v4l2 @ 0x264ac20] Trying to set codec:rawvideo pix_fmt:yuv420p
- Last message repeated 1 times
- [video4linux2,v4l2 @ 0x264ac20] Trying to set codec:rawvideo pix_fmt:yuv422p
- [video4linux2,v4l2 @ 0x264ac20] Trying to set codec:rawvideo pix_fmt:yuyv422
- [video4linux2,v4l2 @ 0x264ac20] All info found
- Input #0, video4linux2,v4l2, from '/dev/video0':
- Duration: N/A, start: 152574.909382, bitrate: 36864 kb/s
- Stream #0:0, 1, 1/1000000: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 320x240, 1/1000000, 36864 kb/s, 30 fps, 30 tbr, 1000k tbn, 1000k tbc
- Successfully opened the file.
- Parsing a group of options: output file http://wuhtzu.dk:8090/webcam.ffm.
- Successfully parsed a group of options.
- Opening an output file: http://wuhtzu.dk:8090/webcam.ffm.
- [http @ 0x264bc40] request: GET /webcam.ffm HTTP/1.1
- User-Agent: Lavf/55.37.101
- Accept: */*
- Range: bytes=0-
- Connection: close
- Host: wuhtzu.dk:8090
- [http @ 0x264bc40] header='HTTP/1.0 200 OK'
- [http @ 0x264bc40] http_code=200
- [http @ 0x264bc40] header='Pragma: no-cache'
- [http @ 0x264bc40] header='Content-Type: '
- [http @ 0x264bc40] header=''
- [ffm @ 0x264d660] Format ffm probed with size=2048 and score=101
- Incompatible pixel format '(null)' for codec 'mjpeg', auto-selecting format '(null)'
- [AVIOContext @ 0x26583c0] Statistics: 4096 bytes read, 0 seeks
- [http @ 0x26517e0] request: POST /webcam.ffm HTTP/1.1
- Transfer-Encoding: chunked
- User-Agent: Lavf/55.37.101
- Accept: */*
- Connection: close
- Host: wuhtzu.dk:8090
- Successfully opened the file.
- detected 4 logical cores
- [graph 0 input from stream 0:0 @ 0x26397e0] Setting 'video_size' to value '320x240'
- [graph 0 input from stream 0:0 @ 0x26397e0] Setting 'pix_fmt' to value '1'
- [graph 0 input from stream 0:0 @ 0x26397e0] Setting 'time_base' to value '1/1000000'
- [graph 0 input from stream 0:0 @ 0x26397e0] Setting 'pixel_aspect' to value '0/1'
- [graph 0 input from stream 0:0 @ 0x26397e0] Setting 'sws_param' to value 'flags=2'
- [graph 0 input from stream 0:0 @ 0x26397e0] Setting 'frame_rate' to value '30/1'
- [graph 0 input from stream 0:0 @ 0x26397e0] w:320 h:240 pixfmt:yuyv422 tb:1/1000000 fr:30/1 sar:0/1 sws_param:flags=2
- [scaler for output stream 0:0 @ 0x2639c00] Setting 'w' to value '0'
- [scaler for output stream 0:0 @ 0x2639c00] Setting 'h' to value '15'
- [scaler for output stream 0:0 @ 0x2639c00] Setting 'flags' to value '0x4'
- [scaler for output stream 0:0 @ 0x2639c00] w:0 h:15 flags:'0x4' interl:0
- Incompatible pixel format '(null)' for codec 'mjpeg', auto-selecting format '(null)'
- [AVFilterGraph @ 0x2642040] query_formats: 4 queried, 3 merged, 0 already done, 0 delayed
- [scaler for output stream 0:0 @ 0x2639c00] w:320 h:240 fmt:yuyv422 sar:0/1 -> w:320 h:15 fmt:yuyv422 sar:0/1 flags:0x4
- [mjpeg @ 0x2652060] Forcing thread count to 1 for MJPEG encoding, use -thread_type slice or a constant quantizer if you want to use multiple cpu cores
- [mjpeg @ 0x2652060] Specified pixel format yuyv422 is invalid or not supported
- Output #0, ffm, to 'http://wuhtzu.dk:8090/webcam.ffm':
- Metadata:
- creation_time : now
- Stream #0:0, 0, 1/1000000: Video: mjpeg ([0][0][0][5] / 0x5000000), yuyv422, 320x15, 1/30, q=0-0, 20000 kb/s, 1000k tbn, 30 tbc
- Stream mapping:
- Stream #0:0 -> #0:0 (rawvideo -> mjpeg)
- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
- [AVIOContext @ 0x2651860] Statistics: 0 seeks, 0 writeouts
Advertisement
Add Comment
Please, Sign In to add comment