Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to the Power Users community on Codidact!

Power Users is a Q&A site for questions about the usage of computer software and hardware. We are still a small site and would like to grow, so please consider joining our community. We are looking forward to your questions and answers; they are the building blocks of a repository of knowledge we are building together.

Post History

71%
+3 −0
Q&A How do I cut out a section of audio from a larger one, with VLC?

The answer is pretty straightforward, just a few arguments: nvlc -I dummy input_file.mp3 --start-time 30 --stop-time 35 --sout file/mp3:output_file.mp3 vlc://quit where input_file.mp3 and output_...

posted 3y ago by JesseW‭  ·  edited 3y ago by JesseW‭

Answer
#2: Post edited by user avatar JesseW‭ · 2021-11-07T21:36:17Z (about 3 years ago)
add more detail
  • The answer is pretty straightforward, just a few arguments:
  • `nvlc -I dummy input_file.mp3 --start-time 30 --stop-time 35 --sout file/mp3:output_file.mp3 vlc://quit`
  • The answer is pretty straightforward, just a few arguments:
  • `nvlc -I dummy input_file.mp3 --start-time 30 --stop-time 35 --sout file/mp3:output_file.mp3 vlc://quit`
  • where `input_file.mp3` and `output_file.mp3` are the input and output files, as would be expected. The `--start-time` and `--stop-time` arguments are in **seconds** (can be sub-second if desired) since the beginning of the file. So in this example, the resulting file will be just 5 seconds long. The `-I dummy` disables the UI, while the trailing `vlc://quit` avoids needing to force-quit it after it finishes the conversion.
  • You can listen to the file first to figure out the start and stop times.
#1: Initial revision by user avatar JesseW‭ · 2021-11-07T21:32:47Z (about 3 years ago)
The answer is pretty straightforward, just a few arguments:

`nvlc -I dummy input_file.mp3 --start-time 30 --stop-time 35 --sout file/mp3:output_file.mp3 vlc://quit`