Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

2 Pages<12
Video Thumbails (avi & mp4) & Audio Problem
Hyde
#21 Posted : Thursday, 16 June 2011 12:08:28 PM(UTC)
Rank: Advanced Member

Joined: 7/11/2008(UTC)
Posts: 65
Location: UK

Ah probably wrong of me to use the word Null. I mean in non-tech speak 'nothing; or 'blank'. If that's what an 'empty string' is how do I enter one in the field please?
Hyde
#22 Posted : Friday, 17 June 2011 11:13:49 AM(UTC)
Rank: Advanced Member

Joined: 7/11/2008(UTC)
Posts: 65
Location: UK

Got myself into a mess since I couldn't find a way of entering an empty string. Typing one single quote " or two '' didn't work :-?

So uninstalled and replaced with v2.5.

However the MP4 files are being played back using FlowPlayer (well they would if it worked) and I'm sure I read on your home page that this format file is played back using SilverLight.

In none-techie speak please can you explain why I'm not seeing the SilverLight player in the webpage for mp4 files?

Cheers.
Roger Martin
#23 Posted : Friday, 17 June 2011 11:37:57 AM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,300
Location: Fort Atkinson, WI

Non-techie answer: Your mp4 files are played with FlowPlayer because, starting in 2.4.3, the template defines its usage instead of Silverlight. Flash, which is what FlowPlayer uses, has a much higher install rate than Silverlight, so I decided to use that for all file types that Flash supported.

How you enter an empty string depends on what SQL tool you are using. You can also try entering a single space.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
Hyde
#24 Posted : Friday, 17 June 2011 12:08:29 PM(UTC)
Rank: Advanced Member

Joined: 7/11/2008(UTC)
Posts: 65
Location: UK

Ah okay. In that case you might want to update your features page then. Currently says...

Quote:
A built-in Silverlight player is used for all H.264 .MP4, .WMV, .ASF, .ASX videos.


I think I tried a space too but will attempt that again. Editor is as I posted above "SQLIte Administrator" from Link


[edit]Not that that matters now as you can't edit GalleryServerPro_Data.sdf with SQLite Administrator :( [/edit]
Hyde
#25 Posted : Sunday, 19 June 2011 4:56:16 PM(UTC)
Rank: Advanced Member

Joined: 7/11/2008(UTC)
Posts: 65
Location: UK

Installed WebMatrix and tried editing the gs_BrowserTemplate replacing the text in HtmlTemplate for .MP4 with that from a line that contained MimeType='audio/*' and BrowserId='ie'.

Then removed the text in ScriptTemplate for .MP4 so that it matched the abscence of any script text for the record that had MimeType='audio/*' and BrowserId='ie'

Tried loading GSP in my browser and got a message pop up saying it had encountered an error and that an email had been sent provided that feature had been switched on. Since I don't have an SMTP server no such email could be sent. Is the error recorded in a log file somewhere?

Or can you tell from my steps above where I might have gone wrong?

Cheers.
Roger Martin
#26 Posted : Monday, 20 June 2011 9:07:26 AM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,300
Location: Fort Atkinson, WI

The error should have been recorded in the error log, which you can see in the site settings area. If the error is preventing the site from loading, temporarily revert the browser template back to a working state.

From your description, I don't see that you did anything wrong.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
Hyde
#27 Posted : Sunday, 26 June 2011 3:16:57 PM(UTC)
Rank: Advanced Member

Joined: 7/11/2008(UTC)
Posts: 65
Location: UK

Hi

Sorry been away this last week. Restored backup of database and could load and log in again but the log file is empty. I'll re-edit from scratch and see if I can replicate.
Hyde
#28 Posted : Friday, 1 July 2011 3:59:08 PM(UTC)
Rank: Advanced Member

Joined: 7/11/2008(UTC)
Posts: 65
Location: UK

Started from scratch again and this time succeeded! Well sort of...

GSP now uses the WMP plugin instead of flowplayer, but it takes an age to load the files. In fact I've been waiting 5 minutes now to play a 24Mb file. The plugin says 'Opening Media...' for a while and then the play icon illuminates and the main screen says 'Ready' but clicking on the play icon just goes back to 'Opening Media...' again.

If I use WMP11 app to access the same file across my network it loads and plays in a few seconds.

any ideas?
Roger Martin
#29 Posted : Friday, 1 July 2011 9:29:12 PM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,300
Location: Fort Atkinson, WI

Does the video eventually work? Do smaller videos work?

In general, I am not a fan of the WMP plug-in, primarily because so few browsers have it installed. I don't recommend it unless you can guarantee all your users are using IE.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
Hyde
#30 Posted : Saturday, 2 July 2011 10:37:13 AM(UTC)
Rank: Advanced Member

Joined: 7/11/2008(UTC)
Posts: 65
Location: UK

Yup smaller videos work.

Using WMP11, playback is instant across my network, but via GSP with the plugin large videos never load.

All my users are family, this isn't a public facing site. I don't have any choice in using WMP as Flowplayer doesn't work with Nokia MP4's
Roger Martin
#31 Posted : Saturday, 2 July 2011 10:55:21 AM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,300
Location: Fort Atkinson, WI

I am not sure what GSP can do differently to speed things up. It uses the same mechanism to send data to all plug-ins, so if one plug-in behaves poorly, that doesn't leave much of an option for dealing with it.

About the only thing you might try is to modify the template (table gs_BrowserTemplate) to use {MediaObjectAbsoluteUrlNoHandler} instead of {MediaObjectUrl}. That will cause the browser to request the media object through a direct URL (e.g. http://site.com/gs/mediaobjects.myvideo.avi) instead of through the handler. You can read more about modifying the template in the Admin Guide (look for the section 'Rendering media objects in the browser).
Roger Martin
Creator and Lead Developer of Gallery Server Pro
Hyde
#32 Posted : Saturday, 2 July 2011 1:53:59 PM(UTC)
Rank: Advanced Member

Joined: 7/11/2008(UTC)
Posts: 65
Location: UK

Cheers I'll give it a go.

On another tack is there anyway of passing the file to WMP11 itself rather than the plugin?
Roger Martin
#33 Posted : Saturday, 2 July 2011 2:06:52 PM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,300
Location: Fort Atkinson, WI

Sure, you can do that. You can have it render a hyperlink, which will cause the browser to download it and open it with whatever application is registered for that file type. This is similar to how Word documents are rendered (see Word doc sample).

If you look in gs_BrowserTemplate for the template for Word docs, you'll see this:

<p style="margin-bottom:5em;"><a href="{MediaObjectUrl}" title="Download {TitleNoHtml}">Download {TitleNoHtml}</a></p>

Copy and paste that into the record for the file type you want to update (mp4?).
Roger Martin
Creator and Lead Developer of Gallery Server Pro
Hyde
#34 Posted : Monday, 7 November 2011 10:12:55 AM(UTC)
Rank: Advanced Member

Joined: 7/11/2008(UTC)
Posts: 65
Location: UK

You've done it mate, GSP 2.6 plays all my video formats without issues. WooHoo!

No need for my novice head scratching about editing any files any more.

Cheers
Hyde
Rss Feed  Atom Feed
Users browsing this topic
Guest
2 Pages<12
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.