Hello, I have a list of *.wav files to be played in sync with their corresponding video files. I load them into tables to play them with tabread~ Most of the time it works, except for some files, where I get "error: resize failed" and they won't play back. The files are relatively big (between 30 and 100 MB), but I put "-maxsize 9999999" in the loading message. (This should allow to load wave files up to 3.7 minutes long, right ? I do not get the "truncated" warning...) The wavs are created using ffmpeg to extract the audio from the video files. I tried re-encoding the offending wav file in Audacity, with still the same result. The offending files are not necessarily the biggest ones. more strange stuff: The table that should hold the wav file shows a flat line which ends halfway the table, the rest is blank. When opening the properties for the table, and trying to copy the "23151200" in the 'size' entry, I get "error: .gfxstub8585b30.n.entry: no such object", although it seems to copy to the clipboard alright. Pd version 0.41.4-extended ubuntustudio Hardy any ideas ? thanks, Tim
I actually lose sleep over this. IOhannes had a helpful response when I brought it up a while ago, and you can follow the thread here:
http://www.mail-archive.com/pd-list@iem.at/msg31748.html
Sounds like it won't be fixed anytime soon, so I just resize the table to the right amount manually beforehand. Is there an extern for getting soundfile info (e.g., number of frames) without actually loading audio? That would make this issue pretty easy to manage.
William
On Wed, Oct 13, 2010 at 7:20 PM, tim vets timvets@gmail.com wrote:
Hello, I have a list of *.wav files to be played in sync with their corresponding video files. I load them into tables to play them with tabread~ Most of the time it works, except for some files, where I get "error: resize failed" and they won't play back. The files are relatively big (between 30 and 100 MB), but I put "-maxsize 9999999" in the loading message. (This should allow to load wave files up to 3.7 minutes long, right ? I do not get the "truncated" warning...) The wavs are created using ffmpeg to extract the audio from the video files. I tried re-encoding the offending wav file in Audacity, with still the same result. The offending files are not necessarily the biggest ones. more strange stuff: The table that should hold the wav file shows a flat line which ends halfway the table, the rest is blank. When opening the properties for the table, and trying to copy the "23151200" in the 'size' entry, I get "error: .gfxstub8585b30.n.entry: no such object", although it seems to copy to the clipboard alright. Pd version 0.41.4-extended ubuntustudio Hardy any ideas ? thanks, Tim _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
2010/10/14 William Brent william.brent@gmail.com
I actually lose sleep over this. IOhannes had a helpful response when I brought it up a while ago, and you can follow the thread here:
http://www.mail-archive.com/pd-list@iem.at/msg31748.html
Sounds like it won't be fixed anytime soon, so I just resize the table to the right amount manually beforehand. Is there an extern for getting soundfile info (e.g., number of frames) without actually loading audio? That would make this issue pretty easy to manage.
I'll try your suggestion with [wavinfo]. Thanks, Tim
William
On Wed, Oct 13, 2010 at 7:20 PM, tim vets timvets@gmail.com wrote:
Hello, I have a list of *.wav files to be played in sync with their
corresponding
video files. I load them into tables to play them with tabread~ Most of the time it works, except for some files, where I get "error:
resize
failed" and they won't play back. The files are relatively big (between 30 and 100 MB), but I put "-maxsize 9999999" in the loading message. (This should allow to load wave files up to 3.7 minutes long, right ? I
do
not get the "truncated" warning...) The wavs are created using ffmpeg to extract the audio from the video
files.
I tried re-encoding the offending wav file in Audacity, with still the
same
result. The offending files are not necessarily the biggest ones. more strange stuff: The table that should hold the wav file shows a flat line which ends
halfway
the table, the rest is blank. When opening the properties for the table, and trying to copy the
"23151200"
in the 'size' entry, I get "error: .gfxstub8585b30.n.entry: no such
object",
although it seems to copy to the clipboard alright. Pd version 0.41.4-extended ubuntustudio Hardy any ideas ? thanks, Tim _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- William Brent www.williambrent.com
“Great minds flock together” Conflations: conversational idiom for the 21st century
www.conflations.com
Hi all
On Thu, 2010-10-14 at 09:32 +0200, tim vets wrote:
2010/10/14 William Brent william.brent@gmail.com I actually lose sleep over this. IOhannes had a helpful response when I brought it up a while ago, and you can follow the thread here:
http://www.mail-archive.com/pd-list@iem.at/msg31748.html Sounds like it won't be fixed anytime soon, so I just resize the table to the right amount manually beforehand. Is there an extern for getting soundfile info (e.g., number of frames) without actually loading audio? That would make this issue pretty easy to manage.
I'll try your suggestion with [wavinfo]. Thanks, Tim
Unfortunately in the Pd world, there are sometimes many object classes trying to serve the same purpose. In the case of [wavinfo] there is also [soundfile_info] from iemlib. The former does not seem to work very well (it gives completely wrong numbers on certain files), while the latter is working much better. Also [wavinfo] doesn't seem to be supported by the author anymore, while in the case of [soundfile_info] bugs are still being fixed. I strongly recommend to use [soundfile_info] over [wavinfo].
Roman