Skip to content

Instantly share code, notes, and snippets.

@emcodem
Created April 10, 2024 09:51
Show Gist options
  • Save emcodem/dbd67aa3eacf9b8c8799e58058128328 to your computer and use it in GitHub Desktop.
Save emcodem/dbd67aa3eacf9b8c8799e58058128328 to your computer and use it in GitHub Desktop.

Revisions

  1. emcodem created this gist Apr 10, 2024.
    7 changes: 7 additions & 0 deletions timebase.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@

    ffmpeg -i "concat:v1.mp4|v2.mp4" -i "concat:a1.mp4|a2.mp4" -codec copy -map 0:v -map 1:a -video_track_timescale 25 out.mp4 -y

    C:\temp\webinterface_1.4.0.5\tools\ffmpeg\ffprobe.exe -show_frames -select_streams v out.mp4 > out_frames.txt && C:\temp\webinterface_1.4.0.5\tools\ffmpeg\ffprobe -show_packets -select_streams v out.mp4 > out_packets.txt

    working:
    ffmpeg -i "concat:v1.mp4|v2.mp4" -i "concat:a1.mp4|a2.mp4" -codec copy -map 0:v -map 1:a -video_track_timescale 25 out.mp4 -y