Option to Not Load Audio? » Trening siłowy » Forum


  Users   Rejestracja   Wejście
Dzisiaj: 03.06.2025 - 22:25:48
Strony:  1  2  

Option to Not Load Audio?

Ogłoszenie

.
AutorWiadomość

darw

users




Statystyka:
Wiadomości: 14
Rejestracja: 18 gru 2014, 9:16

I was trying out avisynth with this divx5 file I had and I kept getting this message: "ACM failed to suggest a compatible PCM format". A little bit of looking around (and looking at the information for the source avi in virtualdub) and it turns out the audio is AC3. I'm guessing it's not supported at the moment (I'm scarily new to avisynth) and passing the 'False' option on AVIFileSource plays the file just fine, minus audio. So now that I've meandered all over the place, my question is this: Is there any way to have avisynth determine if it should turn off audio for the source file? Maybe something I'm missing where if it encounters the above, it switches off audio? Failing that, is there a list of audio formats supported/not supported that I can catch and when generating the .avs file, I can add the 'False' option to AVIFileSource automatically?

---------------------
Wiadomość # 1 22.07.22 - 02:41:20
RE: Option to Not Load Audio?

adamz689

users




Statystyka:
Wiadomości: 240
Rejestracja: 08 wrz 2012, 23:33

It depends entirely on what ACM codecs you have installed on your computer. If VDub can read it, so can Avisynth.

---------------------
Wiadomość # 2 22.07.22 - 02:51:08
RE: Option to Not Load Audio?

polsat_info

users




Statystyka:
Wiadomości: 12
Rejestracja: 06 cze 2006, 11:24

Well, in my case VDub will play the file but will not play the audio. However, I did a direct stream copy of a small marked segment, making sure audio was set to avi and when I played the clip back with Gabest's mpc player, audio was fine. So VDub itself seems not to play the audio. I was originally just wondering if there was some option I could set for the .avs script to tell it to skip or KillAudio if it couldn't properly ... err... render it, I suppose. I apologize for that's a stupid question but I'm just starting in on this and I'm curious about how the program works. Edit: (Just In Case), avisynth 2.0.7.0 and vdub 1.4.12

---------------------
Wiadomość # 3 22.07.22 - 02:57:24
RE: Option to Not Load Audio?

wnuuk

users




Statystyka:
Wiadomości: 61
Rejestracja: 16 sie 2013, 21:59

My post was misleading -- substitute "if VDub can decode the audio..." and it makes more sense. The problem -- though I'm hesitant to classify it as such just yet -- is that Avisynth, in VDub-speak, only has full reprocessing mode. It's a much more powerful one in that it supports way more video & audio formats than VDub's RGB24 & two-channel PCM, but there are no datapaths for allowing pass-thru of compressed video or audio. Can you come up with some scenarios where this might be useful? If it's something we need to add, the requisite interface changes definitely have to be made before 2.5 is finalized!

---------------------
last minute
Wiadomość # 4 22.07.22 - 03:05:19
RE: Option to Not Load Audio?

bedi

users




Statystyka:
Wiadomości: 41
Rejestracja: 04 maja 2016, 20:49

No, I don't think it would be necessary to add, at least not for me. I end up demuxing the AC3 audio off the file anyway and then downmix and convert it in BeSweet.

---------------------
Wiadomość # 5 22.07.22 - 03:13:36
RE: Option to Not Load Audio?

Pingwin

users




Statystyka:
Wiadomości: 21
Rejestracja: 25 maja 2006, 20:20

I mostly leave the ac3 audio intact and unchanged on my HDTV captures but I guess I can accomplish the same thing with VdubMod by just opening the ac3 file there. So pass thru would be nice. But it would at least be useful to be able to choose to read only the video portion when the audio wouldn't be used anyway. - Tom

---------------------
Wiadomość # 6 22.07.22 - 03:24:15
RE: Option to Not Load Audio?

extor

users




Statystyka:
Wiadomości: 3
Rejestracja: 20 paź 2007, 21:28

AVISource(string filename[,...], bool "audio", string "pixel_type") audio=false ==> the audio is not decoded (not even tried to do so)

---------------------
Wiadomość # 7 22.07.22 - 03:33:27
RE: Option to Not Load Audio?

Ajzenbiśla

users




Statystyka:
Wiadomości: 5
Rejestracja: 05 sty 2023, 11:19

You can check if AviSource fails by something like: Try { AviSource("file.avi", audio=true) } Catch(err_msg) { err_msg="Not used" AviSource("file.avi", audio=false) } An error is only returned if even with audio=false the file can't be opened.

---------------------
Wiadomość # 8 22.07.22 - 03:41:10
RE: Option to Not Load Audio?

p1fan

users




Statystyka:
Wiadomości: 16
Rejestracja: 11 kwie 2008, 9:16

Brilliant! That worked just as advertised. I'm going to dig around some more on Try/Catch Error and learn more about it. In the meantime, thank you very much.

---------------------
Wiadomość # 9 22.07.22 - 03:47:48
RE: Option to Not Load Audio?

kilers9

users




Statystyka:
Wiadomości: 42
Rejestracja: 22 wrz 2007, 13:49

Attention - BUG 

---------------------
Wiadomość # 10 22.07.22 - 03:55:41
RE: Option to Not Load Audio?
OK Folder in Folder : Poprzedni tematNastępny temat: win2k pro and movies nothing works!!!!
Strony:  1  2  

Administrator zabronił gościom odpowiadać na wiadomości! Aby się zarejestrować, kliknij link: rejestr


Uczestnicy