Hi. I want to know if there are any tools other than TMPGenc, virtual dub or audacity that will capture the audio from an MPEG so I can redo sound?
I was having trouble with VCD MPEG ( Here - https://www.videohelp.com/forum/viewtopic.php?t=233080 )
I now have full video thanks to DVD-Lab I cannot demultiplex more than 12:09 mins of audio from the MPEG (the full audio should be 1hr 32mins).
I guess what I'm asking is there any way whatsoever I can get the audio from this particular MPEG file?
Is there no raw mode I can use to extract the audio in full (media Player reads the whole MPEG with sound).
Any help greatly appreciated.
Thank you.
TheEverLiving
+ Reply to Thread
Results 1 to 17 of 17
-
"Smell The Flowers Whilst You Can."
-
bbdmux should do the trick and it is free. Do a web search for bbtools.
I messed with the source to improve the performance and extract all the streams in one pass using a megabyte buffer for each stream. I informed the author and got no reply so I assume it is legal to post the source and executable for Windows if you or others are interested onto my web site. My version runs faster then TMPGen Tools as well. I have only tested it on some VOBs with AC3 audio and files produced by the PVR-250 but all seemed to be fine.Ted Rossin
http://www.tedrossin.0sites.net/ -
Hi. I have found the bbdmux tool but I havn't got a clue on how to use it. Is there any chance you could maybe give me an idea on what to do with it?
I tried drag the MPEG into it, it does do something but I don't seem to get any saved file from it.
Not great with dos commands.
Thank you.
TheEverLiving"Smell The Flowers Whilst You Can." -
bbdmux is a command line tool. Copy bbdmux to the directory where your MPEG file is located. Get a "command prompt" then type bbdmux.
You will get the instructions like below:
Code:bbDMUX - version 1.9, by Brent Beyeler (beyeler@home.com) speed increases by, Apachez and Christian Vogelgsang bbDUMX is an MPEG transport and program stream de-multiplexor Usage: bbDMUX MPEG filename <stream id/PID saved name> <substream id> Program stream examples: To get a list of the stream and substream id's present in an MPEG file bbDMUX testfile.mpg To save a video stream (id 0xe0) to the file video.m2v bbDMUX testfile.m2p 0xe0 video.m2v To save an audio stream (id 0xc0) to the file audio.m2a bbDMUX testfile.mpg 0xc0 audio.m2a To save an AC3 audio stream (substream 0x80) to the file audio.ac3 bbDMUX testfile.vob 0xbd audio.ac3 0x80 Transport stream example: To save an video stream (PID = 0x001B) to the file video.m2v bbDMUX testfile.vob 0x001B video.m2v
bbdemux MYFile.mpg
Hit <CTRL+C> to stop it once a bunch of stuff scrolls by.
An example might be this:
Found stream id 0xBF = Private Stream 2
Found stream id 0xE0 = Video Stream 0
Found stream id 0xC0 = MPEG Audio Stream
Found stream id 0xBE = Padding Stream
Step 2: Extract the audio
bbdmux MYfile.mpg 0xc0 Myfile.m2a
If the audio stream is AC3 it gets to be a bit more fun.
File VTS_01_0.vob is an MPEG-2 Program Stream
Found stream id 0xBF = Private Stream 2
Found stream id 0xE0 = Video Stream 0
Found stream id 0xBD = Private Stream 1, substream 0x20, Subpicture stream 0
Found stream id 0xBE = Padding Stream
Found stream id 0xBD = Private Stream 1, substream 0x80, AC3 Audio stream 0
For AC3 you need stream id plus substream ID (in this case 0xbd and 0x80)
bbdmux Myfile.mpg 0xbd Myfile.ac3 0x80
----------------
My modification to the tool:
demux Myfile.mpg Out
Produces:
Out_c0.m2a (Audio stream)
Out_e0.m2v (Video stream)
For AC3:
Out_180.ac3 (Audio stream)
Out_e0.m2v (Video stream)Ted Rossin
http://www.tedrossin.0sites.net/ -
Hi again. I tried; "bbdemux mympeg.mpg 0xc0 mympeg.m2a" Extracted 71mb.
I tried importing the .m2a file into dvd lab and it only extracted 11 mins of audio. Just cannot seem to extract this audio, have tried almost everything.
EDIT: I added a picture of completion with bbdmux, maybe tell you more:
Maybe I'm doin it wrong?
Thank you for trying.
TheEverLiving"Smell The Flowers Whilst You Can." -
Sorry about that. I did not realize that you were using an MPEG-1 file. I think DVDLab can only produce DVDs so I would guess that the audio from an MPEG-1 file is incompatable and will need to be converted. I forget off hand but I think MPEG-1 uses 44KHz audio and DVDs need 48KHz sampling rate. Have you tried loading the audio file into Windows Media Player? When you select Open, make sure you change the file filter to all files and then load the .m2a file. See if it sounds correct and is of the correct length. 70 MBytes for 90 minutes would be a very low bit rate (103 Kbits/s instead of say 244 Kbits/sec).
If the file seems good to Bill Gates, then you might try BeSweet to convert it to DVD sampling rate and then feeding that into DVDLab.Ted Rossin
http://www.tedrossin.0sites.net/ -
Hi. I put the .m2a file into Windows Media Player and I get 44min 20secs - Audio should be 1hr 32mins - I think the MPEG may have been joined at some stage, would that be the problem and if so is there anything else I can do to extract the full audio?
EDIT: I can play the whole Mpeg (with a couple stutters "maybe joined audio/video" in widows media player). Its wierd.
This is properties of playing the mpeg file in media player:
This is the properties of the audio file after bbdmux:
Hope this will help.
Thank you.
TheEverLiving"Smell The Flowers Whilst You Can." -
The only other thing I can think of is to split the file at the point where the audio ends or where it was joined using TMPGen tools. Then use the tools to rejoin the mpeg files. If you can't find the point you could always try to to get TMPGen to recompress the file into DVD format and hope that it fixes the audio. Other than that I'm out of ideas. Hopefully, someone else has an idea.
It sure does sound like a bad join. Getting at the source and redoing the edits with a different tool may be the only solution.Ted Rossin
http://www.tedrossin.0sites.net/ -
Hi again...lol - Yeah I'm quite new to this sort of editing, are there any Guides + programs that maybe I can use?
P.S. I have used TMPGenc previously: MPEG Tools> demultiplexing> and that when demuxing only gives me 19mb audio, works out around 12:09 mins.
Thank you.
TheEverLiving"Smell The Flowers Whilst You Can." -
Hi. I'd gave up on this, good thing I looked back here...lol Goldwave got the complete Audio. Thank You Faithful Follower!
How do I convert the Audio from 41.1khz to 48khz, Can I set goldwave to extract as 48khz or do I need another program? (I ran the defaults when I extracted the 41.1khz from the mpeg).
When I try loading the 41.1khz Audio file into DVD-Lab it will only allow 48-96khz - resulting in nothing apearing in DVD-Lab.
Thank you.
TheEverLiving"Smell The Flowers Whilst You Can." -
Hi. Thanks for all your help, finaly managed to get both the sound + video running the created DVD on my Standalone DVD Player.
I now have another problem:
When I play the DVD on Standalone Player, the sound appears to be ahead of the video, I used DVD-Lab to compile the DVD after using ffmpegGUI to encode MP2 file - All seemed fine until I play the DVD. Is there anything I may have done wrong to make the audio run infront of video?
Thank you for your help, its much appreciated.
TheEverLiving"Smell The Flowers Whilst You Can." -
Use VirtualDUbMod to check the length of the m2v file and use Goldwave to time warp the audio file.
-
Hi. The video actually runs ahead of the audio. I have loaded the video into Virtualdubmod, here is the file information:
Virtualdubmod:
Goldwave Information:
Goldwave Time Warp Information:
I havn't a clue where to start here, never done the time warp before (Goldwave also new to me).
Any suggestions?
Thank you.
TheEverLiving"Smell The Flowers Whilst You Can." -
First of all, do not move the slide bar on VDub manually to determine the length of the video, move the slide bar to near the end and press play, where the video stops, thats the correct end point.
Write down the exact time : e.g. 1:15:58.854.
On the Goldwave time warp window, click the button says ' length '.
Adjust the time at the right accordingly. Click OK.
When done go to> file>save as.
Now this may not work 100%, there are many factors to cause the audio sync problems. Lets see if this method works for you. -
Holdon, just re-read your last post and saw the two timestamps on VDub and Goldwave are the same?
If they are and you still got sync issues, you then have to determine how the sync is off. By constantly or gradually. Do a search on the forums, as this kind of issues had mentioned numerous time.
Similar Threads
-
Extracting audio from flv
By Mike99 in forum AudioReplies: 30Last Post: 22nd Apr 2011, 08:31 -
Extracting audio from .ts
By leopardx in forum Video ConversionReplies: 2Last Post: 23rd Apr 2009, 16:22 -
Extracting Music from Audio CD
By prayami in forum AudioReplies: 4Last Post: 4th Aug 2008, 17:59 -
extracting audio and changing it
By usermm in forum Newbie / General discussionsReplies: 6Last Post: 25th Jan 2008, 14:41 -
Extracting audio from AVI's
By KoolDrew in forum Video ConversionReplies: 4Last Post: 22nd Aug 2007, 20:24