Skip to content

Instantly share code, notes, and snippets.

Created March 23, 2012 17: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 anonymous/2173100 to your computer and use it in GitHub Desktop.
Save anonymous/2173100 to your computer and use it in GitHub Desktop.
r7801 crash.py
#PY <- Needed to identify#
#--automatically built--
#--Project: /home/jan/.avidemux6/crash.py
adm=Avidemux()
#** Video **
# 01 videos source
adm.loadVideo("/media/Data1_SATA3/ToProcess/0 Downstairs/arte HD @125510_18MAR2012/arte HD @125510_18MAR2012.trp")
#01 segments
adm.clearSegments()
adm.addSegment(0,0,1329022833)
adm.markerA=270777588
adm.markerB=1837277421
#** Postproc **
adm.setPostProc(0,0,0)
#** Video Codec conf **
adm.videoCodec("Copy")
#** Filters **
#** Audio **
adm.audioClearTracks()
#** Track 0 **
# This is wrong
adm.audioAddTrack(0)
adm.audioCodec(0,"copy");
#** Track 1 **
# This is wrong
adm.audioAddTrack(1)
adm.audioCodec(1,"copy");
#** Track 2 **
# This is wrong
adm.audioAddTrack(2)
adm.audioCodec(2,"copy");
#** Muxer **
adm.setContainer("ffTS","acceptNonCompliant=False","vbr=True","muxRateInMBits=10")
#End of script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment