How to extract audio from long movies

Moderator: Ken Berry

User avatar
jparnold
Advisor
Posts: 1086
Joined: Sat Dec 17, 2005 10:45 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gigabyte Z390 UD
processor: Intel Pentium i7 9700 3dot6Ghz
ram: 16GB DDR3
Video Card: Gigabyte RTX2060 OC 6GB
sound_card: Onboard Realtec ALC887
Hard_Drive_Capacity: 2048Gb mix
Monitor/Display Make & Model: Samsung S27C450B
Corel programs: Videostudio X10, Paint Shop Pro 2018
Location: Blue Mountains, NSW, Australia

How to extract audio from long movies

Post by jparnold »

I have an MP4 movie which is quite long and I would like to extract the audio to a file.
I have loaded the movie into the timeline but when I extract the audio (CREATE SOUND FILE) it only extracts the first 18 minutes 20 seconds. I have tried using VS6 and VS10 with the samje result.
Is there a setting which is limiting the length of the output? If not can anyone suggest a freeware audio extractor?

Thanks
John a
VS X10 Ultimate, Paint Shop Pro 2018 Ultimate, Audacity, Panasonic HC-X920M, Nikon Coolpix S8100
remmyhi
Posts: 46
Joined: Tue Oct 06, 2009 5:45 pm
operating_system: Windows 11
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: HP Omen 15
processor: Intel i7
ram: 24gb
Video Card: RTX 2070
Hard_Drive_Capacity: 1TB

Re: How to extract audio from long movies

Post by remmyhi »

You can extract the audio from the video, remove the video track and share the project as audio only.
Best regards
Remi
User avatar
jparnold
Advisor
Posts: 1086
Joined: Sat Dec 17, 2005 10:45 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gigabyte Z390 UD
processor: Intel Pentium i7 9700 3dot6Ghz
ram: 16GB DDR3
Video Card: Gigabyte RTX2060 OC 6GB
sound_card: Onboard Realtec ALC887
Hard_Drive_Capacity: 2048Gb mix
Monitor/Display Make & Model: Samsung S27C450B
Corel programs: Videostudio X10, Paint Shop Pro 2018
Location: Blue Mountains, NSW, Australia

Re: How to extract audio from long movies

Post by jparnold »

Thanks
I am assuming that you mean that I should drag the video clip onto the audio track?
John a
VS X10 Ultimate, Paint Shop Pro 2018 Ultimate, Audacity, Panasonic HC-X920M, Nikon Coolpix S8100
remmyhi
Posts: 46
Joined: Tue Oct 06, 2009 5:45 pm
operating_system: Windows 11
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: HP Omen 15
processor: Intel i7
ram: 24gb
Video Card: RTX 2070
Hard_Drive_Capacity: 1TB

Re: How to extract audio from long movies

Post by remmyhi »

No, drag it on Video track, then right click on it --> Audio --> Split Audio, then remove the video track. Just let audio stay. Then go to share and share with Audio only.
Best regards
Remi
User avatar
jparnold
Advisor
Posts: 1086
Joined: Sat Dec 17, 2005 10:45 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gigabyte Z390 UD
processor: Intel Pentium i7 9700 3dot6Ghz
ram: 16GB DDR3
Video Card: Gigabyte RTX2060 OC 6GB
sound_card: Onboard Realtec ALC887
Hard_Drive_Capacity: 2048Gb mix
Monitor/Display Make & Model: Samsung S27C450B
Corel programs: Videostudio X10, Paint Shop Pro 2018
Location: Blue Mountains, NSW, Australia

Re: How to extract audio from long movies

Post by jparnold »

Thanks
It's been a while since I last edited movies and have in the past often split the audio from a video clip so that I could replace it with something else.

HOWEVER I ended up with the same problem BUT then noticed that the output WAV file was 4.18GB in length and although I have a 64bit system I remembered that was a filesize limit so will have to 'extract' to a different format. Problem is though that Audacity won't accept WMA or M4A (audio) files due to patent restrictions (to convert to MP3). Any ideas?
John a
VS X10 Ultimate, Paint Shop Pro 2018 Ultimate, Audacity, Panasonic HC-X920M, Nikon Coolpix S8100
canuck
Posts: 2037
Joined: Wed Mar 14, 2012 3:28 pm
operating_system: Windows 8.1
System_Drive: C
32bit or 64bit: 64 Bit
Location: Deep River, Ontario, Canada

Re: How to extract audio from long movies

Post by canuck »

How long in time is your source file? There is no 4GB file size limit unless you are "rendering" to a non-NTSC( ie, FAT) device. I just extracted the audio from a over 2 hour movie the wav file that was generated is only 1.5GB in size.
Exactly what process/steps are you following? There is no need to first split the audio from the video as remmyhi suggested. You simply click Share and the click Audio and then select the output format to create the audio file.
User avatar
RobertOZ
Advisor
Posts: 2426
Joined: Tue Jun 26, 2012 12:50 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Asus Prime B550M-A WI-FI AM4 mATX
processor: AMD Ryzen 5 3600 3 6 GHz
ram: 16GB
Video Card: Asus Geforce GTX 1650 GDDR6 Driver 551 23
sound_card: Realtek High Definition Audio
Hard_Drive_Capacity: 7 TB
Monitor/Display Make & Model: Philips 32" IPS LED, Samsung 28" 3840x2160 UHD 4K
Corel programs: VS2018/21/22/23 & MS 3D, MCC XL
Location: Mornington, Vic. Australia

Re: How to extract audio from long movies

Post by RobertOZ »

What canuck has suggested is by far the simplest way of achieving an audio only file
User avatar
jparnold
Advisor
Posts: 1086
Joined: Sat Dec 17, 2005 10:45 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gigabyte Z390 UD
processor: Intel Pentium i7 9700 3dot6Ghz
ram: 16GB DDR3
Video Card: Gigabyte RTX2060 OC 6GB
sound_card: Onboard Realtec ALC887
Hard_Drive_Capacity: 2048Gb mix
Monitor/Display Make & Model: Samsung S27C450B
Corel programs: Videostudio X10, Paint Shop Pro 2018
Location: Blue Mountains, NSW, Australia

Re: How to extract audio from long movies

Post by jparnold »

Answers to questions -

I did originally not split the audio but simply placed the MP4 file onto a video track and then attempted to output to a sound file. I only split on recommendation from another (it made no difference).

Video file (MP4) is 752mb in size and is over 7 hours long (yes extremely long as it is a book being read with no moving video just an image of the book's cover which I wanted as an MP3 file which I could add to my mobile/cell phone to listen to at leisure).

My devices are all formatted to NTFS which I thought does not have a 4gb filesize limit - is this what VS is doing (limiting output files to 4gb)?

I have repeatedly done the same exercise (output to a WAV sound file with the same problem of just 18 minutes of sound being created because of filesize limit).

I have been successful outputting to a WMA sound file which is 62mb and just found that my mobile phone will play WMA sound files - I should have checked that first.

I would though be still interested in knowing why VS limits an output filesize to 4GB when the output device is NTFS. All my storage devices are NTFS. I find this interesting and disturbing.
John a
VS X10 Ultimate, Paint Shop Pro 2018 Ultimate, Audacity, Panasonic HC-X920M, Nikon Coolpix S8100
canuck
Posts: 2037
Joined: Wed Mar 14, 2012 3:28 pm
operating_system: Windows 8.1
System_Drive: C
32bit or 64bit: 64 Bit
Location: Deep River, Ontario, Canada

Re: How to extract audio from long movies

Post by canuck »

I don't know where you are going wrong but I just created a 5.8GB wav file by extracting the audio from a over 9 hour video. (I added the same 2:22hour movie 4 times to the timeline). So it is not a VS 4GB limit.
I have to add that I am using VS2020 so perhaps something has changed over the versions
asik1
Posts: 3446
Joined: Thu Apr 17, 2014 6:07 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: H170M-E D3
processor: i5-6600
ram: 8gb
Video Card: GTX1050-2GB
Hard_Drive_Capacity: No hoarder
Monitor/Display Make & Model: 2K HP-27MQ
Corel programs: VS-X9.2, 2020, 2023
Location: Israel

Re: How to extract audio from long movies

Post by asik1 »

No need for VS , any converter will do so, like handbrake or XMediaRecode
Panasonic X900m, VXF1
canuck
Posts: 2037
Joined: Wed Mar 14, 2012 3:28 pm
operating_system: Windows 8.1
System_Drive: C
32bit or 64bit: 64 Bit
Location: Deep River, Ontario, Canada

Re: How to extract audio from long movies

Post by canuck »

No need for any 3rd part converters as VS does it just fine
User avatar
jparnold
Advisor
Posts: 1086
Joined: Sat Dec 17, 2005 10:45 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gigabyte Z390 UD
processor: Intel Pentium i7 9700 3dot6Ghz
ram: 16GB DDR3
Video Card: Gigabyte RTX2060 OC 6GB
sound_card: Onboard Realtec ALC887
Hard_Drive_Capacity: 2048Gb mix
Monitor/Display Make & Model: Samsung S27C450B
Corel programs: Videostudio X10, Paint Shop Pro 2018
Location: Blue Mountains, NSW, Australia

Re: How to extract audio from long movies

Post by jparnold »

Thanks again for your interest and suggestions.
There is no need to take this further now that I have found that my mobile/cell phone can play WMA audio files. I thought that I needed MP3 and as VS can't do MP3 I decided on WAV and then convert that with Audacity.
I still have no idea why I was getting only 18 minutes of (WAV) audio audio file and all I could think of was that it had something to do with a filesize limit and I know that FAT32 has that filesize limit (4Gb) yet ALL of my devices (I have 2 HDD and 1 SDD drive) are formatted as NTFS. Could it be that VS6 and VS10 are 32 bit applications (not 64 bit) I wonder? I thought that VS10 was a 64bit application but in any case I cannot think that would have any effect.

Anyway outputting to a WMA file which it seems are smaller than an equivalent MP3 even though they are both 'lossy' and as it is only the (freq) range of a human voice it is good enough.
John a
VS X10 Ultimate, Paint Shop Pro 2018 Ultimate, Audacity, Panasonic HC-X920M, Nikon Coolpix S8100
User avatar
Davidk
Posts: 2090
Joined: Wed Nov 26, 2008 12:08 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUS Prime B660M-K D4
processor: Intel core i3-12100 3_3ghz quad core processor
ram: 16Gb
Video Card: on-motherboard Intel UHD 730 graphics chipset
Hard_Drive_Capacity: 6Tb
Monitor/Display Make & Model: HP E240c video conferencing monitor
Corel programs: VideoStudio: 2022, 2023
Location: Brisbane Australia

Re: How to extract audio from long movies

Post by Davidk »

X10 is a 64bit app. Whether you have it - can be checked. Help About will tell you.

As to phones playing wma vs mp3; my android 8 phone cannot play wma file because the phone OS won't display that filetype, even if (connected to a PC) the file is in the memory. It displays only mp3, and thus will only play that music filetype.
jorgensen
Posts: 33
Joined: Tue Aug 13, 2019 1:06 pm
operating_system: Windows 8.1
System_Drive: C
32bit or 64bit: 64 Bit

Re: How to extract audio from long movies

Post by jorgensen »

Taken from Wiki:
The WAV format is limited to files that are less than 4 GiB, because of its use of a 32-bit unsigned integer to record the file size header. Although this is equivalent to about 6.8 hours of CD-quality audio (44.1 kHz, 16-bit stereo), it is sometimes necessary to exceed this limit, especially when greater sampling rates, bit resolutions or channel count are required. The W64 format was therefore created for use in Sound Forge. Its 64-bit header allows for much longer recording times.

You could consider AAC which is more or less standard for today video editing as well as iPhone standard.
User avatar
jparnold
Advisor
Posts: 1086
Joined: Sat Dec 17, 2005 10:45 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gigabyte Z390 UD
processor: Intel Pentium i7 9700 3dot6Ghz
ram: 16GB DDR3
Video Card: Gigabyte RTX2060 OC 6GB
sound_card: Onboard Realtec ALC887
Hard_Drive_Capacity: 2048Gb mix
Monitor/Display Make & Model: Samsung S27C450B
Corel programs: Videostudio X10, Paint Shop Pro 2018
Location: Blue Mountains, NSW, Australia

Re: How to extract audio from long movies

Post by jparnold »

Aha! I knew there must have been a reason (WAV files limited to 4Gb). I wonder though how canuk managed a 5.8Gb WAV file. Thanks heaps for that information.

I have now found on Wkipedia -

The WAV format is limited to files that are less than 4 GiB, because of its use of a 32-bit unsigned integer to record the file size header.

How did you manage a 5.8Gb WAv file, Canuk?


David I have a 3 year old Samsung J2 mobile phone which runs Android Nougat (version 7) and have no problems playing WMA sound files.

Unless my phone can't play WMA files AAC isn't an option as neither VS6 or VS10 can create them but thanks for the suggestion.
Last edited by jparnold on Tue Mar 03, 2020 11:28 pm, edited 1 time in total.
John a
VS X10 Ultimate, Paint Shop Pro 2018 Ultimate, Audacity, Panasonic HC-X920M, Nikon Coolpix S8100
Post Reply