Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: 16:9 WMV showing as 4:3 in CPG; okay locally in WinXP  (Read 3398 times)

0 Members and 1 Guest are viewing this topic.

AndrewRH

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
    • The Reeves-Hall Family
16:9 WMV showing as 4:3 in CPG; okay locally in WinXP
« on: December 22, 2006, 12:54:06 am »

Hi,

I encoded a 16:9 (widescreen) home video in Pinnacle Studio+ 10.7 as a WMV file. 

I can play it back just fine on my PC; however the same file, when uploaded and added to my CPG (Coppermine) website, shows as standard 4:3.  This means my kids look really, really thin! :-)

The properties of the files state the ratio is 1.77:1 (i.e. 16:9).

I have WinXP SP2 and Windows Media Player v11.0.5721.5145.

Here it is on my website: http://photos.reeves-hall.net/displayimage.php?album=58&pos=1

Thanks in advance for any help;  And Merry Christmas,

~Andrew~
« Last Edit: October 08, 2007, 08:03:26 pm by GauGau »
Logged
~Andrew~

AndrewRH

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
    • The Reeves-Hall Family
Re: 16:9 WMV showing as 4:3 in CPG; okay locally in WinXP
« Reply #1 on: December 22, 2006, 12:59:54 am »

...just to clarify: the problem is when looking at the video in the album (i.e. play it in the thumbnail).  If I double-click on the video it enters full-screen mode and the video ratio is set correctly to 16:9.
Logged
~Andrew~

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: 16:9 WMV showing as 4:3 in CPG; okay locally in WinXP
« Reply #2 on: December 22, 2006, 07:15:18 am »

If you haven't specified the actual width and height of a video, it will default to a 4:3 aspect ratio. After having uploaded a video, edit the file's properties and enter the actual resolution - see http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#edit_vids
Logged

AndrewRH

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
    • The Reeves-Hall Family
Re: 16:9 WMV showing as 4:3 in CPG; okay locally in WinXP
« Reply #3 on: December 24, 2006, 05:22:48 pm »

That did it.  I did search the docs for "16:9" and came up with nothing...

Sure would be nice if (a future version of) Coppermine did the work though (reading the file to know its size)! :-)

Thanks again, and Merry Christmas.
Logged
~Andrew~

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: 16:9 WMV showing as 4:3 in CPG; okay locally in WinXP
« Reply #4 on: December 24, 2006, 05:33:00 pm »

Sure would be nice if (a future version of) Coppermine did the work though (reading the file to know its size)! :-)
Coppermine won't be able to do that, because the ImageLibraries it uses (GD or ImageMagick) can't read videos.
Logged

AndrewRH

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
    • The Reeves-Hall Family
Re: 16:9 WMV showing as 4:3 in CPG; okay locally in WinXP
« Reply #5 on: October 07, 2007, 11:32:28 pm »

One more follow-up.  I 16:9 video that I did recently and saved as WMV showed in its properties that it was 640x480.  However, to get it to show in widescreen (16:9) I had to tell Coppermine that its resolution was 853x480.

Equation is: x/480 = 16/9; rearrange to get x = 16/9*480; solve x = 853.

(Change the "480" to whatever the second value is shown by the file properties; eg. if instead of 640x480 it is 1024x768 then use x/768=16/9)

~Andrew~
Logged
~Andrew~
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.