[flashpro] Best practice for creating FLV video files

elusive elu at elusive.de
Fri Oct 28 15:47:12 EDT 2005


what i like about this solution compared to swf playback (i'm not 
talking about flash 8 since i had no chance to lay my hand on it yet) is 
the you can playback a video with 25fps inside a flash movie running at 
12fps (for instamce).

you'r right - eric, a progressbar is a bit tricky. but you can do it. as 
long as you know the length of the movie - which you can evaluate using 
the meta data (with flv 1.2).
the end detection works fine - it just displays different values in 
different browsers. you can track what happens at the end of a movie by 
using the status command.

on the other hand i heard today that the quality of flash8 flvs i way 
better...

> I'm not really convinced by netStream netconnection without a flash  
> server....
> it work if you don't need a player with progress bar.
> i've tested for a client and had problems with end  detection, length  
> of film etc, etc...
> yes it's cool for flash weight, only 10 Ko for code and video object  
> but not for advance feature.
> the MediaDisplay component add more class and event but the dark side  
> is the weight 100Ko just for playing video... :(
>
> Stephen for your question about flash 7 video..
> you need mediaDisplay (only the video) or mediaPlayBack component  
> (with a "remote" play,stop, rewind,,,).
> it work only with sorenson video encoding
>
> I recommand you an article about video encoding flash "on2 vs sorenson"
> http://www.communitymx.com/content/article.cfm?cid=BD063
>
> hope this help
>
> eric
>
> Le 28 oct. 05 à 15:42, elusive a écrit :
>
>> Hi Stephen,
>>
>> i took a look at the code and it's basically what the flash help  
>> says - so it wont make sense to paste it into this email.
>> simply hit help/actionscript dictionary
>>
>> what you need is
>> video class
>> NetConnection Class
>> and NetStream Class
>>
>> here's the example from video class/ Video.attachVideo:
>>
>> var nc:NetConnection = new NetConnection();
>> nc.connect(null);
>> var ns:NetStream = new NetStream(my_nc);
>> my_video.attachVideo(ns); // my_video is a Video object on the Stage
>> ns.play("myVideo.flv");
>>
>> it's realy simple.
>>
>> but dont forget to put a video object onto the stage. see "To place  
>> a Video object on the Stage:..." in video class
>>
>> hope this helps
>>
>> elu
>>
>>
>>
>> Am 28.10.2005 um 15:30 schrieb Stevio:
>>
>>
>>> Would you say it is acceptable to just code it for version 8 and  
>>> put a note on the web site saying to install the version Flash 8  
>>> player when prompted?
>>>
>>> If not, are you able to direct me to a help file or guide with  
>>> instructions for using those classes to create a version 7 file?  
>>> The difference in quality between Sorenson and On2 codings is  quite 
>>> noticeable.
>>>
>>> Stephen
>>>
>>>
>>> ----- Original Message ----- From: "elusive" <elu at elusive.de>
>>> To: "Mailing list for professional Flash designers and developers"  
>>> <flashpro at muinar.org>
>>> Sent: Friday, October 28, 2005 8:35 AM
>>> Subject: Re: [flashpro] Best practice for creating FLV video files
>>>
>>>
>>>
>>>
>>>> i just did it using the netStream, vidStream and video classes.
>>>>
>>>> it's easy.
>>>>
>>>> e
>>>>
>>>> Am 27.10.2005 um 23:58 schrieb Stevio:
>>>>
>>>>
>>>>
>>>>> ----- Original Message ----- From: "eric choisy" <bbp at bbp- 
>>>>> online.com>
>>>>>
>>>>>
>>>>>
>>>>>>> If so, I have another question - when I coded the video using  
>>>>>>> Sorenson for Flash player 7, and then created the SWF file in   
>>>>>>> Flash and set the Publish settings for Flash Player 7 version   
>>>>>>> and hit Publish, I get a warning saying that this movie uses   
>>>>>>> features that are not supported in Flash Player version 7:
>>>>>>>
>>>>>>> "Scene=Scene 1, layer=Layer 1, frame=1:The component   
>>>>>>> 'FLVPlayback' requires Flash Player 8 or later."
>>>>>>>
>>>>>>> How can that be if I have coded it using Sorenson?
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> you certainly use the flvplayback component that require flash  8 
>>>>>> player !!
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> How do you create a swf file that plays an FLV file for Flash   
>>>>> player 6 or 7 without using the flvplayback component?
>>>>>
>>>>> Thanks,
>>>>> Stephen
>>>>>
>>>>>
>>>
>>> ------------------------------------------------------------------
>>> send message to the list:               mailto:flashpro at muinar.org
>>> [FlashPro] list info, subscribe, archive:   http://flash-list.com/
>>> There's also a WebPro mailing list:     http://webdesign-list.com/
>>> cutting-edge sounds for flash:            http://flash-sounds.com/
>>>
>>>
>>
>> ------------------------------------------------------------------
>> send message to the list:               mailto:flashpro at muinar.org
>> [FlashPro] list info, subscribe, archive:   http://flash-list.com/
>> There's also a WebPro mailing list:     http://webdesign-list.com/
>> cutting-edge sounds for flash:            http://flash-sounds.com/
>>
>>
>
> ------------------------------------------------------------------
> send message to the list:               mailto:flashpro at muinar.org
> [FlashPro] list info, subscribe, archive:   http://flash-list.com/
> There's also a WebPro mailing list:     http://webdesign-list.com/
> cutting-edge sounds for flash:            http://flash-sounds.com/
>
>




More information about the FlashPro mailing list