User Tools

Site Tools


tech:mp3_moving

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
tech:mp3_moving [2022/11/02 15:25] – created katsimbristech:mp3_moving [2025/11/22 16:52] (current) – duplicate text removal katsimbris
Line 10: Line 10:
 <code>$ mv "/Volumes/Macintosh HD/Users/MichaelKatsimbris/Desktop/Crazy Example [FLAC]" "/Volumes/Macintosh HD/Users/MichaelKatsimbris/Desktop/input"</code> <code>$ mv "/Volumes/Macintosh HD/Users/MichaelKatsimbris/Desktop/Crazy Example [FLAC]" "/Volumes/Macintosh HD/Users/MichaelKatsimbris/Desktop/input"</code>
  
-After the code is worked on (see next section), move it to the Plex library:+After the code is worked on ([[tech:mp3_moving&do=#command_to_encode_flac_to_mp3_by_directory_folder|see next section]]), move it to the Plex library:
 <code>$ mv "/Volumes/Macintosh HD/Users/MichaelKatsimbris/Desktop/input" "/Volumes/172.16.0.136/music torrents/"</code> <code>$ mv "/Volumes/Macintosh HD/Users/MichaelKatsimbris/Desktop/input" "/Volumes/172.16.0.136/music torrents/"</code>
  
Line 21: Line 21:
 That code will put the mp3 files back in the same folder, and that's really it. That code will put the mp3 files back in the same folder, and that's really it.
  
 +==== Splitting files (MP3s here) ====
 +Split code - The command "-t hh:mm:ss is only for the amount of time you need! NOT an end time.
 +<code> ffmpeg -i input.mp3 -vcodec copy -acodec copy -ss 00:01:37 -t 00:15:27 output1.mp3 </code>
 +
 +==== Splitting files to TimeStamp (MP3s here) ====
 +<code>ffmpeg -ss 00:01:00 -to 00:03:30 -i input.mp4 -c copy output.mp4</code>
 +
 +==== Merging files (MP3s here) ====
 +<code> ffmpeg -i "concat:audio1.mp3|audio2.mp3|audio3.mp3" -c copy merged_audio.mp3 </code>
 +OR\\
 +1) Create a list file in the same directory as audio files.\\
 +
 +<code>file 'audio1.mp3'
 +file 'audio2.mp3'
 +file 'audio3.mp3'</code>
 +
 +2) Save the file as file_list.txt\\
 +3) Run the following command <code> ffmpeg -f concat -safe 0 -i file_list.txt -c copy merged_audio.mp3 </code>
 +
 +==== Extracting Audio from Video ====
 +<code>ffmpeg -i input_video.mp4 -q:a 0 -map a output_audio.mp3</code>
tech/mp3_moving.1667402756.txt.gz · Last modified: by katsimbris