Avidemux 2.6.10 & 2.6.11beta1 Ending Encoding After 1%

Started by ddn2003, January 03, 2016, 12:57:15 AM

Previous topic - Next topic

ddn2003

I have tried to encode a rip from a DVD (in both DVD folder and ISO file) to x264/MP4v2 file. I have ripped the DVD in both formats using DVD Shrink and CloneDVD2. It always ends at 12.9MB.

Here's my py project file:
adm = Avidemux()
adm.loadVideo("D:/Downloads/HARRY_POTTER/7DEATHLY_HALLOWS_PART1/VTS_01_1.VOB")
adm.clearSegments()
adm.addSegment(0, 0, 8765023154)
adm.markerA = 0
adm.markerB = 8765023154
adm.videoCodec("x264", "useAdvancedConfiguration=True", "general.params=CBR=1536", "general.threads=0", "general.preset=ultrafast", "general.tuning=film", "general.profile=baseline", "general.fast_decode=False", "general.zero_latency=False"
, "general.fast_first_pass=True", "level=-1", "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=1280", "height=716", "algo=2", "sourceAR=2", "targetAR=0")
adm.addVideoFilter("crop", "top=88", "bottom=94", "left=0", "right=0")
adm.audioClearTracks()
adm.setSourceTrackLanguage(0,"unknown")
adm.audioAddTrack(0)
adm.audioCodec(0, "LavAAC", "bitrate=192");
adm.audioSetMixer(0, "STEREO");
adm.audioSetDrc(0, 0)
adm.audioSetShift(0, 0,0)
adm.setContainer("MP4V2", "optimize=0", "add_itunes_metadata=0")

I have also tried the 720p under the Auto menu and manually setting everything to AVI/MP3. Nothing is working.

Can anyone help?

Jan Gruuthuse

Not going in to details on dvd rip, this is not the forum for this.
using 720p = upscaling original video
dvd   = 720x480 (ntsc) 720x576 (pal)
720p = 1280x720

avi = not the recommended container to use (aged), audio leave on copy
load your dvd video, select:
- Video Output: Mpeg4 AVC (x264)
- Audio Output: Copy
- Output format: MP4v2 Muxer
on average this would reduce file size by 1/3 (example 38.8 MB to 12.2 MB)

ddn2003

The DVD rips were pretty simple. They all were just the movie's title with only English audio and no subtitles.

I'll try your suggestion and see if I can get it to work.

ddn2003

Quote from: Jan Gruuthuse on January 03, 2016, 07:17:26 AM
Not going in to details on dvd rip, this is not the forum for this.
using 720p = upscaling original video
dvd   = 720x480 (ntsc) 720x576 (pal)
720p = 1280x720

avi = not the recommended container to use (aged), audio leave on copy
load your dvd video, select:
- Video Output: Mpeg4 AVC (x264)
- Audio Output: Copy
- Output format: MP4v2 Muxer
on average this would reduce file size by 1/3 (example 38.8 MB to 12.2 MB)

Just tried your suggestion and it still crapped out after 1%.

ddn2003

Quote from: Jan Gruuthuse on January 03, 2016, 07:17:26 AM
Not going in to details on dvd rip, this is not the forum for this.
using 720p = upscaling original video
dvd   = 720x480 (ntsc) 720x576 (pal)
720p = 1280x720

avi = not the recommended container to use (aged), audio leave on copy
load your dvd video, select:
- Video Output: Mpeg4 AVC (x264)
- Audio Output: Copy
- Output format: MP4v2 Muxer
on average this would reduce file size by 1/3 (example 38.8 MB to 12.2 MB)

I tried your settings and still can't get it to encode past 1%. I've re-ripped it with multiple programs and all do the same thing. The idx2 file can be found at https://dl.dropboxusercontent.com/u/16879913/VTS_01_1.VOB.idx2. Maybe there is something wrong with the file Avidemux creates.

Jan Gruuthuse

Delete the .idx2 files
Load VTS_01_1.VOB
When avidemux asks to autoload remaining parts: reply no. Append manually each part to the already loaded video.
File: Append
- VTS_01_2.VOB
File: Append
- VTS_01_3.VOB
...

ddn2003

Quote from: Jan Gruuthuse on January 04, 2016, 12:59:45 PM
Delete the .idx2 files
Load VTS_01_1.VOB
When avidemux asks to autoload remaining parts: reply no. Append manually each part to the already loaded video.
File: Append
- VTS_01_2.VOB
File: Append
- VTS_01_3.VOB
...

Tried this, still no-go. Ended up using Handbrake to encode it. I was able to encode the other 7 Harry Potter DVDs without any problem.

Thanks for all the help!

Jan Gruuthuse