VideoHelp Forum




+ Reply to Thread
Results 1 to 5 of 5
  1. Member
    Join Date
    Jan 2013
    Location
    8712 Staefa, Switzerland
    Search Comp PM
    Hi Forum,

    I have an mp4 video clip that I'd like to compress to get it under the 100MB size limit - then I'll be able to upload it to my vShare website.

    I get the following error message :- [mpeg4 @ 0x12621a0] Invalid pixel aspect ratio 65536/65536, limit is 255/255.

    An output .mp4 file is generated but has no content.

    The following is terminal o/p..................

    jrm@acer:~/Conference_singing$ ffmpeg -i 20130101_143615.mp4 -acodec mp2 glany13_1.mp4
    ffmpeg version 0.8.4-4:0.8.4-0ubuntu0.12.04.1, Copyright (c) 2000-2012 the Libav developers
    built on Nov 6 2012 16:51:33 with gcc 4.6.3
    *** THIS PROGRAM IS DEPRECATED ***
    This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.

    Seems stream 0 codec frame rate differs from container frame rate: 180000.00 (180000/1) -> 90000.00 (180000/2)
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '20130101_143615.mp4':
    Metadata:
    major_brand : isom
    minor_version : 0
    compatible_brands: isom3gp4
    creation_time : 2013-01-01 15:38:05
    Duration: 00:01:49.49, start: 0.000000, bitrate: 9675 kb/s
    Stream #0.0(eng): Video: h264 (Baseline), yuv420p, 1280x720, 9612 kb/s, PAR 65536:65536 DAR 16:9, 24.03 fps, 90k tbr, 90k tbn, 180k tbc
    Metadata:
    creation_time : 2013-01-01 15:38:05
    Stream #0.1(eng): Audio: aac, 16000 Hz, mono, s16, 60 kb/s
    Metadata:
    creation_time : 2013-01-01 15:38:06
    File 'glany13_1.mp4' already exists. Overwrite ? [y/N] y
    [buffer @ 0x1264420] w:1280 h:720 pixfmt:yuv420p
    [mpeg4 @ 0x12621a0] Invalid pixel aspect ratio 65536/65536, limit is 255/255
    Output #0, mp4, to 'glany13_1.mp4':
    Stream #0.0(eng): Video: mpeg4, yuv420p, 1280x720 [PAR 65536:65536 DAR 16:9], q=2-31, 200 kb/s, 90k tbn, 90k tbc
    Metadata:
    creation_time : 2013-01-01 15:38:05
    Stream #0.1(eng): Audio: mp2, 16000 Hz, mono, s16, 128 kb/s
    Metadata:
    creation_time : 2013-01-01 15:38:06
    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
    jrm@acer:~/Conference_singing$

    o/p ends.

    The following is the input .mp4 file information from mediainfo................

    General
    Complete name : /home/jrm/Conference_singing/20130101_143615.mp4
    Format : MPEG-4
    Format profile : Base Media
    Codec ID : isom
    File size : 126 MiB
    Duration : 1mn 49s
    Overall bit rate : 9 675 Kbps
    Encoded date : UTC 2013-01-01 15:38:05
    Tagged date : UTC 2013-01-01 15:38:05

    Video
    ID : 1
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : Baseline@L3.1
    Format settings, CABAC : No
    Format settings, ReFrames : 1 frame
    Format settings, GOP : M=1, N=30
    Codec ID : avc1
    Codec ID/Info : Advanced Video Coding
    Duration : 1mn 49s
    Bit rate : 9 612 Kbps
    Width : 1 280 pixels
    Height : 720 pixels
    Display aspect ratio : 16:9
    Frame rate mode : Variable
    Frame rate : 24.027 fps
    Minimum frame rate : 23.803 fps
    Maximum frame rate : 24.252 fps
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Bits/(Pixel*Frame) : 0.434
    Stream size : 125 MiB (99%)
    Title : VideoHandle
    Language : English
    Encoded date : UTC 2013-01-01 15:38:05
    Tagged date : UTC 2013-01-01 15:38:05

    Audio
    ID : 2
    Format : AAC
    Format/Info : Advanced Audio Codec
    Format profile : LC
    Codec ID : 40
    Duration : 1mn 49s
    Bit rate mode : Constant
    Bit rate : 60.4 Kbps
    Nominal bit rate : 96.0 Kbps
    Channel(s) : 1 channel
    Channel positions : Front: C
    Sampling rate : 16.0 KHz
    Compression mode : Lossy
    Stream size : 807 KiB (1%)
    Title : SoundHandle
    Language : English
    Encoded date : UTC 2013-01-01 15:38:06
    Tagged date : UTC 2013-01-01 15:38:06

    o/p ends.

    I'm sure I need to change the command line but what to do I've no idea - me VideoHelp Newbie !

    Many thanks for any advice

    semperlinux
    Quote Quote  
  2. I would try a different binary, although it's only a couple of months old, this build has a depreciated warning

    built on Nov 6 2012 16:51:33 with gcc 4.6.3
    *** THIS PROGRAM IS DEPRECATED ***
    This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
    Quote Quote  
  3. > Invalid pixel aspect ratio 65536/65536, limit is 255/255.
    -> you could try if it helps to specify the aspect ratio with:
    -aspect 1:1
    Quote Quote  
  4. Member
    Join Date
    Jan 2013
    Location
    8712 Staefa, Switzerland
    Search Comp PM
    Poisondeathray :-
    I read in several places that the 'deprecation' notice is there because Ubuntu have stopped using it - ffmpeg is apparently still being developed / maintained. This however must be an Ubuntu package version as it contains the deprecation notice.
    I don't think there's anything wrong with this version - i.e. the problem isn't being caused by software failure.


    Selur :-
    Using your 'aspect' command produced a different error as follows...........
    [mpeg4 @ 0x7c81a0] timebase 1/90000 not supported by MPEG 4 standard, the maximum admitted value for the timebase denominator is 65535

    The remainder of the text o/p is identical to the original error.


    Thanks for the input.
    Semperlinux
    Quote Quote  
  5. timebase 1/90000 not supported by MPEG 4 standard,
    -> also specify the input frame rate e.g. -r 23.967
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!