Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- This is an attempt to stream from an hd-pvr to a crtmpserver any comments would be greatly appreciated. It seems to start and goes through a few cycles and stops.
- ------------------------------------------------------------------------------
- judget@livevideo:~$ cat /dev/video4 | ffmpeg -i - -vcodec libx264 -b:v 500000 -s 320x180 -strict experimental -g 25 -me_method zero -acodec aac -ab 96000 -ar 48000 -ac 2 -vbsf h264_mp4toannexb -f mpegts udp://127.0.0.1:10000?pkt_size=1316
- ffmpeg version git-2012-03-08-12c65ef Copyright (c) 2000-2012 the FFmpeg developers
- built on Mar 8 2012 17:22:18 with gcc 4.5.2
- configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-version3 --enable-x11grab
- libavutil 51. 42.100 / 51. 42.100
- libavcodec 54. 10.100 / 54. 10.100
- libavformat 54. 2.100 / 54. 2.100
- libavdevice 53. 4.100 / 53. 4.100
- libavfilter 2. 63.100 / 2. 63.100
- libswscale 2. 1.100 / 2. 1.100
- libswresample 0. 7.100 / 0. 7.100
- libpostproc 52. 0.100 / 52. 0.100
- [h264 @ 0xae2a740] Increasing reorder buffer to 1
- [mpegts @ 0xae26ac0] max_analyze_duration 5000000 reached at 5013333
- [mpegts @ 0xae26ac0] Estimating duration from bitrate, this may be inaccurate
- Input #0, mpegts, from 'pipe:':
- Duration: N/A, start: 0.387044, bitrate: 140 kb/s
- Program 1
- Stream #0:0[0x1011]: Video: h264 (Main) (HDMV / 0x564D4448), yuv420p, 720x480 [SAR 8:9 DAR 4:3], 59.96 fps, 59.94 tbr, 90k tbn, 59.94 tbc
- Stream #0:1[0x1100]: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, stereo, s16, 140 kb/s
- [buffer @ 0xae2b980] w:720 h:480 pixfmt:yuv420p tb:1/1000000 sar:8/9 sws_param:
- [scale @ 0xafbdfe0] w:720 h:480 fmt:yuv420p -> w:320 h:180 fmt:yuv420p flags:0x4
- Incompatible sample format 's16' for codec 'aac', auto-selecting format 'flt'
- [libx264 @ 0xae55780] using SAR=3/4
- [libx264 @ 0xae55780] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
- [libx264 @ 0xae55780] profile High, level 2.1
- [mpegts @ 0xae29740] muxrate VBR, pcr every 5 pkts, sdt every 200, pat/pmt every 40 pkts
- Output #0, mpegts, to 'udp://127.0.0.1:10000?pkt_size=1316':
- Metadata:
- encoder : Lavf54.2.100
- Stream #0:0: Video: h264, yuv420p, 320x180 [SAR 3:4 DAR 4:3], q=-1--1, 500 kb/s, 90k tbn, 59.94 tbc
- Stream #0:1: Audio: aac, 48000 Hz, 2 channels, flt, 96 kb/s
- Stream mapping:
- Stream #0:0 -> #0:0 (h264 -> libx264)
- Stream #0:1 -> #0:1 (aac -> aac)
- frame= 67 fps=0.0 q=20.0 size= 28kB time=00:00:00.55 bitrate= 418.0kbits/frame= 111 fps=110 q=19.0 size= 92kB time=00:00:01.28 bitrate= 588.9kbits/frame= 155 fps=102 q=18.0 size= 153kB time=00:00:02.01 bitrate= 622.1kbits/frame= 201 fps= 99 q=19.0 size= 223kB time=00:00:02.78 bitrate= 656.4kbits/frame= 247 fps= 97 q=19.0 size= 296kB time=00:00:03.55 bitrate= 683.1kbits/frame= 293 fps= 96 q=19.0 size= 366kB time=00:00:04.32 bitrate= 694.0kbits/frame= 339 fps= 95 q=19.0 size= 438kB time=00:00:05.08 bitrate= 704.9kbits/s dup=170 drop=0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement