Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Compression Techniques Hallo World FFMPEG command not working

  • Hallo World FFMPEG command not working

    Posted by Jacques Koorts on May 21, 2012 at 7:30 pm

    I’m following FFMPEG’s doc:

    [QUOTE]To set the video bitrate of the output file to 64kbit/s:

    ffmpeg -i input.avi -b:v 64k output.avi[/QUOTE]

    So here’s my attempt:

    ffmpeg -i seed.avi -b:v 63k ouput.avi

    This is the error I get:

    timebase 33333/1000000 not supported by MPEG 4 standard, the maximum admitted value for the timebase denominator is 65535

    So much for documentation.

    Reuben Martin replied 14 years, 2 months ago 2 Members · 3 Replies
  • 3 Replies
  • Jacques Koorts

    May 21, 2012 at 7:41 pm

    here the full output. (works for 0.82 though)

    ffmpeg version 0.8.1-4:0.8.1-0ubuntu1, Copyright (c) 2000-2011 the Libav developers
    built on Mar 22 2012 05:09:06 with gcc 4.6.3
    This program is not developed anymore and is only provided for compatibility. Use avconv instead (see Changelog for the list of incompatible changes).
    [avi @ 0x1f0c7a0] sample size (1) != block align (2)
    Input #0, avi, from ‘seed.avi’:
    Metadata:
    encoder :
    maker : NIKON
    model : COOLPIX S3000
    creation_time : 2010-08-25 12:06:44
    Duration: 00:00:49.26, start: 0.000000, bitrate: 11050 kb/s
    Stream #0.0: Video: mjpeg, yuvj422p, 640×480, 30 tbr, 30 tbn, 30 tbc
    Stream #0.1: Audio: pcm_s16le, 22050 Hz, 1 channels, s16, 352 kb/s
    Incompatible pixel format ‘yuvj422p’ for codec ‘mpeg4’, auto-selecting format ‘yuv420p’
    [buffer @ 0x1f263e0] w:640 h:480 pixfmt:yuvj422p
    [avsink @ 0x1f14600] auto-inserting filter ‘auto-inserted scaler 0’ between the filter ‘src’ and the filter ‘out’
    [scale @ 0x1f14d20] w:640 h:480 fmt:yuvj422p -> w:640 h:480 fmt:yuv420p flags:0x4
    Incompatible sample format ‘s16’ for codec ‘ac3’, auto-selecting format ‘flt’
    [mpeg4 @ 0x1f27180] timebase 33333/1000000 not supported by MPEG 4 standard, the maximum admitted value for the timebase denominator is 65535
    Output #0, avi, to ‘ouput.avi’:
    Stream #0.0: Video: mpeg4, yuv420p, 640×480, q=2-31, 200 kb/s, 90k tbn, 30 tbc
    Stream #0.1: Audio: ac3, 22050 Hz, 1 channels, flt, 200 kb/s
    Stream mapping:
    Stream #0.0 -> #0.0
    Stream #0.1 -> #0.1
    Error while opening encoder for output stream #0.0 – maybe incorrect parameters such as bit_rate, rate, width or height

  • Jacques Koorts

    May 21, 2012 at 7:42 pm

    sorry no 0.82 same err

  • Reuben Martin

    May 22, 2012 at 4:59 am

    It means your source file is corrupt. The frame rate denominator is way out of bounds. Manually specify the input source frame rate to override it.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy