View Full Version : Video doesn't play back its MP2 audio (update: I can hear the audio now)
Chainmax
5th April 2006, 19:22
I recently downloaded a Nike commercial, it's an MPEG2 file with MP2 audio. When trying to play it, the video is fine but the audio is mute and the only decoding icon that shows up is ffdshow's audio decoder. When feeding the video to TMPG's demultiplex tool, only the audio shows up.
Now, I can transcode the video using AVisynth, but if I mux it with the original MP2 then the audio is mute as well. If I transcode the MP2 into an AC3, and mux it with the transcoded video, the audio does play but it's not in synch with the video anymore. What would you suggest me to do? I can upload the commercial somewhere for you guys to test.
setarip_old
5th April 2006, 19:46
Since you've specifically stated that it's a commercial, I presume it's acceptable to answer youWhen trying to play it, the video is fine but the audio is mute...When feeding the video to TMPG's demultiplex tool, only the audio shows up.This sounds contradictory.
Load the file into VirtualDubMOD and post a screengrab of the "File Information" box...
Chainmax
5th April 2006, 20:52
Here's VDubMod's File Information after loading the video:
http://img359.imageshack.us/img359/1447/vdubmodfileinfo6wk.png (http://imageshack.us)
Here's what appears on TMPG's simple demultiplex window after loading the video:
http://img489.imageshack.us/img489/153/tmpgdemultiplexinfo9lf.png (http://imageshack.us)
Both times, the video was loaded as-is (i.é: I didn't use an avisynth script with directshowsource).
setarip_old
6th April 2006, 01:33
Are you using a purchased version of TMPGEnc that includes MPEG-2 processing capability, or a freeware version that doesn't include MPEG-2 capability? If I transcode the MP2 into an AC3...Convert the audio to .MP3 - and then use VirtualDubMod to multiplex with the videostream and save as .AVI...
Chainmax
6th April 2006, 12:57
It should have MPEG2 encoding enabled, the trial lasts 30 days, right? As for saving as AVI, is that wise with MPEG2 video?
setarip_old
6th April 2006, 19:38
As for saving as AVI, is that wise with MPEG2 video?Try it, for the minute or so that it'll take you (to convert the audiostream to .MP3 and then use VirtualDubMod to multiplex with the videostream and save as .AVI)...
Chainmax
7th April 2006, 21:34
Weird, TMPG's Multiplex option detects both audio and video :confused:. Ok, on to the testing...
[edit]Mmm...the video file extracted with Multiplex is unusable. I'll try opening the original video in Avisynth with DirectShowSource.
[edit2]Something really fishy os going on. This is what VDubMod reports:
http://img422.imageshack.us/img422/4742/saywaht1ma.png (http://imageshack.us)
when using the following Avisynth script:
DirectShowSource("X:\wherever\Nike - Olé.mpg",fps=25,audio=true)
FFT3DFilter(sigma=1,bw=32,bh=32,bt=3,ow=16,oh=16,sharpen=0.7)
LanczosResize(320,256)
AddBorders(16,16,16,16)
Can I just upload this advertisement somewhere so that you can have a go at it?
setarip_old
7th April 2006, 22:26
You've completely lost me! Is this most recent screengrab (of an .AVI) one of a different file than the one you downloaded (an MPEG-2)?
Is there a specific reason you haven't tried what I've suggested?
Chainmax
7th April 2006, 22:38
I was going to try your suggestion, but for that I had to extract the audio. The Demultiplex tool, contrary to the Simple Demultiplex one, was able to detect the video. I tried to play back that video to no avail, which is when I opened this script in VDubMod in order to make a direct stream copy. I didn't proceed because of this file information report.
setarip_old
7th April 2006, 22:55
I was going to try your suggestion, but for that I had to extract the audio.Well, if you're not willing to make such a small effort...
Chainmax
8th April 2006, 18:06
I am going to, but this problem I encountered midway through the process intrigued me and therefore I wanted to ask about it.
Chainmax
26th April 2006, 19:19
I finally managed to considerably clean up my encoding/filtering backlog and will try your suggestion ASAP. Will report back soon.
Chainmax
26th April 2006, 20:07
When loading the mpg directly in AVIMuxGUI, this was reported in the audio section:
http://img186.imageshack.us/img186/5835/avimuxguimessage6oa.png (http://imageshack.us)
I couldn't get just the video, so I loaded the mpg in avisynth via DirectSHowSource with audio=true, encoded the video to ffdshow's YV12 huffyuv, converted the audio to WAV and used RazorLAME w/LAME 3.97b2. At the end of the encoding, this error message appeared:
http://img256.imageshack.us/img256/7397/razorlameerrormessage3wi.png (http://imageshack.us)
The MP3 appeared fine though. Anyway, I muxed the lossless encoding and the MP3 audio with AVIMuxGUI and no audio plays back.
Chainmax
2nd May 2006, 14:12
setarip_old? Are you there?
setarip_old
2nd May 2006, 22:17
Again, is there a specific reason you haven't tried what I've suggested?
Chainmax
3rd May 2006, 00:46
...
I couldn't get just the video, so I loaded the mpg in avisynth via DirectSHowSource with audio=true, encoded the video to ffdshow's YV12 huffyuv
...
I muxed the lossless encoding and the MP3 audio with AVIMuxGUI and no audio plays back.
I tried your suggestion to the best extent I could.
setarip_old
3rd May 2006, 00:50
I can transcode the video using AVisynthSorry, but either I just can't follow what you've said you can and cannot do - or you're changing things in midstream.
Perhaps another member will be better able to work with you on this particular subject...
Chainmax
15th July 2006, 18:53
I found out that using PowerDVD to play the video makes the audio play as well. Is there a way to use PowerDVD's decoders within Avisynth so that I can extract this problematic MP2 and decompress it to WAV?
Chainmax
27th July 2006, 05:38
Anyone?
gameplaya15143
28th July 2006, 16:07
Last time I checked.. mp2 isn't really supposed to support VBR (it can be done, but it's not really 'standard').
Suggestion: Try using ac3filter to decode the mp2 audio instead of ffdshow.
Can VLC play the file properly?
ps. I think graphedit could be very useful on this one.
Chainmax
28th July 2006, 17:12
VLC 0.7.2 can't even play the video. The only thing that has been capable of playing bith video and audio is PowerDVD.
How would I go about using GraphEdit for this? I never used it and have no idea how.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.