Guest User

Untitled

a guest
Jan 22nd, 2012
42
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. dion@epicbox /tmp $ ffmpeg -i 1900-2500.avi -target ntsc-dvd -vf 'scale=720:-1,pad=720:480:0:90' -qscale 3 output.mpg
  2. ffmpeg version 0.9.1, Copyright (c) 2000-2012 the FFmpeg developers
  3. built on Jan 6 2012 18:48:01 with gcc 4.5.3
  4. configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags='-march=native -O2 -pipe' --extra-cflags='-march=native -O2 -pipe' --extra-cxxflags='-march=native -O2 -pipe' --disable-static --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --disable-stripping --disable-debug --disable-doc --disable-network --disable-vaapi --disable-vdpau --enable-libmp3lame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --disable-indev=v4l --disable-indev=oss --disable-indev=jack --enable-x11grab --disable-outdev=oss --enable-pthreads --enable-libopencore-amrwb --enable-libopencore-amrnb --disable-amd3dnow --disable-amd3dnowext --disable-altivec --disable-avx --disable-vis --disable-neon --disable-iwmmxt --cpu=host --enable-hardcoded-tables
  5. libavutil 51. 32. 0 / 51. 32. 0
  6. libavcodec 53. 42. 4 / 53. 42. 4
  7. libavformat 53. 24. 2 / 53. 24. 2
  8. libavdevice 53. 4. 0 / 53. 4. 0
  9. libavfilter 2. 53. 0 / 2. 53. 0
  10. libswscale 2. 1. 0 / 2. 1. 0
  11. libpostproc 51. 2. 0 / 51. 2. 0
  12. Input #0, avi, from '1900-2500.avi':
  13. Metadata:
  14. encoder : Lavf53.5.0
  15. Duration: 00:00:23.96, start: 0.000000, bitrate: 5721 kb/s
  16. Stream #0:0: Video: theora (theo / 0x6F656874), yuv420p, 1200x500 [SAR 1:1 DAR 12:5], 25 tbr, 25 tbn, 25 tbc
  17. Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, stereo, s16, 192 kb/s
  18. File 'output.mpg' already exists. Overwrite ? [y/N] y
  19. w:1200 h:500 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:
  20. [scale @ 0xb03200] w:1200 h:500 fmt:yuv420p -> w:720 h:480 fmt:yuv420p flags:0x4
  21. [scale @ 0xc63d60] w:720 h:480 fmt:yuv420p -> w:720 h:480 fmt:yuv420p flags:0x4
  22. [pad @ 0xc64220] w:720 h:480 -> w:720 h:480 x:0 y:90 color:0x108080FF[yuva]
  23. [pad @ 0xc64220] Input area 0:90:720:570 not within the padded area 0:0:720:480 or zero-sized
  24. Error opening filters!
  25.  
  26.  
  27.  
  28. dion@epicbox /tmp $ ffmpeg -i 1900-2500.avi -target ntsc-dvd -vf 'scale=720:-1,pad=720:480:(ow-iw)/2:(oh-ih)/2' -qscale 3 output.mpg
  29. ffmpeg version 0.9.1, Copyright (c) 2000-2012 the FFmpeg developers
  30. built on Jan 6 2012 18:48:01 with gcc 4.5.3
  31. configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags='-march=native -O2 -pipe' --extra-cflags='-march=native -O2 -pipe' --extra-cxxflags='-march=native -O2 -pipe' --disable-static --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --disable-stripping --disable-debug --disable-doc --disable-network --disable-vaapi --disable-vdpau --enable-libmp3lame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --disable-indev=v4l --disable-indev=oss --disable-indev=jack --enable-x11grab --disable-outdev=oss --enable-pthreads --enable-libopencore-amrwb --enable-libopencore-amrnb --disable-amd3dnow --disable-amd3dnowext --disable-altivec --disable-avx --disable-vis --disable-neon --disable-iwmmxt --cpu=host --enable-hardcoded-tables
  32. libavutil 51. 32. 0 / 51. 32. 0
  33. libavcodec 53. 42. 4 / 53. 42. 4
  34. libavformat 53. 24. 2 / 53. 24. 2
  35. libavdevice 53. 4. 0 / 53. 4. 0
  36. libavfilter 2. 53. 0 / 2. 53. 0
  37. libswscale 2. 1. 0 / 2. 1. 0
  38. libpostproc 51. 2. 0 / 51. 2. 0
  39. Input #0, avi, from '1900-2500.avi':
  40. Metadata:
  41. encoder : Lavf53.5.0
  42. Duration: 00:00:23.96, start: 0.000000, bitrate: 5721 kb/s
  43. Stream #0:0: Video: theora (theo / 0x6F656874), yuv420p, 1200x500 [SAR 1:1 DAR 12:5], 25 tbr, 25 tbn, 25 tbc
  44. Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, stereo, s16, 192 kb/s
  45. File 'output.mpg' already exists. Overwrite ? [y/N] y
  46. w:1200 h:500 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:
  47. [scale @ 0xb0b060] w:1200 h:500 fmt:yuv420p -> w:720 h:480 fmt:yuv420p flags:0x4
  48. [scale @ 0xc6bb40] w:720 h:480 fmt:yuv420p -> w:720 h:480 fmt:yuv420p flags:0x4
  49. [pad @ 0xc6c030] w:720 h:480 -> w:720 h:480 x:0 y:0 color:0x108080FF[yuva]
  50. Incompatible sample format 's16' for codec 'ac3', auto-selecting format 'flt'
  51. Output #0, dvd, to 'output.mpg':
  52. Metadata:
  53. encoder : Lavf53.24.2
  54. Stream #0:0: Video: mpeg2video, yuv420p, 720x480 [SAR 8:5 DAR 12:5], q=2-31, 6000 kb/s, 90k tbn, 29.97 tbc
  55. Stream #0:1: Audio: ac3, 48000 Hz, stereo, flt, 448 kb/s
  56. Stream mapping:
  57. Stream #0:0 -> #0:0 (theora -> mpeg2video)
  58. Stream #0:1 -> #0:1 (mp3 -> ac3)
  59. Press [q] to stop, [?] for help
  60. [mpeg2video @ 0xb0bbc0] rc buffer underflow
  61. frame= 718 fps= 29 q=3.0 Lsize= 9670kB time=00:00:23.92 bitrate=3311.2kbits/s dup=245 drop=0
  62. video:8104kB audio:1311kB global headers:0kB muxing overhead 2.706367%
  63.  
  64.  
  65.  
  66. dion@epicbox /tmp $ mplayer output.mpg
  67. MPlayer SVN-r34537 (Gentoo)-4.5.3 (C) 2000-2012 MPlayer Team
  68. MMX2 supported but disabled
  69. 3DNow supported but disabled
  70. 3DNowExt supported but disabled
  71.  
  72. Playing output.mpg.
  73. libavformat version 53.24.2 (external)
  74. MPEG-PS file format detected.
  75. VIDEO: MPEG2 720x480 (aspect 4) 29.970 fps 9000.0 kbps (1125.0 kbyte/s)
  76. Load subtitles in ./
  77. ==========================================================================
  78. Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
  79. libavcodec version 53.42.4 (external)
  80. Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
  81. ==========================================================================
  82. ==========================================================================
  83. Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
  84. AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
  85. Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
  86. ==========================================================================
  87. AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
  88. Starting playback...
  89. [ac3 @ 0x7f6aa86e0000]frame CRC mismatch
  90. [ac3 @ 0x7f6aa86e0000]frame sync error
  91. [VD_FFMPEG] Trying pixfmt=0.
  92. Could not find matching colorspace - retrying with -vf scale...
  93. Opening video filter: [scale]
  94. The selected video_out device is incompatible with this codec.
  95. Try appending the scale filter to your filter list,
  96. e.g. -vf spp,scale instead of -vf spp.
  97. [VD_FFMPEG] Trying pixfmt=1.
  98. Could not find matching colorspace - retrying with -vf scale...
  99. Opening video filter: [scale]
  100. The selected video_out device is incompatible with this codec.
  101. Try appending the scale filter to your filter list,
  102. e.g. -vf spp,scale instead of -vf spp.
  103. Movie-Aspect is 2.21:1 - prescaling to correct movie aspect.
  104. VO: [gl2] 720x480 => 1060x480 Planar YV12
  105. [gl2] You have OpenGL >= 1.2 capable drivers, GOOD (16bpp and BGR is ok!)
  106. [gl2] antialiasing off
  107. [gl2] bilinear linear
  108. A: 2.8 V: 2.8 A-V: -0.001 ct: 0.003 55/ 55 31% 9% 1.8% 0 0
  109. [ac3 @ 0x7f6aa86e0000]frame sync error
  110. A: 13.5 V: 13.4 A-V: 0.007 ct: 0.040 84/ 84 25% 10% 2.2% 0 0
  111. ===== PAUSE =====
  112.  
  113. Exiting... (Quit)
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×