Re: [PD] pix_film and readsf not in sync....

2012-03-09 Thread altern
we had three different videos 4 to 6 mins length. Format was mpeg video, and the audio was standard 44100 16 bits. The video rate was 29.97 and yes I think this was the problem I finally solved it using line to ramp the number of frames+1 in the time duration of the video. Unfortunately my

Re: [PD] pix_film and readsf not in sync....

2012-03-09 Thread Hans-Christoph Steiner
For synced playback of video and audio, you might try my 'framesync' library. Its a bit raw, but the core playback stuff works well, and I've used it in a few projects: http://puredata.info/downloads/framesync .hc On Mar 9, 2012, at 5:08 PM, altern wrote: we had three different videos 4

[PD] pix_film and readsf not in sync....

2012-03-08 Thread altern
hi I am reading a video with pix_film and trigger it using auto, at the same time load a sound file with readsf ~ . This is ok for a while but after some time they go out of sync. The sound goes faster than the video. Any simple solution to this? or do I need to construct my own system to play

Re: [PD] pix_film and readsf not in sync....

2012-03-08 Thread Ingo
Betreff: [PD] pix_film and readsf not in sync hi I am reading a video with pix_film and trigger it using auto, at the same time load a sound file with readsf ~ . This is ok for a while but after some time they go out of sync. The sound goes faster than the video. Any simple solution

Re: [PD] pix_film and readsf not in sync....

2012-03-08 Thread tim vets
Hi, I think I would try it this way: generate frame numbers instead of using auto. [0, m n( | [step] | where m is the number of frames in the video, and n is the number of sample frames in the audio file, divided by 44.1 (or your samplerate) gr, Tim 2012/3/8 altern alte...@gmail.com hi I

Re: [PD] pix_film and readsf not in sync....

2012-03-08 Thread Max
depending on the length of the audio/video there might be different techniques. how long is your clip? have you looked at those examples? http://www.uni-weimar.de/medien/wiki/Audiovideo m. Am 08.03.2012 um 14:58 schrieb altern: hi I am reading a video with pix_film and trigger it using

Re: [PD] pix_film and readsf not in sync....

2012-03-08 Thread IOhannes m zmoelnig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2012-03-08 15:43, tim vets wrote: Hi, I think I would try it this way: generate frame numbers instead of using auto. [0, m n( | [step] | [step]? fgmasdr IOhannes -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment:

Re: [PD] pix_film and readsf not in sync....

2012-03-08 Thread IOhannes m zmoelnig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2012-03-08 15:30, Ingo wrote: Could it be possible that your soundfile is being played back with the wrong samplerate? Like 48k instead of 44.1k? or the framerate of the video is not the same as Gem's framerate. fgamsr IOhannes -BEGIN PGP

Re: [PD] pix_film and readsf not in sync....

2012-03-08 Thread tim vets
2012/3/8 IOhannes m zmoelnig zmoel...@iem.at -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2012-03-08 15:43, tim vets wrote: Hi, I think I would try it this way: generate frame numbers instead of using auto. [0, m n( | [step] | [step]? from maxlib iirc: step :: output

Re: [PD] pix_film and readsf not in sync....

2012-03-08 Thread IOhannes m zmoelnig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2012-03-08 17:44, tim vets wrote: [step]? from maxlib iirc: step :: output sequence of numbers (similar to 'line') sorry, I forgot one thing, it takes a list of 3 values, the third one being step (which would be 1 here oh, you mean [int]?