Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In one terminal:
- bash-3.2$ ffmpeg -loop_input -i tmp.mpg -qmax 8 http://localhost:8090/feed1.ffm
- ffmpeg version 0.7.7, Copyright (c) 2000-2011 the FFmpeg developers
- built on Nov 25 2011 12:26:38 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3)
- 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
- libavutil 50. 43. 0 / 50. 43. 0
- libavcodec 52.122. 0 / 52.122. 0
- libavformat 52.110. 0 / 52.110. 0
- libavdevice 52. 5. 0 / 52. 5. 0
- libavfilter 1. 80. 0 / 1. 80. 0
- libswscale 0. 14. 1 / 0. 14. 1
- libpostproc 51. 2. 0 / 51. 2. 0
- [mpeg @ 0x7faf1904ac00] max_analyze_duration 5000000 reached at 5000000
- [mpeg @ 0x7faf1904ac00] Estimating duration from bitrate, this may be inaccurate
- Input #0, mpeg, from 'tmp.mpg':
- Duration: N/A, start: 1.000000, bitrate: 104921 kb/s
- 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
- Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 64 kb/s
- TCP connection to localhost:8090 failed: Connection refused
- Last message repeated 1 times
- [buffer @ 0x107d32480] w:352 h:240 pixfmt:yuv420p tb:1/1000000 sar:49/33 sws_param:
- [scale @ 0x107d4df80] w:352 h:240 fmt:yuv420p -> w:160 h:128 fmt:yuv420p flags:0x4
- [buffer @ 0x107d5a1e0] w:352 h:240 pixfmt:yuv420p tb:1/1000000 sar:49/33 sws_param:
- [mpeg4 @ 0x7faf1907b000] Invalid pixel aspect ratio 392/225, limit is 255/255 reducing
- Output #0, ffm, to 'http://localhost:8090/feed1.ffm':
- Metadata:
- encoder : Lavf52.110.0
- Stream #0.0: Audio: mp2, 44100 Hz, 2 channels, s16, 32 kb/s
- 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
- Stream #0.2: Audio: libmp3lame, 22050 Hz, 1 channels, s16, 64 kb/s
- Stream #0.3: Video: flv, yuv420p, 352x240 [PAR 49:33 DAR 98:45], q=2-31, 256 kb/s, 1000k tbn, 25 tbc
- Stream mapping:
- Stream #0.1 -> #0.0
- Stream #0.0 -> #0.1
- Stream #0.1 -> #0.2
- Stream #0.0 -> #0.3
- Press [q] to stop, [?] for help
- [mpeg4 @ 0x7faf1907b000] rc buffer underflow
- [flv @ 0x7faf1907ec00] rc buffer underflow
- frame= 999 fps=323 q=2.0 Lq=1.6 size= 2100kB time=00:00:39.96 bitrate= 430.5kbits/s
- video:1539kB audio:469kB global headers:0kB muxing overhead 4.576181%
- bash-3.2$
- In other terminal:
- 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
- built on Nov 25 2011 12:26:38 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3)
- 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
- libavutil 50. 43. 0 / 50. 43. 0
- libavcodec 52.122. 0 / 52.122. 0
- libavformat 52.110. 0 / 52.110. 0
- libavdevice 52. 5. 0 / 52. 5. 0
- libavfilter 1. 80. 0 / 1. 80. 0
- libswscale 0. 14. 1 / 0. 14. 1
- libpostproc 51. 2. 0 / 51. 2. 0
- [mpeg @ 0x7fe3d404ac00] max_analyze_duration 5000000 reached at 5000000
- Input #0, mpeg, from 'intermediate1.mpg':
- Duration: 00:00:39.88, start: 1.000000, bitrate: 862 kb/s
- 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
- Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 64 kb/s
- [buffer @ 0x7fe3d3c32b80] w:720 h:304 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:
- [scale @ 0x7fe3d3c32f00] w:720 h:304 fmt:yuv420p -> w:352 h:240 fmt:yuv420p flags:0x4
- [mpeg @ 0x7fe3d4057c00] VBV buffer size not set, muxing may fail
- Output #0, mpeg, to 'tmp.mpg':
- Metadata:
- encoder : Lavf52.110.0
- Stream #0.0: Video: mpeg1video, yuv420p, 352x240 [PAR 675:418 DAR 45:19], q=2-31, 200 kb/s, 90k tbn, 25 tbc
- Stream #0.1: Audio: mp2, 48000 Hz, stereo, s16, 64 kb/s
- Stream mapping:
- Stream #0.0 -> #0.0
- Stream #0.1 -> #0.1
- Press [q] to stop, [?] for help
- frame= 999 fps=289 q=2.0 Lsize= 0kB time=00:00:39.92 bitrate= 0.0kbits/s
- video:1039kB audio:313kB global headers:0kB muxing overhead -100.000000%
- ffmpeg version 0.7.7, Copyright (c) 2000-2011 the FFmpeg developers
- built on Nov 25 2011 12:26:38 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3)
- 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
- libavutil 50. 43. 0 / 50. 43. 0
- libavcodec 52.122. 0 / 52.122. 0
- libavformat 52.110. 0 / 52.110. 0
- libavdevice 52. 5. 0 / 52. 5. 0
- libavfilter 1. 80. 0 / 1. 80. 0
- libswscale 0. 14. 1 / 0. 14. 1
- libpostproc 51. 2. 0 / 51. 2. 0
- [mpeg @ 0x7ffccb84ac00] max_analyze_duration 5000000 reached at 5004000
- Input #0, mpeg, from 'intermediate2.mpg':
- Duration: 00:00:40.04, start: 1.000000, bitrate: 2559 kb/s
- 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
- Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 64 kb/s
- ^C
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement