Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ /home/pi/special/ffmpeg/ffmpeg -loglevel debug \
- > -thread_queue_size 1024 \
- > -f video4linux2 -i /dev/video0 -framerate 20 -s 1280x720 -c:v h264_omx \
- > -c:a mp3 \
- > -thread_queue_size 1024 \
- > -i /tmp/temp_audio.mp3 \
- > -c:a copy \
- > -max_interleave_delta 500000 \
- > -report \
- > -f flv rtmp://209.85.230.23/live2/KEY
- ffmpeg started on 2017-03-24 at 23:51:54
- Report written to "ffmpeg-20170324-235154.log"
- ffmpeg version git-2017-02-05-e57fd92 Copyright (c) 2000-2017 the FFmpeg developers
- built with gcc 4.9.2 (Raspbian 4.9.2-10)
- configuration: --extra-cflags=-I/opt/vc/include/IL --enable-nonfree --enable-omx-rpi --logfile=CONFIG.TXT
- libavutil 55. 46.100 / 55. 46.100
- libavcodec 57. 75.100 / 57. 75.100
- libavformat 57. 66.101 / 57. 66.101
- libavdevice 57. 2.100 / 57. 2.100
- libavfilter 6. 73.100 / 6. 73.100
- libswscale 4. 3.101 / 4. 3.101
- libswresample 2. 4.100 / 2. 4.100
- Splitting the commandline.
- Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
- Reading option '-thread_queue_size' ... matched as option 'thread_queue_size' (set the maximum number of queued packets from the demuxer) with argument '1024'.
- Reading option '-f' ... matched as option 'f' (force format) with argument 'video4linux2'.
- Reading option '-i' ... matched as input url with argument '/dev/video0'.
- Reading option '-framerate' ... matched as AVOption 'framerate' with argument '20'.
- Reading option '-s' ... matched as option 's' (set frame size (WxH or abbreviation)) with argument '1280x720'.
- Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'h264_omx'.
- Reading option '-c:a' ... matched as option 'c' (codec name) with argument 'mp3'.
- Reading option '-thread_queue_size' ... matched as option 'thread_queue_size' (set the maximum number of queued packets from the demuxer) with argument '1024'.
- Reading option '-i' ... matched as input url with argument '/tmp/temp_audio.mp3'.
- Reading option '-c:a' ... matched as option 'c' (codec name) with argument 'copy'.
- Reading option '-max_interleave_delta' ... matched as AVOption 'max_interleave_delta' with argument '500000'.
- Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
- Reading option '-f' ... matched as option 'f' (force format) with argument 'flv'.
- Reading option 'rtmp://209.85.230.23/live2/z6ur-1bme-jcpc-20xa' ... matched as output url.
- Finished splitting the commandline.
- Parsing a group of options: global .
- Applying option loglevel (set logging level) with argument debug.
- Applying option report (generate a report) with argument 1.
- Successfully parsed a group of options.
- Parsing a group of options: input url /dev/video0.
- Applying option thread_queue_size (set the maximum number of queued packets from the demuxer) with argument 1024.
- Applying option f (force format) with argument video4linux2.
- Successfully parsed a group of options.
- Opening an input file: /dev/video0.
- [video4linux2,v4l2 @ 0x34cd7c0] fd:4 capabilities:5000001
- [video4linux2,v4l2 @ 0x34cd7c0] Current input_channel: 0, input_name: default, input_std: 0
- [video4linux2,v4l2 @ 0x34cd7c0] Querying the device for the current frame size
- [video4linux2,v4l2 @ 0x34cd7c0] Setting frame size to 1920x1080
- [video4linux2,v4l2 @ 0x34cd7c0] Dequeued v4l2 buffer contains 3133440 bytes, but 3110400 were expected. Flags: 0x00000004.
- Input #0, video4linux2,v4l2, from '/dev/video0':
- Duration: N/A, bitrate: 746496 kb/s
- Stream #0:0, 0, 1/1000000: Video: rawvideo, 1 reference frame (I420 / 0x30323449), yuv420p, 1920x1080 (0x0), 0/1, 746496 kb/s, 30 fps, 30 tbr, 1000k tbn, 1000k tbc
- Successfully opened the file.
- Parsing a group of options: input url /tmp/temp_audio.mp3.
- Applying option s (set frame size (WxH or abbreviation)) with argument 1280x720.
- Applying option c:v (codec name) with argument h264_omx.
- Applying option c:a (codec name) with argument mp3.
- Applying option thread_queue_size (set the maximum number of queued packets from the demuxer) with argument 1024.
- Successfully parsed a group of options.
- Opening an input file: /tmp/temp_audio.mp3.
- Unknown decoder 'h264_omx'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement