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 solution came too late to
use it in the exhibition, and I did not have wireless connection at
the place I was so I could not read this until today, that would have
solved lot of trouble and stress ... thanks anyway,


On 8 March 2012 18:59, IOhannes m zmoelnig zmoel...@iem.at wrote:
 -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]?

 fgmasdr
 IOhannes
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.11 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

 iEYEARECAAYFAk9Y84wACgkQkX2Xpv6ydvTVHQCg99lFkjkuEDsuE9ZYL3SYkFZw
 7Z4AoNd1frKcVID/6hXS7aXoyB5AlzAA
 =uL1p
 -END PGP SIGNATURE-


 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


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 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 solution came too late to
 use it in the exhibition, and I did not have wireless connection at
 the place I was so I could not read this until today, that would have
 solved lot of trouble and stress ... thanks anyway,
 
 
 On 8 March 2012 18:59, IOhannes m zmoelnig zmoel...@iem.at wrote:
 -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]?
 
 fgmasdr
 IOhannes
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.11 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
 iEYEARECAAYFAk9Y84wACgkQkX2Xpv6ydvTVHQCg99lFkjkuEDsuE9ZYL3SYkFZw
 7Z4AoNd1frKcVID/6hXS7aXoyB5AlzAA
 =uL1p
 -END PGP SIGNATURE-
 
 
 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list
 
 
 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list





News is what people want to keep hidden and everything else is publicity.   
   - Bill Moyers



___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


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

2012-03-08 Thread Ingo
Could it be possible that your soundfile is being played back with the wrong
samplerate? Like 48k instead of 44.1k?

Ingo

 -Ursprüngliche Nachricht-
 Von: pd-list-boun...@iem.at [mailto:pd-list-boun...@iem.at] Im Auftrag von
 altern
 Gesendet: Donnerstag, 8. März 2012 14:59
 An: pd-list
 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 to this? or do I need to construct my own system
 to play the video passing the frame number to the pix_film? maybe
 using a line object with the total num of frames and the total time
 length of the video ...
 
 thanks
 
 enrike



___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


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 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 the video passing the frame number to the pix_film? maybe
 using a line object with the total num of frames and the total time
 length of the video ...

 thanks

 enrike

 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


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 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 the video passing the frame number to the pix_film? maybe
 using a line object with the total num of frames and the total time
 length of the video ...
 
 thanks
 
 enrike
 
 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


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: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk9Y2oUACgkQkX2Xpv6ydvQnBACgvXJbtzXUDqaqYDk80iDuV/tF
W68AoOcMMDf/nQa5mG+4S6ylXSRtJPtN
=KidA
-END PGP SIGNATURE-



smime.p7s
Description: S/MIME Cryptographic Signature
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


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 SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk9Y2rEACgkQkX2Xpv6ydvRJSgCfZw+DQzL+/fsoFgAeklwA6SN6
lhYAningpnIQtHpaWpTSOSIrvPrwE2gI
=yPQl
-END PGP SIGNATURE-



smime.p7s
Description: S/MIME Cryptographic Signature
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


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 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, or higher if you want to 'strobe' your video
:) )
so I should have written [0, m n 1( above instead...)
gr,
Tim

gr,
Tim


 fgmasdr
 IOhannes
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.11 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

 iEYEARECAAYFAk9Y2oUACgkQkX2Xpv6ydvQnBACgvXJbtzXUDqaqYDk80iDuV/tF
 W68AoOcMMDf/nQa5mG+4S6ylXSRtJPtN
 =KidA
 -END PGP SIGNATURE-


 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


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]?

fgmasdr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk9Y84wACgkQkX2Xpv6ydvTVHQCg99lFkjkuEDsuE9ZYL3SYkFZw
7Z4AoNd1frKcVID/6hXS7aXoyB5AlzAA
=uL1p
-END PGP SIGNATURE-



smime.p7s
Description: S/MIME Cryptographic Signature
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list