Advertisement
tvjudge

Untitled

Mar 21st, 2012
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.10 KB | None | 0 0
  1. 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.
  2. ------------------------------------------------------------------------------
  3.  
  4. 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
  5. ffmpeg version git-2012-03-08-12c65ef Copyright (c) 2000-2012 the FFmpeg developers
  6. built on Mar 8 2012 17:22:18 with gcc 4.5.2
  7. 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
  8. libavutil 51. 42.100 / 51. 42.100
  9. libavcodec 54. 10.100 / 54. 10.100
  10. libavformat 54. 2.100 / 54. 2.100
  11. libavdevice 53. 4.100 / 53. 4.100
  12. libavfilter 2. 63.100 / 2. 63.100
  13. libswscale 2. 1.100 / 2. 1.100
  14. libswresample 0. 7.100 / 0. 7.100
  15. libpostproc 52. 0.100 / 52. 0.100
  16. [h264 @ 0xae2a740] Increasing reorder buffer to 1
  17. [mpegts @ 0xae26ac0] max_analyze_duration 5000000 reached at 5013333
  18. [mpegts @ 0xae26ac0] Estimating duration from bitrate, this may be inaccurate
  19. Input #0, mpegts, from 'pipe:':
  20. Duration: N/A, start: 0.387044, bitrate: 140 kb/s
  21. Program 1
  22. 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
  23. Stream #0:1[0x1100]: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, stereo, s16, 140 kb/s
  24. [buffer @ 0xae2b980] w:720 h:480 pixfmt:yuv420p tb:1/1000000 sar:8/9 sws_param:
  25. [scale @ 0xafbdfe0] w:720 h:480 fmt:yuv420p -> w:320 h:180 fmt:yuv420p flags:0x4
  26. Incompatible sample format 's16' for codec 'aac', auto-selecting format 'flt'
  27. [libx264 @ 0xae55780] using SAR=3/4
  28. [libx264 @ 0xae55780] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
  29. [libx264 @ 0xae55780] profile High, level 2.1
  30. [mpegts @ 0xae29740] muxrate VBR, pcr every 5 pkts, sdt every 200, pat/pmt every 40 pkts
  31. Output #0, mpegts, to 'udp://127.0.0.1:10000?pkt_size=1316':
  32. Metadata:
  33. encoder : Lavf54.2.100
  34. Stream #0:0: Video: h264, yuv420p, 320x180 [SAR 3:4 DAR 4:3], q=-1--1, 500 kb/s, 90k tbn, 59.94 tbc
  35. Stream #0:1: Audio: aac, 48000 Hz, 2 channels, flt, 96 kb/s
  36. Stream mapping:
  37. Stream #0:0 -> #0:0 (h264 -> libx264)
  38. Stream #0:1 -> #0:1 (aac -> aac)
  39. 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