Video: MP4 to FLV dirty trick (seems to work with the Turtle skin)
Turtle Skin allowed me to 'cheat' to get streaming video for an MP4 format file by simply renaming the filename extension from .MP4 to .FLV . This seems to trick user's browsers into using the Adobe Flash Player instead of the Quicktime player, and the more recent Flash Players have the capability to stream .MP4
Well ... I've been playing around a lot to get 'web videos' into a quality, size and format which is easily accessible by various family members.
I've read a lot of recommendations on here to use files with the .FLV extension so that the flash player picks it up.
What I've boiled down to now is using Sony Vegas 9.0 to combine, edit, adjust multiple video clips into a movie and then render it into a "Mainconcept AAC H.264" .MP4 format (with whatever size settings you like the best).
.MP4 is usually picked up by the QuickTime plugin for most people's browsers
This means they need to have the QuickTime plugin
And it's a 'download the full movie then play' behaviour.
Because of this people often recommend the .FLV extension (which is what YouTube, Google and others use to stream video) to get the Adobe Flash Player plugin to trigger on your video.
So that brought me to looking to MP4 to FLV convertors since Sony Vegas currently does not render into .FLV directly unfortunately. I tried a few, but the .FLV always ended up 'blurrier' but did work better in my family member's browsers.
So .. here comes the dirty trick.
instead of 'converting and re-encoding/wrapping' MP4 to FLV ... just rename the file from a .mp4 extension to a .flv
A post from videohelp.com is what led me to try this:
Most Flash applications can use .mp4 if you have h.264 video and aac audio. If you need .flv container for some reason, you can use ffmpeg to re-wrap the container - no time wasted re-encoding, no quality loss because the streams are just copied into the new container
H.264 is a better choice than FLV, for quality. I don't know why you're so sure it has to be FLV, as Flash player 10 (and some latter versions of 9) all play H.264 in an MP4 wrapper (may need to rename file to .flv for it to play in some web-players, however -- rename is fine).
Dead simple and 'lossless' way to get your .MP4 to stream using the Adobe Flash Player
.FLV native wrapped files do behave a 'little better' in the Flash Player with a faster start in my experience than these renamed .MP4s, but the quality level maintenance and lack of another encoding/rendering step make this very attractive.
So ... why the post? I'm still very early into trying these mechanisms, and wanted to see if others had had the same experience. I'd be interested to hear if this worked for others who have .MP4 files from sources other than the Sony Vegas rendered output. Also does this work for other Jablum skins for folks (I've only tested in Turtle).
I'm still poking around with this, but this is looking like a very nice solution for generating a streaming video with good playability for users from the Sony Vegas package.
1. Create you MainConcept AAC H.264 video file rendered into an .MP4 format
2. Cheat and rename the .MP4 to .FLV in order to get browsers to use the Adobe Flash Player to play the video file (instead of Quicktime)
3. Run qt-faststart.exe to properly re-order header information in the file so that Streaming works quickly and effectively (this step could actually be done before step 2 if so chosen)
This result is a re-wrapped .FLV file which is playing very easily for me on multiple computers and browers which support the Turtle skin. The file is still a touch large in my opinion via this method, but it is fast and smooth from what I have found. Disclaimer: I am in no way affiliated with the qt-faststart.exe executable so use it at your own risk and take the appropriate safety pre-cautions if you choose to use it.
Re: Video: MP4 to FLV dirty trick (seems to work with the Turtle skin)
in response to: ckemp
If you prefer I can remap MP4 to the flash video player.
Or you can do it yourself by editing skin.js in the skin folder's (Ctrl-Alt-S from Jalbum) 'res' folder.
Find this line (856):
var mtype=new Array(".avi.mp3", ".qt.mov.mpg.mpeg.mpe.mp4.aiff", ".wmv.wma.asf", ".swf", ".flv", ".divx.xvid" );
and move the .mp4 just after .flv
The first group is played with Windows Media Player on PC, Quicktime on Mac, the second is always QT, the third is always WMP, the fourth is plain flash, the fifth is played by Flash Video Player, the sixth is by divx plugin.
Chrome 5.0.375.70 + Flash Player 10.1 (this used to work on a previous Chrome + Flash Player combo on this computer)
IE 8 + Flash Player 10.1
Computers 2 (and 3):
IE 6 + Flash player
Firefox + Flash Player
Note that I can view Youtube videos using all of the above combos with no issues.
I modified the mtype just to test things out and put the .mp4 into the QT section and QT fired them up (but doesn't play them as well as the flash player).
I have tried a complete uninstall and re-install of the flash player, but that does not seem to have helped. Is there some sort of configuration in turtle skin Flash player inclusion which differs from the youtube inclusion?
And I have a second question... there is another page which has the following HTML and it seems to work on many of the browsers I use:
<video controls="" autoplay="" style="margin: auto; position: absolute; top: 0; right: 0; bottom: 0; left: 0;" name="media" src="http://www.someurl.com/foo.mp4"></video>
Is that something which could be made an option in turtle as well on the slidepage?
The code you cite is from a HTML5 document, which is the next level of HTML standards, but unfortunately no support for it in IE7 & 8, which would affect too many users. And you cannot use the <video> tag in earlier HTML standards.