Advertisement
Guest User

Untitled

a guest
Nov 26th, 2011
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.88 KB | None | 0 0
  1. In one terminal:
  2.  
  3.  
  4. bash-3.2$ ffmpeg -loop_input -i tmp.mpg -qmax 8 http://localhost:8090/feed1.ffm
  5. ffmpeg version 0.7.7, Copyright (c) 2000-2011 the FFmpeg developers
  6. built on Nov 25 2011 12:26:38 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3)
  7. configuration: --prefix=/opt/local --enable-gpl --enable-postproc --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libdirac --enable-libschroedinger --enable-libopenjpeg --enable-libxvid --enable-libx264 --enable-libvpx --enable-libspeex --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/gcc-4.2 --arch=x86_64 --enable-yasm
  8. libavutil 50. 43. 0 / 50. 43. 0
  9. libavcodec 52.122. 0 / 52.122. 0
  10. libavformat 52.110. 0 / 52.110. 0
  11. libavdevice 52. 5. 0 / 52. 5. 0
  12. libavfilter 1. 80. 0 / 1. 80. 0
  13. libswscale 0. 14. 1 / 0. 14. 1
  14. libpostproc 51. 2. 0 / 51. 2. 0
  15. [mpeg @ 0x7faf1904ac00] max_analyze_duration 5000000 reached at 5000000
  16. [mpeg @ 0x7faf1904ac00] Estimating duration from bitrate, this may be inaccurate
  17. Input #0, mpeg, from 'tmp.mpg':
  18. Duration: N/A, start: 1.000000, bitrate: 104921 kb/s
  19. Stream #0.0[0x1e0]: Video: mpeg1video, yuv420p, 352x240 [PAR 49:33 DAR 98:45], 104857 kb/s, 25 fps, 25 tbr, 90k tbn, 25 tbc
  20. Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 64 kb/s
  21. TCP connection to localhost:8090 failed: Connection refused
  22. Last message repeated 1 times
  23. [buffer @ 0x107d32480] w:352 h:240 pixfmt:yuv420p tb:1/1000000 sar:49/33 sws_param:
  24. [scale @ 0x107d4df80] w:352 h:240 fmt:yuv420p -> w:160 h:128 fmt:yuv420p flags:0x4
  25. [buffer @ 0x107d5a1e0] w:352 h:240 pixfmt:yuv420p tb:1/1000000 sar:49/33 sws_param:
  26. [mpeg4 @ 0x7faf1907b000] Invalid pixel aspect ratio 392/225, limit is 255/255 reducing
  27. Output #0, ffm, to 'http://localhost:8090/feed1.ffm':
  28. Metadata:
  29. encoder : Lavf52.110.0
  30. Stream #0.0: Audio: mp2, 44100 Hz, 2 channels, s16, 32 kb/s
  31. Stream #0.1: Video: mpeg4, yuv420p, 160x128 [PAR 223:128 DAR 1115:512], q=2-31, 64 kb/s, PAR 392:225 DAR 98:45, 1000k tbn, 25 tbc
  32. Stream #0.2: Audio: libmp3lame, 22050 Hz, 1 channels, s16, 64 kb/s
  33. Stream #0.3: Video: flv, yuv420p, 352x240 [PAR 49:33 DAR 98:45], q=2-31, 256 kb/s, 1000k tbn, 25 tbc
  34. Stream mapping:
  35. Stream #0.1 -> #0.0
  36. Stream #0.0 -> #0.1
  37. Stream #0.1 -> #0.2
  38. Stream #0.0 -> #0.3
  39. Press [q] to stop, [?] for help
  40. [mpeg4 @ 0x7faf1907b000] rc buffer underflow
  41. [flv @ 0x7faf1907ec00] rc buffer underflow
  42. frame= 999 fps=323 q=2.0 Lq=1.6 size= 2100kB time=00:00:39.96 bitrate= 430.5kbits/s
  43. video:1539kB audio:469kB global headers:0kB muxing overhead 4.576181%
  44. bash-3.2$
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54. In other terminal:
  55.  
  56.  
  57.  
  58. bash-3.2$ ffmpeg -i intermediate1.mpg -s 352x240 -y tmp.mpg ;ffmpeg -i intermediate2.mpg -s 352x240 -y tmp.mpg ffmpeg version 0.7.7, Copyright (c) 2000-2011 the FFmpeg developers
  59. built on Nov 25 2011 12:26:38 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3)
  60. configuration: --prefix=/opt/local --enable-gpl --enable-postproc --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libdirac --enable-libschroedinger --enable-libopenjpeg --enable-libxvid --enable-libx264 --enable-libvpx --enable-libspeex --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/gcc-4.2 --arch=x86_64 --enable-yasm
  61. libavutil 50. 43. 0 / 50. 43. 0
  62. libavcodec 52.122. 0 / 52.122. 0
  63. libavformat 52.110. 0 / 52.110. 0
  64. libavdevice 52. 5. 0 / 52. 5. 0
  65. libavfilter 1. 80. 0 / 1. 80. 0
  66. libswscale 0. 14. 1 / 0. 14. 1
  67. libpostproc 51. 2. 0 / 51. 2. 0
  68. [mpeg @ 0x7fe3d404ac00] max_analyze_duration 5000000 reached at 5000000
  69. Input #0, mpeg, from 'intermediate1.mpg':
  70. Duration: 00:00:39.88, start: 1.000000, bitrate: 862 kb/s
  71. Stream #0.0[0x1e0]: Video: mpeg1video, yuv420p, 720x304 [PAR 1:1 DAR 45:19], 104857 kb/s, 25 fps, 25 tbr, 90k tbn, 25 tbc
  72. Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 64 kb/s
  73. [buffer @ 0x7fe3d3c32b80] w:720 h:304 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:
  74. [scale @ 0x7fe3d3c32f00] w:720 h:304 fmt:yuv420p -> w:352 h:240 fmt:yuv420p flags:0x4
  75. [mpeg @ 0x7fe3d4057c00] VBV buffer size not set, muxing may fail
  76. Output #0, mpeg, to 'tmp.mpg':
  77. Metadata:
  78. encoder : Lavf52.110.0
  79. Stream #0.0: Video: mpeg1video, yuv420p, 352x240 [PAR 675:418 DAR 45:19], q=2-31, 200 kb/s, 90k tbn, 25 tbc
  80. Stream #0.1: Audio: mp2, 48000 Hz, stereo, s16, 64 kb/s
  81. Stream mapping:
  82. Stream #0.0 -> #0.0
  83. Stream #0.1 -> #0.1
  84. Press [q] to stop, [?] for help
  85. frame= 999 fps=289 q=2.0 Lsize= 0kB time=00:00:39.92 bitrate= 0.0kbits/s
  86. video:1039kB audio:313kB global headers:0kB muxing overhead -100.000000%
  87. ffmpeg version 0.7.7, Copyright (c) 2000-2011 the FFmpeg developers
  88. built on Nov 25 2011 12:26:38 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3)
  89. configuration: --prefix=/opt/local --enable-gpl --enable-postproc --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libdirac --enable-libschroedinger --enable-libopenjpeg --enable-libxvid --enable-libx264 --enable-libvpx --enable-libspeex --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/gcc-4.2 --arch=x86_64 --enable-yasm
  90. libavutil 50. 43. 0 / 50. 43. 0
  91. libavcodec 52.122. 0 / 52.122. 0
  92. libavformat 52.110. 0 / 52.110. 0
  93. libavdevice 52. 5. 0 / 52. 5. 0
  94. libavfilter 1. 80. 0 / 1. 80. 0
  95. libswscale 0. 14. 1 / 0. 14. 1
  96. libpostproc 51. 2. 0 / 51. 2. 0
  97. [mpeg @ 0x7ffccb84ac00] max_analyze_duration 5000000 reached at 5004000
  98. Input #0, mpeg, from 'intermediate2.mpg':
  99. Duration: 00:00:40.04, start: 1.000000, bitrate: 2559 kb/s
  100. Stream #0.0[0x1e0]: Video: mpeg1video, yuv420p, 640x352 [PAR 1:1 DAR 20:11], 104857 kb/s, 23.98 fps, 23.98 tbr, 90k tbn, 23.98 tbc
  101. Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 64 kb/s
  102. ^C
  103.  
  104.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement