Thanx!!! it works with 32k segments :)
I think that is the buffer size...

Regards
Karol Zapolski


On Thu, 2006-08-24 at 23:36 +0200, RedShift wrote:
> 
> Karol Zapolski wrote:
> > Hello everybody!
> > 
> > I'm capturing video from /dev/video0 with php :
> > 
> > ...some code....
> > $vid0=fread($handle0,1024);  # get 1KB of data
> > fwrite($min_file0,$vid0);    # and save it  
> > ...some other code
> > 
> > I'm creating 1 min long files... all files are playable with vlc,
> > mplayer, windows media player (with extra codecs) but if I try to edit
> > them, 50% of files could not be opened in adobe premiere...
> > Probably because of cutting frame/header in the middle...
> > 
> > If it's true then maybe I should get different size of packet (instead
> > of 1024 byte maybe 64bytes)
> > 
> > Can somebody help me?
> > 
> 
> Try 4096 bytes
> 
> > Regards
> > Karol Zapolski
> > 
> > 
> > 
> > _______________________________________________
> > ivtv-users mailing list
> > [email protected]
> > http://ivtvdriver.org/mailman/listinfo/ivtv-users
> > 
> > 
> 
> _______________________________________________
> ivtv-users mailing list
> [email protected]
> http://ivtvdriver.org/mailman/listinfo/ivtv-users


_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users

Reply via email to