- Sold between 50 000 and 100 000 dollars
- Has been a member for 4-5 years
- Microlancer Beta Tester
- United Kingdom
- Attended a Community Meetup
- Author was Featured
- Item was Featured
- Referred between 200 and 499 users
Hey guys,
I’m making that as3 video player and was testing it with a mp4 video. Now I read a few articles and it appears to be normal that one can not seek a H.264 video if it doesn’t have any seek points in it, is that correct?
From what I have read, there is no extra code to add in AS right?
Now I also have a problem with my volume control, with doesn’t work anymore either with that mp4, is that all normal issues with H.264 encoded video?
The video plays fine though, just no video seek or volume seek.
Thanks, Greg
- Attended a Community Meetup
- Community Moderator
- Has been a member for 5-6 years
- United Kingdom
- Contributed a Tutorial to a Tuts+ Site
- Won a Competition
- Contributed a Blog Post
- Beta Tester
- Bought between 50 and 99 items
ive never had any issues with seeking or volume and have tested alot of videos from alot of sources with a current client…
can you link to the video your using…
- Sold between 50 000 and 100 000 dollars
- Has been a member for 4-5 years
- Microlancer Beta Tester
- United Kingdom
- Attended a Community Meetup
- Author was Featured
- Item was Featured
- Referred between 200 and 499 users
Hey Matt , thanks, not good news then lol. I emailed you a link to the online test for my player as it is not encrypted.
This is strange as it plays fine with FLVs…I wouldn’t be surprised if there was a bug in my code as it is my first AS3 video player, but I can’t see any obvious bugs, and since it works OK with FLVs, it appears to be due to the file type.
Now I read a few articles and it appears to be normal that one can not seek a H.264 video if it doesn’t have any seek points in it, is that correct?
No its not, you shouldn’t have any problem with this unless you are using this with functionality cue points(and I don’t think you use cue points)) just a different approach that`s all .
Check your listener NetStatusEvent.NET_STATUS .
in general I think you add your event listener to the wrong element but i am guessing here with out seeing the code .
- Sold between 50 000 and 100 000 dollars
- Has been a member for 4-5 years
- Microlancer Beta Tester
- United Kingdom
- Attended a Community Meetup
- Author was Featured
- Item was Featured
- Referred between 200 and 499 users
Now I read a few articles and it appears to be normal that one can not seek a H.264 video if it doesn’t have any seek points in it, is that correct?No its not, you shouldn’t have any problem with this unless you are using this with functionality cue points(and I don’t think you use cue points)) just a different approach that`s all .
Check your listener NetStatusEvent.NET_STATUS .
in general I think you add your event listener to the wrong element but i am guessing here with out seeing the code .
Thanks Tsafi, that gives me something to look into, I’m pretty sure there is something wrong with my code but since it all went well testing with FLVs, I can’t seem to understand what part breaks my file when using a mp4.
I am adding my netStatusEvent listener to my netStream , isn’t that the only way?
Now I read a few articles and it appears to be normal that one can not seek a H.264 video if it doesn’t have any seek points in it, is that correct?No its not, you shouldn’t have any problem with this unless you are using this with functionality cue points(and I don’t think you use cue points)) just a different approach that`s all .
Check your listener NetStatusEvent.NET_STATUS .
in general I think you add your event listener to the wrong element but i am guessing here with out seeing the code .Thanks Tsafi, that gives me something to look into, I’m pretty sure there is something wrong with my code but since it all went well testing with FLVs, I can’t seem to understand what part breaks my file when using a mp4.
I am adding my netStatusEvent listener to my netStream , isn’t that the only way?
There are many ways doing it fast sample
var LG_Conn:NetConnection = new NetConnection();.
LG_Conn.connect(null);.
var LG_stream:NetStream = new NetStream(LG_Conn);.
LG_stream.play("http://LG.mp4");.
var metaListener:Object = new Object();.
metaListener.onMetaData = theMeta;.
LG_stream.client = metaListener;.
var st:SoundTransform = new SoundTransform();.
LG_stream.soundTransform = st;.
var LGvideo:Video = new Video();.
this.attachNetStream(LG_stream);.
this.width = 840;.
this.height = 460;.
video_mc.addChild(LGvideo);.
From here you can carry on you don’t need to use NetStatusEvent.NET much simple and clean,.
build everything on pure As use enterFrame and build your bytes,,,,, blab la bla
just for sound you need to updateAfterEvent();
- Attended a Community Meetup
- Community Moderator
- Has been a member for 5-6 years
- United Kingdom
- Contributed a Tutorial to a Tuts+ Site
- Won a Competition
- Contributed a Blog Post
- Beta Tester
- Bought between 50 and 99 items
yeah i’m not sure why its not working your end but ive just tried several and it works here 
you’re not on a mac are you
lol
