Watch movies with .mts extention in Gallery2

agoela

Joined: 2008-06-29
Posts: 25
Posted: Sat, 2011-06-11 05:09

Is there a way that i can watch .mts movies in gallery2? I have recorded some videos with my camera that have the .mts extention, but after I upload them, it gives the option to download, but not to play the video on the site.


Gallery URL = http://www.formosa-usa.com/gallery2/main.php
Gallery version = 2.3.1 core 1.3.0.1
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.3.6 apache2handler
Webserver = Apache/2.2.17 (Fedora)
Database = mysqli 5.5.12, lock.system=flock
Toolkits = Thumbnail, Exif, Getid3, Gd, ImageMagick, NetPBM, ArchiveUpload, Dcraw, Ffmpeg
Acceleration = none, none
Operating system = Linux formosa-usa 2.6.38.6-27.fc15.i686.PAE #1 SMP Sun May 15 17:39:47 UTC 2011 i686
Default theme = carbon
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.71 Safari/534.24
Rows in GalleryAccessMap table = 18
Rows in GalleryAccessSubscriberMap table = 23
Rows in GalleryUser table = 3
Rows in GalleryItem table = 21
Rows in GalleryAlbumItem table = 2
Rows in GalleryCacheMap table = 0

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Sat, 2011-06-11 06:52

Use the mime maintenance module to add the extension to G2.

--
dakanji.com

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sat, 2011-06-11 18:41

mts or m2ts are MPEG-2 HD and probably won't play via flashplayer, but you could try using the mime maintenance module mentioned by Dayo above and add the extention to the video/x-flv mimetype.

If not then I can hook you up w/ the transcode module(if your ffmpeg version is modern)

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2