News:

--

Main Menu

Editing projects in custom files

Started by Richard Hole, February 02, 2014, 03:44:37 PM

Previous topic - Next topic

Richard Hole

Hello

I am using Avidemux 2.6.7 in Windows XP

I am trying to save the settings in a project file in the custom folder so I will not have to enter the video and audio outputs and resize I want each time. However, I think I have to delete the video file name and address from the project file. Otherwise it reloads the file with that name. I tried removing it. However, I could not save the file or use the scroll bar. I am not sure what to remove. I read http://www.avidemux.org/admWiki/doku.php?id=tutorial:presets and it was not clear what I should remove and the example there looked different to mine below.

What is the exact text I need to remove from the below?

Regards Richard.

#PY  <- Needed to identify #
#--automatically built--

adm = Avidemux()
adm.loadVideo("C:/Documents and Settings/Richard/My Documents/My Videos/videos (2)/Catalyst - ABC1 - 2014-01-31.ts")
adm.clearSegments()
adm.addSegment(0, 388920000, 1638240000)
adm.markerA = 0
adm.markerB = 1638240000
adm.videoCodec("x264", "general.params=AQ=20", "general.threads=99", "general.fast_first_pass=True", "level=4294967295", "vui.sar_height=1", "vui.sar_width=1", "MaxRefFrames=3", "MinIdr=25", "MaxIdr=250", "i_scenecut_threshold=40"
, "intra_refresh=False", "MaxBFrame=3", "i_bframe_adaptive=1", "i_bframe_bias=0", "i_bframe_pyramid=2", "b_deblocking_filter=True", "i_deblocking_filter_alphac0=0", "i_deblocking_filter_beta=0", "cabac=True"
, "interlaced=False", "constrained_intra=False", "tff=True", "fake_interlaced=False", "analyze.b_8x8=True", "analyze.b_i4x4=True", "analyze.b_i8x8=True", "analyze.b_p8x8=True", "analyze.b_p16x16=False"
, "analyze.b_b16x16=False", "analyze.weighted_pred=2", "analyze.weighted_bipred=True", "analyze.direct_mv_pred=1", "analyze.chroma_offset=0", "analyze.me_method=1", "analyze.me_range=16", "analyze.mv_range=-1"
, "analyze.mv_range_thread=-1", "analyze.subpel_refine=7", "analyze.chroma_me=True", "analyze.mixed_references=True", "analyze.trellis=1", "analyze.psy_rd=1.000000", "analyze.psy_trellis=0.000000", "analyze.fast_pskip=True"
, "analyze.dct_decimate=True", "analyze.noise_reduction=0", "analyze.psy=True", "analyze.intra_luma=11", "analyze.inter_luma=21", "ratecontrol.rc_method=0", "ratecontrol.qp_constant=0", "ratecontrol.qp_min=10"
, "ratecontrol.qp_max=51", "ratecontrol.qp_step=4", "ratecontrol.bitrate=0", "ratecontrol.rate_tolerance=1.000000", "ratecontrol.vbv_max_bitrate=0", "ratecontrol.vbv_buffer_size=0", "ratecontrol.vbv_buffer_init=0"
, "ratecontrol.ip_factor=1.400000", "ratecontrol.pb_factor=1.300000", "ratecontrol.aq_mode=1", "ratecontrol.aq_strength=1.000000", "ratecontrol.mb_tree=True", "ratecontrol.lookahead=40")
adm.addVideoFilter("swscale", "width=600", "height=338", "algo=2", "sourceAR=2", "targetAR=2")
adm.audioClearTracks()
adm.setSourceTrackLanguage(0,"eng")
adm.audioAddTrack(0)
adm.audioCodec(0, "Lame");
adm.audioSetDrc(0, 0)
adm.audioSetShift(0, 0,0)
adm.setContainer("AVI", "odmlType=1")

mean

remove

adm.loadVideo("C:/Documents and Settings/Richard/My Documents/My Videos/videos (2)/Catalyst - ABC1 - 2014-01-31.ts")
adm.clearSegments()
adm.addSegment(0, 388920000, 1638240000)
adm.markerA = 0
adm.markerB = 1638240000


and exec it AFTER loading your source video