User Tools

Site Tools


tech:mp3_moving

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tech:mp3_moving [2024/10/24 21:15] – adding split and merging info katsimbristech:mp3_moving [2025/11/22 16:52] (current) – duplicate text removal katsimbris
Line 24: Line 24:
 Split code - The command "-t hh:mm:ss is only for the amount of time you need! NOT an end time. 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> <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) ==== ==== Merging files (MP3s here) ====
Line 35: Line 38:
  
 2) Save the file as file_list.txt\\ 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 -c copy merged_audio.mp3 </code>+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.1729804542.txt.gz · Last modified: by katsimbris