INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Video to Audio Conversion - Some Practical Feedback in an MC19 World  (Read 3290 times)

astromo

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2251

With Christmas looming I had some spare time to tackle a job that I've had on the back burner for some time. As the subject line indicates, that's extracting the audio from some music videos. I went here to get clued up:
MC18 NEW: Video to Audio Conversion
and here's a run down of my experience.

I strayed from the path (possibly without needing to) driven by a need to get stuff done while I had the time. I'm hoping that this post will draw comment to show me where I could have used MC to effect instead of using alternate tools for the job. Note that I did check the forum and Wiki so, if I missed a key piece of the puzzle, it's due to my poor talents with the internet search function. Along the way, I observed some ways in which I believe MC can be improved and offer them up here as food for thought.

OK ..

It all starts with Hell Freezes Over. As in the Eagles live concert.

If you need the back story, check here:
Hell Freezes Over Audio Quality
In short, there are listeners out there who consider the CD audio quality to be sub-standard compared with the DVD. I'll leave you to go through the details in your own time. In purely number terms, the DVD gets better Dynamic Range values than the CD by a significant margin. So, there's some basis to the discussion.

Leaving the value or sense of this to one side, it should be clear what my mission was:
  • Extract the Audio from the DVD source in lossless (2 channel stereo) format suitable for listening pleasure

To qualify one point further and just so the picture is clear, my system works in straight forward, good ol', plain vanilla, 2 channel stereo. So, there's not much point in extracting a 5.1 audio track when it needs to be manipulated to achieve a 2.0 output. There's even less point when the source has both a 5.1 audio as well as a 2.0 audio track embedded within it.
 
So, using MC I could do a convert to audio, just like it says on the pack. However (and please clue me in if I missed it), I wasn't able to select which audio stream from the DVD source. So, I extracted a massive .wav file - presumably because it was loaded with all the 5.1 audio streams. Anyway that's what showed up with the feedback from MC and using other tools like MediaInfo. I did have the option to use DSP studio to manipulate the audio stream to stereo during audio conversion but that doesn't make a lot of sense. Mission fail.

Without taking you through the whole saga, I had cause to source some ... ahem ... other video related, paid licence software some time ago and on the off chance, I checked out what it could do. What it offered is the ability to extract video files from the DVD source leaving the audio streams intact and unconverted (and here's the pearler) by Chapter. I did give working with Particles a go but it's a fair bit of mucking around and when I was able to pull the video to pieces by Chapter, I didn't look back.

By the way, I had the option to compress the audio stream but, obviously, that wouldn't make sense when audio quality is the goal.

Right, so after running the Chapter by Chapter extraction process (that I was able to do in bulk by the way), I still had the problem of preferentially extracting the 2.0 audio stream. Given that it's the 2nd audio stream, I needed a tool to enable me to select that audio. From what I could make out, most non-selective options that I had available (including MC) would default to the 1st audio stream. Please advise whether MC can do this and if so, how?

Anyway, I found a piece of freeware (Pazera Free Audio Extractor 2.0) that enabled me to choose the audio stream, so I selected the PCM 2.0 stream and extracted it to .wav so that I could trim the audio in MC's Media Editor where required. Easy and straight forward.

I found with Media Editor that I couldn't key in the trimmed time selection. I was forced to make a selection by mouse only. Is there any way that I can be precise with time cuts, rather than rely on my shaky mouse skills?

I also noted that some of the .wav's displayed up to 6 audio streams with only 2 streams that contained audio data. Is there any way to remove audio streams that are redundant using Media Editor?

I then converted the edited .wav to .flac using MC to compact the file. To clean up the audio (i.e. get rid of the empty audio channels), I selected "Output Format" in the DSP Studio option that's on offer from the audio format conversion function and selected the number of channels as 2 channel stereo, without up or down mixing - just to make sure that there was no manipulation.

The result - some cool toons extracted from a vid source in lossless stereo.


In summary, the aspects where MC could be improved are:
1. user editable chapter marks of video files
2. extraction of video by chapter
3. extraction of audio from video by chapter
4. the ability to select the extracted audio stream muxed in with the video (in lossless mode)
5. the ability for Media Editor to select &/or delete audio channels

Regarding Point 1, mkv video files can have their chapter marks edited by users simply using this methodology:
MKV Chapters
This is why I convert my videos to .mkv, I'm aware that .mp4 has the ability to accept chapters but from what I've been able to make out so far, they're not as easy to deal with as .mkv's.

Is there any reason why a format as simple as this couldn't be included within the .xml sidecar?


The aspects where Media Editor could be improved are:
1. The ability to pick the audio selection by entering the required times by keyboard entry, rather than by mouse selection
2. The ability to delete or pare down the audio channels


Merry Christmas all and I hope you're enjoying MC as much as me, and we all keep doing so..   8)
Logged
MC33, Win10 x64, HD-Plex H5 Gen2 Case, HD-Plex 400W Hi-Fi DC-ATX / AC-DC PSU, Gigabyte Z370 ULTRA Gaming 2.0 MoBo, Intel Core i7 8700 CPU, 4x8GB GSkill DDR4 RAM, Schiit Modi Multibit DAC, Freya Pre, Nelson Pass Aleph J DIY Clone, Ascension Timberwolf 8893BSRTL Speakers, BJC 5T00UP cables, DVB-T Tuner HDHR5-4DT

6233638

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 5353
Re: Video to Audio Conversion - Some Practical Feedback in an MC19 World
« Reply #1 on: December 23, 2013, 06:40:07 am »

If you are dealing with lossy files, e.g. Dolby/DTS (rather than TrueHD/DTS-HD/PCM) it does seem like you would be best to extract the track as it is, rather than performing a conversion as Media Center does.
I'm not sure if this is what you are hinting at, but the simplest way I can think of doing this would be a two-step process.
 
1. Rip the disc with MakeMKV.
2. Convert the MKV to an MKA file, stripping out the video with MKVToolNix (MKV Merge)
 
You can either select the audio tracks you want right away in the first step, or you could select them later in MKV Merge - it shouldn't matter.
I would not suggest converting to WAV for editing, but either using MKV Merge to cut the tracks as you want, or Media Center's [Playback Range] to set the start/end points, though this will leave you with a bigger file.
Logged

astromo

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2251
Re: Video to Audio Conversion - Some Practical Feedback in an MC19 World
« Reply #2 on: December 23, 2013, 06:47:10 am »

Cheers. Thanks for the quick reply   ;)

Always good to know what other ways there are to skin the cat.
Logged
MC33, Win10 x64, HD-Plex H5 Gen2 Case, HD-Plex 400W Hi-Fi DC-ATX / AC-DC PSU, Gigabyte Z370 ULTRA Gaming 2.0 MoBo, Intel Core i7 8700 CPU, 4x8GB GSkill DDR4 RAM, Schiit Modi Multibit DAC, Freya Pre, Nelson Pass Aleph J DIY Clone, Ascension Timberwolf 8893BSRTL Speakers, BJC 5T00UP cables, DVB-T Tuner HDHR5-4DT

mojave

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3732
  • Requires "iTunes or better" so I installed JRiver
Re: Video to Audio Conversion - Some Practical Feedback in an MC19 World
« Reply #3 on: December 23, 2013, 08:50:04 am »

So, using MC I could do a convert to audio, just like it says on the pack. However (and please clue me in if I missed it), I wasn't able to select which audio stream from the DVD source.
Whatever audio track you have selected for DVD playback is also the audio track that will be used for Convert Video to Audio. Start playback of the DVD, select your stream, and stop playback of the DVD and the stream selected will now be used for conversion.

I know you mentioned Particles involve "a fair amount of mucking around," but I find them very easy and quick. Creating track playback ranges is very easy using Particles. The Particle wiki entry has more information on dividing a video concert into individual songs.

Once you figure out the above two items you will be converting Video to Audio in just a few minutes all within JRiver. After conversion you can delete all of your Particles if you don't need them.

Here is another thread you might want to read:
Create Particles - Playback Range defined by Chapter not Time Codes
Logged

astromo

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2251
Re: Video to Audio Conversion - Some Practical Feedback in an MC19 World
« Reply #4 on: December 31, 2013, 11:39:16 pm »

Whatever audio track you have selected for DVD playback is also the audio track that will be used for Convert Video to Audio. Start playback of the DVD, select your stream, and stop playback of the DVD and the stream selected will now be used for conversion.

I know you mentioned Particles involve "a fair amount of mucking around," but I find them very easy and quick. Creating track playback ranges is very easy using Particles. The Particle wiki entry has more information on dividing a video concert into individual songs.

Once you figure out the above two items you will be converting Video to Audio in just a few minutes all within JRiver. After conversion you can delete all of your Particles if you don't need them.

Here is another thread you might want to read:
Create Particles - Playback Range defined by Chapter not Time Codes

Thanks for the feedback Mojave. Reading the post Create Particles - Playback Range defined by Chapter not Time Codes started by jmone is bang on the mark. I had skimmed it before and from a second read, the take home message is that the capability that I'm asking for was requested back at the end of 2012 and appears to have lost momentum ...

We're swamped right now.  Sorry.

Mac is only part of it.  We've got several projects for manufacturers.  Bob is gone this week.  The dog ate my homework.   Etc.
;D

Speaking of time, how are BD menus going?  That would solve the problem too (wink).
Once i start selling my software, i'll take requests.  ;)

I'm not sure how Matt's comment about BD menus is relevant. Can anyone shed light on that one? Is that piece of work close to its end point?
Logged
MC33, Win10 x64, HD-Plex H5 Gen2 Case, HD-Plex 400W Hi-Fi DC-ATX / AC-DC PSU, Gigabyte Z370 ULTRA Gaming 2.0 MoBo, Intel Core i7 8700 CPU, 4x8GB GSkill DDR4 RAM, Schiit Modi Multibit DAC, Freya Pre, Nelson Pass Aleph J DIY Clone, Ascension Timberwolf 8893BSRTL Speakers, BJC 5T00UP cables, DVB-T Tuner HDHR5-4DT
Pages: [1]   Go Up