View Full Version : using MPEG2Source() need to get sound too!? use directshowsource() on .mp2/a files?
jimbobuk
20th August 2003, 22:04
I've asked about DirectShowSource elsewhere.. having real problems getting it working :(
MPEG2Source() is the only way i can load my videos at the moment.. it works perfectly but obviously i have no sound... is there a way i can add sound!? if i use directshowsource() will that have the usual sound restrictions... how do you specify that a source is audio only, and add it together.. can i delay this audio correctly as DVD2AVI has described in the files filename...
Thanks for your help
Jim
Wilbert
20th August 2003, 23:48
Use the MPASource plugin to load the mp2 audio file (see Q3.5). With DelayAudio you can add a delay to the audio.
jimbobuk
21st August 2003, 14:25
Thanks.. I found that.. the evilMPASource is recommended over mpasource isn't it!? they look the same but the evil one is 1.0, the mpa one is 0.2...
I've asked about this in the post on CPU usage but i got this working but it takes nearly 100% of my 2.8ghz P4 CPU to do a MPEG2Source(), EvilMPASource(), AudioDub(), Telecine() to do realtime playback... bit steep... MPEG2Source() seems to cost a lot, its in the other thread though so i'll leave it there
Wilbert
21st August 2003, 14:52
the evilMPASource is recommended over mpasource isn't it!?
They are different. MPAsource needs the audio file directly. But evilMPAsource will extract the audio when feeding it with the mpg file. evilMPAsource is not well tested (I think), so if possible you should use MPAsource.
jimbobuk
21st August 2003, 17:19
ahh ok, thanks for the clarification.. i did wonder.. I assumed it'd play the mpa file directly (the evil one) but it obviously didn't... ok thanks will try this... still going to need to find a heck of a lot more performance out of something for this to be viable..
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.