Re: [Flashcoders] flv playback from DVD
Thanks for your ideas - I might jst a few frames of colour matte in the beginning fading up so that this is not an issue anymore. I also think that it's not a Zinc issue, as it even happens when I just play it out of Flash (Ctrl+Enter). We also have since discovered that the audio and video file from which the flv was taken are not exactly the same length in the original, so this may have an impact on this probhlem as well another problme I am having with this which is the stop event not firing properly (but that is another topic on this list ... NIk C On 5/7/07, Lists [EMAIL PROTECTED] wrote: Nik, I think this is on topic. I have not personally had this happen to me, and I have created many, many such apps because of the client-specified need to show the FBI warning at the immediate start of the app. Without looking at your app code, to see if there¹s anything obvious (and I doubt there is), the only thing I can think of is environmental. 1. I use mProjector rather than Zinc. Not sure if that has any impact. 2. Based on your explanation, my theory is heavily leaning toward DVD spin-up or access time. Spin-up may not be an issue since the drive has to spin to launch the app and, presumably, is at full speed. Maybe you could map your DVD burn to put the video closer to the file? Probably not responsible, but it's an idea. What about adding a bit of a delay on the user experience side to allow the FLV to preload? Does increasing the buffer time help? Rich On 5/7/07 6:12 AM, nik crosina [EMAIL PROTECTED] wrote: Going a bit off topic, but have you ever had a kind of hick up every time an flv starts playback. I am having my Zinc created exe start with playing a intro video clip and it always starts with a little stutter or hick up. I guess this is some loading issue, but don't know what to do to solve it... ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Nik C ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] flv playback from DVD
I had some problems with big videos on DVDs and Flash. On local videos, Flash don´t stream, and preloads don´t works. Then, the clients see an black screen after Flash loads a total video to play. My solution was take a Zinc, and work video width MediaPlayer6. The problem is that don´t support flv. I realy need to work with local streaming in Flash, but think this not happen! Ruben -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de nik crosina Enviado el: Martes, 08 de Mayo de 2007 08:16 Para: flashcoders@chattyfig.figleaf.com Asunto: Re: [Flashcoders] flv playback from DVD Thanks for your ideas - I might jst a few frames of colour matte in the beginning fading up so that this is not an issue anymore. I also think that it's not a Zinc issue, as it even happens when I just play it out of Flash (Ctrl+Enter). We also have since discovered that the audio and video file from which the flv was taken are not exactly the same length in the original, so this may have an impact on this probhlem as well another problme I am having with this which is the stop event not firing properly (but that is another topic on this list ... NIk C On 5/7/07, Lists [EMAIL PROTECTED] wrote: Nik, I think this is on topic. I have not personally had this happen to me, and I have created many, many such apps because of the client-specified need to show the FBI warning at the immediate start of the app. Without looking at your app code, to see if there¹s anything obvious (and I doubt there is), the only thing I can think of is environmental. 1. I use mProjector rather than Zinc. Not sure if that has any impact. 2. Based on your explanation, my theory is heavily leaning toward DVD spin-up or access time. Spin-up may not be an issue since the drive has to spin to launch the app and, presumably, is at full speed. Maybe you could map your DVD burn to put the video closer to the file? Probably not responsible, but it's an idea. What about adding a bit of a delay on the user experience side to allow the FLV to preload? Does increasing the buffer time help? Rich On 5/7/07 6:12 AM, nik crosina [EMAIL PROTECTED] wrote: Going a bit off topic, but have you ever had a kind of hick up every time an flv starts playback. I am having my Zinc created exe start with playing a intro video clip and it always starts with a little stutter or hick up. I guess this is some loading issue, but don't know what to do to solve it... ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Nik C ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] flv playback from DVD
Hi Rich, Going a bit off topic, but have you ever had a kind of hick up every time an flv starts playback. I am having my Zinc created exe start with playing a intro video clip and it always starts with a little stutter or hick up. I guess this is some loading issue, but don't know what to do to solve it... Thanks, NIk On 5/4/07, Lists [EMAIL PROTECTED] wrote: Do you mean you want to switch from DVD to net-based delivery? You can't stream from a DVD. If you had a kiosk situation, I guess you could setup a local server and point to the DVD as your asset repository, but you can't do that if you're distributing the DVD. There are a few other things you can do to check for the end of the DVD. You can check for current time and compare it against the duration parsed from the metadata (assuming your encoder has added it and it is reliable). You can let the FLVPlayback component handle the event for you (which has other issues which have been discussed here, namely seeking). If you think the playback will be very reliable because the files are local, you can check for NetStream.Buffer.Empty (The only trouble there is, the buffer can empty and refill if the playback data transfer is choppy. I had that happen from my boot drive a day or two ago, because it was chugging on something else, so it could probably happen with DVD playback.) There are further options, but I'm drawing a blank at the moment. Rich Shupe ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Nik C ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] flv playback from DVD
Nik, I think this is on topic. I have not personally had this happen to me, and I have created many, many such apps because of the client-specified need to show the FBI warning at the immediate start of the app. Without looking at your app code, to see if there¹s anything obvious (and I doubt there is), the only thing I can think of is environmental. 1. I use mProjector rather than Zinc. Not sure if that has any impact. 2. Based on your explanation, my theory is heavily leaning toward DVD spin-up or access time. Spin-up may not be an issue since the drive has to spin to launch the app and, presumably, is at full speed. Maybe you could map your DVD burn to put the video closer to the file? Probably not responsible, but it's an idea. What about adding a bit of a delay on the user experience side to allow the FLV to preload? Does increasing the buffer time help? Rich On 5/7/07 6:12 AM, nik crosina [EMAIL PROTECTED] wrote: Going a bit off topic, but have you ever had a kind of hick up every time an flv starts playback. I am having my Zinc created exe start with playing a intro video clip and it always starts with a little stutter or hick up. I guess this is some loading issue, but don't know what to do to solve it... ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] flv playback from DVD
Hi I am trying tro figurte out what the best way to play back flv's from DVD would be? At the moment I am using the following script: var videoPath = mdm.Application.path+data/av/intro.flv var nc:NetConnection = new NetConnection(); nc.connect(null); var ns:NetStream = new NetStream(nc); IntroClip_video.attachVideo (ns); ns.play (videoPath); ns.onStatus = function(info) { trace(info.code); if (info.code == NetStream.Play.Stop) { gotoAndPlay(10); } }; ...but I am not sure it is the best, as some videos never seem to 'finish' so that the application I am developing hands on the last video frame instead of moving on to frame 10. Would proper streaming be better, than progressive download? Thanks! Nik Crosina ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] flv playback from DVD
Do you mean you want to switch from DVD to net-based delivery? You can't stream from a DVD. If you had a kiosk situation, I guess you could setup a local server and point to the DVD as your asset repository, but you can't do that if you're distributing the DVD. There are a few other things you can do to check for the end of the DVD. You can check for current time and compare it against the duration parsed from the metadata (assuming your encoder has added it and it is reliable). You can let the FLVPlayback component handle the event for you (which has other issues which have been discussed here, namely seeking). If you think the playback will be very reliable because the files are local, you can check for NetStream.Buffer.Empty (The only trouble there is, the buffer can empty and refill if the playback data transfer is choppy. I had that happen from my boot drive a day or two ago, because it was chugging on something else, so it could probably happen with DVD playback.) There are further options, but I'm drawing a blank at the moment. Rich Shupe ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] flv playback from DVD
Hi Rich, Thank you for attempting to answer a rather tentative post, I am finding out more as I am writing this - ... the main reason why I posted was because the video I got from the client didn't trigger the script that was supposed ot execute at the end of the video. Now it turns out that Flash 8 encoder doesn't do it's job properly when entering the metadata and I have found that Flix Pro does. Or at least in such a way that it triggers 'NetStream.Play.Stop' which is what I would assume is safest when determining whether a clip has finished playing back. The DVD is the distribution medium and I have done loads of these with Director, but not so many with Flash (probably going to change in the future though). Nik On 5/4/07, Lists [EMAIL PROTECTED] wrote: Do you mean you want to switch from DVD to net-based delivery? You can't stream from a DVD. If you had a kiosk situation, I guess you could setup a local server and point to the DVD as your asset repository, but you can't do that if you're distributing the DVD. There are a few other things you can do to check for the end of the DVD. You can check for current time and compare it against the duration parsed from the metadata (assuming your encoder has added it and it is reliable). You can let the FLVPlayback component handle the event for you (which has other issues which have been discussed here, namely seeking). If you think the playback will be very reliable because the files are local, you can check for NetStream.Buffer.Empty (The only trouble there is, the buffer can empty and refill if the playback data transfer is choppy. I had that happen from my boot drive a day or two ago, because it was chugging on something else, so it could probably happen with DVD playback.) There are further options, but I'm drawing a blank at the moment. Rich Shupe ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Nik C ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com