This is working now:
#PY <- Needed to identify #
#--automatically built--
adm = Avidemux()
adm.loadVideo("/media/DataB_SATA3/ToProcess/1Upstairs/arte HD @074540_10JUL2012/arte HD @074540_10JUL2012.trp")
adm.clearSegments()
adm.addSegment(0, 0, 1273140000)
adm.markerA = 0
adm.markerB = 1273140000
adm.videoCodec("Copy")
adm.audioClearTracks()
adm.audioAddTrack(0)
adm.audioCodec(0, "copy");
adm.audioAddTrack(1)
adm.audioCodec(1, "copy");
adm.audioAddTrack(2)
adm.audioCodec(2, "copy");
adm.setContainer("ffTS", "acceptNonCompliant=False", "vbr=True", "muxRateInMBits=10")
however this was previously working to, not anymore:
#PY <- Needed to identify #
#--automatically built--
adm.videoCodec("Copy")
adm.audioClearTracks()
adm.audioAddTrack(2)
adm.audioCodec(0, "copy");
adm.audioAddTrack(1)
adm.audioCodec(1, "copy");
adm.audioAddTrack(0)
adm.audioCodec(2, "copy");
adm.setContainer("ffTS", "acceptNonCompliant=False", "vbr=True", "muxRateInMBits=10")omitting
- part where video is loaded:
adm = Avidemux()
adm.loadVideo("/media/DataB_SATA3/ToProcess/1Upstairs/arte HD @074540_10JUL2012/arte HD @074540_10JUL2012.trp")- part were markers are set:
adm.clearSegments()
adm.addSegment(0, 0, 1273140000)
adm.markerA = 0
adm.markerB = 1273140000This was promising for batch processing.