Skip to content

Instantly share code, notes, and snippets.

@dmcallejo
Created November 16, 2022 10:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmcallejo/3aef05029222eb38604a61b1623784c8 to your computer and use it in GitHub Desktop.
Save dmcallejo/3aef05029222eb38604a61b1623784c8 to your computer and use it in GitHub Desktop.
Fix for "Too short!" error on avidemux
# This will recreate timestamps on the stream allowing avidemux to export the file. Note that the output has to be a Matroska container.
ffmpeg -start_at_zero -copyts -i input_file.ts -map 0:v -c copy -map 0:a:0 output_file.mkv
@yzhang-gh
Copy link

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment