FORUMS: list search recent posts

resampling with same codec does not work

COW Forums : FFmpeg

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
Jacques Koorts
resampling with same codec does not work
on May 21, 2012 at 7:58:20 pm

../bin/ffmpeg -y -i output3.mpg -vcodec mpeg1video -r 15 -b:v 200k -s 128x96 output4.mpg
ffmpeg version N-38338-g52ae41a Copyright (c) 2000-2012 the FFmpeg developers
built on Mar 2 2012 13:06:32 with gcc 4.6.1
configuration: --prefix=/home/hawk/opt --enable-gpl --enable-nonfree --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfaac --enable-libx264 --enable-libmp3lame --enable-static --disable-shared --extra-libs=-static --extra-cflags=--static --disable-ffserver --enable-decoder=png
libavutil 51. 41.100 / 51. 41.100
libavcodec 54. 4.100 / 54. 4.100
libavformat 54. 1.100 / 54. 1.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 62.101 / 2. 62.101
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 7.100 / 0. 7.100
libpostproc 52. 0.100 / 52. 0.100
[mpeg @ 0x366da40] max_analyze_duration 5000000 reached at 5000000
Input #0, mpeg, from 'output3.mpg':
Duration: 00:00:49.21, start: 1.000000, bitrate: 1149 kb/s
Stream #0:0[0x1e0]: Video: mpeg1video, yuv420p, 640x480 [SAR 1:1 DAR 4:3], 104857 kb/s, 25 fps, 25 tbr, 90k tbn, 25 tbc
Stream #0:1[0x1c0]: Audio: mp2, 22050 Hz, mono, s16, 128 kb/s
[buffer @ 0x3675280] w:640 h:480 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:
[scale @ 0x3672ee0] w:640 h:480 fmt:yuv420p -> w:128 h:96 fmt:yuv420p flags:0x4
[mpeg1video @ 0x367c160] MPEG1/2 does not support 15/1 fps
Output #0, mpeg, to 'output4.mpg':
Stream #0:0: Video: mpeg1video, yuv420p, 128x96 [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 90k tbn, 15 tbc
Stream #0:1: Audio: none, 22050 Hz, mono, s16, 128 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (mpeg1video -> mpeg1video)
Stream #0:1 -> #0:1 (mp2 -> mp2)
Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height


Return to posts index

Reuben Martin
Re: resampling with same codec does not work
on May 22, 2012 at 5:17:53 am

Read your terminal output. It's telling you why it won't work.

[mpeg1video @ 0x367c160] MPEG1/2 does not support 15/1 fps


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]