Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dion@epicbox /tmp $ ffmpeg -i 1900-2500.avi -target ntsc-dvd -vf 'scale=720:-1,pad=720:480:0:90' -qscale 3 output.mpg
- ffmpeg version 0.9.1, Copyright (c) 2000-2012 the FFmpeg developers
- built on Jan 6 2012 18:48:01 with gcc 4.5.3
- 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
- libavutil 51. 32. 0 / 51. 32. 0
- libavcodec 53. 42. 4 / 53. 42. 4
- libavformat 53. 24. 2 / 53. 24. 2
- libavdevice 53. 4. 0 / 53. 4. 0
- libavfilter 2. 53. 0 / 2. 53. 0
- libswscale 2. 1. 0 / 2. 1. 0
- libpostproc 51. 2. 0 / 51. 2. 0
- Input #0, avi, from '1900-2500.avi':
- Metadata:
- encoder : Lavf53.5.0
- Duration: 00:00:23.96, start: 0.000000, bitrate: 5721 kb/s
- Stream #0:0: Video: theora (theo / 0x6F656874), yuv420p, 1200x500 [SAR 1:1 DAR 12:5], 25 tbr, 25 tbn, 25 tbc
- Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, stereo, s16, 192 kb/s
- File 'output.mpg' already exists. Overwrite ? [y/N] y
- w:1200 h:500 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:
- [scale @ 0xb03200] w:1200 h:500 fmt:yuv420p -> w:720 h:480 fmt:yuv420p flags:0x4
- [scale @ 0xc63d60] w:720 h:480 fmt:yuv420p -> w:720 h:480 fmt:yuv420p flags:0x4
- [pad @ 0xc64220] w:720 h:480 -> w:720 h:480 x:0 y:90 color:0x108080FF[yuva]
- [pad @ 0xc64220] Input area 0:90:720:570 not within the padded area 0:0:720:480 or zero-sized
- Error opening filters!
- 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
- ffmpeg version 0.9.1, Copyright (c) 2000-2012 the FFmpeg developers
- built on Jan 6 2012 18:48:01 with gcc 4.5.3
- 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
- libavutil 51. 32. 0 / 51. 32. 0
- libavcodec 53. 42. 4 / 53. 42. 4
- libavformat 53. 24. 2 / 53. 24. 2
- libavdevice 53. 4. 0 / 53. 4. 0
- libavfilter 2. 53. 0 / 2. 53. 0
- libswscale 2. 1. 0 / 2. 1. 0
- libpostproc 51. 2. 0 / 51. 2. 0
- Input #0, avi, from '1900-2500.avi':
- Metadata:
- encoder : Lavf53.5.0
- Duration: 00:00:23.96, start: 0.000000, bitrate: 5721 kb/s
- Stream #0:0: Video: theora (theo / 0x6F656874), yuv420p, 1200x500 [SAR 1:1 DAR 12:5], 25 tbr, 25 tbn, 25 tbc
- Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, stereo, s16, 192 kb/s
- File 'output.mpg' already exists. Overwrite ? [y/N] y
- w:1200 h:500 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:
- [scale @ 0xb0b060] w:1200 h:500 fmt:yuv420p -> w:720 h:480 fmt:yuv420p flags:0x4
- [scale @ 0xc6bb40] w:720 h:480 fmt:yuv420p -> w:720 h:480 fmt:yuv420p flags:0x4
- [pad @ 0xc6c030] w:720 h:480 -> w:720 h:480 x:0 y:0 color:0x108080FF[yuva]
- Incompatible sample format 's16' for codec 'ac3', auto-selecting format 'flt'
- Output #0, dvd, to 'output.mpg':
- Metadata:
- encoder : Lavf53.24.2
- Stream #0:0: Video: mpeg2video, yuv420p, 720x480 [SAR 8:5 DAR 12:5], q=2-31, 6000 kb/s, 90k tbn, 29.97 tbc
- Stream #0:1: Audio: ac3, 48000 Hz, stereo, flt, 448 kb/s
- Stream mapping:
- Stream #0:0 -> #0:0 (theora -> mpeg2video)
- Stream #0:1 -> #0:1 (mp3 -> ac3)
- Press [q] to stop, [?] for help
- [mpeg2video @ 0xb0bbc0] rc buffer underflow
- frame= 718 fps= 29 q=3.0 Lsize= 9670kB time=00:00:23.92 bitrate=3311.2kbits/s dup=245 drop=0
- video:8104kB audio:1311kB global headers:0kB muxing overhead 2.706367%
- dion@epicbox /tmp $ mplayer output.mpg
- MPlayer SVN-r34537 (Gentoo)-4.5.3 (C) 2000-2012 MPlayer Team
- MMX2 supported but disabled
- 3DNow supported but disabled
- 3DNowExt supported but disabled
- Playing output.mpg.
- libavformat version 53.24.2 (external)
- MPEG-PS file format detected.
- VIDEO: MPEG2 720x480 (aspect 4) 29.970 fps 9000.0 kbps (1125.0 kbyte/s)
- Load subtitles in ./
- ==========================================================================
- Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
- libavcodec version 53.42.4 (external)
- Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
- ==========================================================================
- ==========================================================================
- Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
- AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
- Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
- ==========================================================================
- AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
- Starting playback...
- [ac3 @ 0x7f6aa86e0000]frame CRC mismatch
- [ac3 @ 0x7f6aa86e0000]frame sync error
- [VD_FFMPEG] Trying pixfmt=0.
- Could not find matching colorspace - retrying with -vf scale...
- Opening video filter: [scale]
- The selected video_out device is incompatible with this codec.
- Try appending the scale filter to your filter list,
- e.g. -vf spp,scale instead of -vf spp.
- [VD_FFMPEG] Trying pixfmt=1.
- Could not find matching colorspace - retrying with -vf scale...
- Opening video filter: [scale]
- The selected video_out device is incompatible with this codec.
- Try appending the scale filter to your filter list,
- e.g. -vf spp,scale instead of -vf spp.
- Movie-Aspect is 2.21:1 - prescaling to correct movie aspect.
- VO: [gl2] 720x480 => 1060x480 Planar YV12
- [gl2] You have OpenGL >= 1.2 capable drivers, GOOD (16bpp and BGR is ok!)
- [gl2] antialiasing off
- [gl2] bilinear linear
- A: 2.8 V: 2.8 A-V: -0.001 ct: 0.003 55/ 55 31% 9% 1.8% 0 0
- [ac3 @ 0x7f6aa86e0000]frame sync error
- A: 13.5 V: 13.4 A-V: 0.007 ct: 0.040 84/ 84 25% 10% 2.2% 0 0
- ===== PAUSE =====
- Exiting... (Quit)
Advertisement
Add Comment
Please, Sign In to add comment