Results 1 to 6 of 6

Thread: Aspect Ratio Problem

  1. #1
    Join Date
    Dec 2008
    Posts
    156

    Default Aspect Ratio Problem

    Hello!

    I have a aspect Ratio problem.

    The user of the following video uploaded his video http://www.youtube.com/watch?v=z-y9zfa05YI to my site: http://speedriding-videos.com/view/52/speedeeridn1/

    here is the source: http://speedriding-videos.com/video/couloir_espanol.mov

    Watch only the beginning. The font is cutted out.

    What is the problem here?

    Here is the convert log:

    Find video duration - START

    Duration (ffmpeg-php): 122

    DURATION: 02:02

    Create Thumbnail - START

    Create Thumbnail with ffmpeg-php - END

    CONVERT COMMAND: /usr/bin/mencoder '/var/www/speed/video/couloir_espanol.mov' -o /var/www/speed/flvideo/1238870474149132919.flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=800:mbd=2:mv0:trell:v4mv:cbp:l ast_pred=3 -srate 22050 -ofps 24 -vf harddup

    ################################################## ##

    Array
    (
    [0] => MEncoder 2:1.0~rc2-0ubuntu13.1 (C) 2000-2007 MPlayer Team
    [1] => CPU: Intel(R) Core(TM)2 Duo CPU E4700 @ 2.60GHz (Family: 6, Model: 15, Stepping: 11)
    [2] => CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
    [3] => Compiled with runtime CPU detection.
    [4] => success: format: 0 data: 0x0 - 0x9d5061b
    [5] => ISO: File Type Major Brand: Original QuickTime
    [6] => Quicktime/MOV file format detected.
    [7] => [mov] Video stream found, -vid 0
    [8] => [mov] Audio stream found, -aid 1
    [9] => VIDEO: [avc1] 960x540 24bpp 25.000 fps 0.0 kbps ( 0.0 kbyte/s)
    [10] => [V] filefmt:7 fourcc:0x31637661 size:960x540 fps:25.00 ftime:=0.0400
    [11] => ================================================== ========================
    [12] => Opening audio decoder: [pcm] Uncompressed PCM audio decoder
    [13] => AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio: 192000->192000)
    [14] => Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
    [15] => ================================================== ========================
    [16] => OK, exit
    [17] => Opening video filter: [expand osd=1]
    [18] => Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
    [19] => Opening video filter: [harddup]
    [20] => ================================================== ========================
    [21] => Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    [22] => Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
    [23] => ================================================== ========================
    [24] => MP3 audio selected.
    [25] => VDec: vo config request - 960 x 540 (preferred colorspace: Planar YV12)
    [26] => VDec: using Planar YV12 as output csp (no 0)
    [27] => Movie-Aspect is undefined - no prescaling applied.
    [28] => videocodec: libavcodec (960x540 fourcc=31564c46 [FLV1])
    [29] => [VE_LAVC] High quality encoding selected (non-realtime)!
    [30] => VIDEO CODEC ID: 22
    [31] => AUDIO CODEC ID: 15001, TAG: 0
    [32] => Writing header...
    [33] => Pos: 0.0s 1f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]

    [...]

    Pos: 122.3s 3060f ( 0%) 25.86fps Trem: 0min 0mb A-V:0.010 [849:56]
    Pos: 122.4s 3061f ( 0%) 25.86fps Trem: 0min 0mb A-V:0.010 [849:56]
    [34] => Flushing video frames.
    [35] => Writing index...
    [36] =>
    [37] => Video stream: 849.043 kbit/s (106130 B/s) size: 12987705 bytes 122.375 secs 3061 frames
    [38] =>
    [39] => Audio stream: 56.519 kbit/s (7064 B/s) size: 864071 bytes 122.305 secs
    )

    ################################################## ##

    Return value: Audio stream: 56.519 kbit/s (7064 B/s) size: 864071 bytes 122.305 secs
    Video Conversion Finished

  2. #2
    Join Date
    Dec 2008
    Posts
    156

    Default Re: Aspect Ratio Problem

    I have only changed the bitrate for a better quality.

    Is that maybe a general Vshare Problem?

  3. #3
    Join Date
    Sep 2008
    Posts
    1,019

    Default Re: Aspect Ratio Problem

    Your problem is happening because the default installation of vShare uses the "display height" attribute. This attribute takes the video and only displays so much of it. If you remove that attribute from your player.inc file, you should be able to see the full video regardless of your player's size.
    vShare Solutions
    Custom vShare Modules and Services

    Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!

  4. #4
    Join Date
    Dec 2008
    Posts
    156

    Default Re: Aspect Ratio Problem

    Hello!

    this has not worked.
    http://speedriding-videos.com/view/52/speedeeridn1/

    If I open the video the video has the right size and 1 second later it is oversized. Can I set the witdh parameter of the player to "auto"?

    simply change your encoding parameters to keep the videos at their normal ratio's
    What parameters I do must insert there?

  5. #5
    Join Date
    Sep 2008
    Posts
    1,019

    Default Re: Aspect Ratio Problem

    I don't know if there is a width=auto function. Check the JW Player manual on what you will need to do that.

    As for the parameters, you will need to check the mencoder manual on what parameters you need to tell it to keep the aspect ratio as I do not have that information off hand.
    vShare Solutions
    Custom vShare Modules and Services

    Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!

  6. #6
    Join Date
    Dec 2008
    Posts
    156

    Default Re: Aspect Ratio Problem

    I tried to change the value in player.inc . But the only thing I get is this:

    The ratio is fixed, now the player is absolutely destroyed.

    :lol:

    I try to find a other solution with mplayer.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •