What is please the most easy way to record part of sound track from mp4 video file and store it to a new sound file ?
PipeWire is used.
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
How record sound in Debian 11 ?
-
- Posts: 112
- Joined: 2021-01-20 08:44
- Has thanked: 8 times
- canci
- Global Moderator
- Posts: 2502
- Joined: 2006-09-24 11:28
- Has thanked: 136 times
- Been thanked: 136 times
Re: How record sound in Debian 11 ?
Do you consider command line easy? Then ffmpeg.
Do you prefer GUI? Import the video to Audacity, cut the range you want and export it as a sound file.
Do you prefer GUI? Import the video to Audacity, cut the range you want and export it as a sound file.
Stable / Asus VivoBook X421DA / AMD Ryzen 7 3700U / Radeon Vega Mobile Gfx (Picasso) / 8 GB RAM / 512GB NVMe
READ THIS:
* How to Post a Thread Here
* Other Tips and Great Resources
READ THIS:
* How to Post a Thread Here
* Other Tips and Great Resources
Re: How record sound in Debian 11 ?
Install ffmpeg:MakeTopSite wrote: ↑2022-01-16 16:16 What is please the most easy way to record part of sound track from mp4 video file and store it to a new sound file ?
PipeWire is used.
Code: Select all
sudo apt-get update && sudo apt-get install ffmpeg
Code: Select all
ffmpeg -i video.mp4 -vn -ss 00:05:00 -to 00:10:00 extract.mp3
Code: Select all
ffmpeg -encoders && ffmpeg -decoders
-
- Posts: 112
- Joined: 2021-01-20 08:44
- Has thanked: 8 times
[SOLVED] Re: How record sound in Debian 11 ?
done, many thanksGPWR wrote: ↑2022-01-17 00:04Install ffmpeg:MakeTopSite wrote: ↑2022-01-16 16:16 What is please the most easy way to record part of sound track from mp4 video file and store it to a new sound file ?
PipeWire is used.
Use the following command to do what you ask for:Code: Select all
sudo apt-get update && sudo apt-get install ffmpeg
This command takes the audio from the input file "video.mp4", from time 00:05:00 to time 00:10:00, and renders it to MP3. You can change the export format to whatever you want as long as you have the proper codecs installed. The "-vn" argument lets ffmpeg ignore the video and treat the input as audio only, which speeds up everything a lot. I can think of no reason for not putting it in, since you're exporting to audio. Here's how to check what codecs you have:Code: Select all
ffmpeg -i video.mp4 -vn -ss 00:05:00 -to 00:10:00 extract.mp3
Cheers, and good luck. God bless.Code: Select all
ffmpeg -encoders && ffmpeg -decoders