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
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_...
Answer
#2: Post edited
- 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.