Author Topic: Avidemux 2.6 r 8097 w7 64bit - Too Short  (Read 37289 times)

Invertex

  • Newbie
  • *
  • Posts: 3
Re: Avidemux 2.6 r 8097 w7 64bit - Too Short
« Reply #15 on: April 06, 2015, 01:01:36 AM »
Are you using the latest avidemux?
avidemux_2.6.8_8_march_2015_win32.exe @ http://www.avidemux.org/nightly/win32/
avidemux_2.6.8_9_march_2015_win64.exe @ http://www.avidemux.org/nightly/win64/
This issue still happens for me on that latest release. It seems that AVIDemux does not like how "Open Broadcaster" encodes its H.264 files.
Here is the video file I am trying to re-encode and it's telling me it's too short. (This is my own recording, nothing copyright infringing)
https://mega.co.nz/#!SZQQDQAb!GOUUaC-HC1zGigdi_vigU1NWREsjaxwTu8JFbyV2KB4

Hope it helps, as this is a bug I run into a lot these days it seems.

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6051
Re: Avidemux 2.6 r 8097 w7 64bit - Too Short
« Reply #16 on: April 06, 2015, 04:56:49 AM »
You need to tell how you want to re-encode:
- video part
- audio part
some stuff does not work, some does. I'm not on windows, so it could be my testing is not relevant to your working environment.
I'm no expert in this:
Video wise could be an issue (container profile=High@3.1)(Main@L4.1), first time I see this combination, could be contradicting information
If you have a choice to select otherwise?
Can you give some detail on you avidemux setup?
Your recording re-encoded: openbroadcaster 3.8 MB download
update to: Mar 28 Apr 6 2015 version 32 or 64 bit: http://www.avidemux.org/nightly/
« Last Edit: April 16, 2015, 05:18:25 AM by Jan Gruuthuse »

Invertex

  • Newbie
  • *
  • Posts: 3
Re: Avidemux 2.6 r 8097 w7 64bit - Too Short
« Reply #17 on: April 06, 2015, 06:11:39 AM »
I am on the Mar 28th build, latest one there.

Audio is set to copy (doesn't work setting it to something else like AAC either)
Video is set to Mpeg4 AVC (x264), default and custom settings tried.
Output with MP4 Muxer.

Nothing else changed. And yes, this is on Windows 64bit. Also tested 32bit and it fails as well.

As for changing the encoding settings, I can change it from 'main' to 'high', turn off "CFR", set Keyframe interval and "Encode in Full Range", but none of those fixed it.
They provide an x264 command line options setting though, and I just looked up a bunch and tried them out, I was able to narrow down the specific x264 property that is causing the issue.

If I set "bframes=1", this fixes the problem and I can re-encode the file it created without issues.
Using ffprobe to check out the normal files OBS creates, it appears OBS sets bframes=2 internally, and AVIDemux is not able to handle this properly for some reason, at least on Windows.
« Last Edit: April 06, 2015, 06:27:33 AM by Invertex »

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6051
Re: Avidemux 2.6 r 8097 w7 64bit - Too Short
« Reply #18 on: April 06, 2015, 07:36:27 AM »
I can process these video only without HWaccel and for Video display not:
- vdpau
- OpenGL
- libva
getting muxer not found with those settings.
Perhaps developer has better a view on this
Openbroadcast: can't get installed due to special ffmpeg, it brakes to much on 14.04 LTS 64-bit


win32 & win64 bit are now available in http://www.avidemux.org/nightly/ 6 april 2015 see next 2 postings.
« Last Edit: April 07, 2015, 08:42:43 AM by Jan Gruuthuse »

mean

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10974
Re: Avidemux 2.6 r 8097 w7 64bit - Too Short
« Reply #19 on: April 06, 2015, 12:14:03 PM »
It's a rounding issue again
You could try mp4v2 as muxer, it's more tolerant to those
Or use mkv as intermediate format

mean

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10974
Re: Avidemux 2.6 r 8097 w7 64bit - Too Short
« Reply #20 on: April 06, 2015, 12:15:40 PM »
regenerating windows binaries, the crop fix might help

Invertex

  • Newbie
  • *
  • Posts: 3
Re: Avidemux 2.6 r 8097 w7 64bit - Too Short
« Reply #21 on: April 07, 2015, 10:31:21 PM »
Yeah, for now I'll just make sure to record with bframes=1.
I hope this will be an easy fix for AVIDemux though.

Crop fix? I tried the April 6th binary I am assuming you made, and the issue still happens with the regular MP4 mixer. MP4v2 does work fine though.

pascal

  • Newbie
  • *
  • Posts: 1
Re: Avidemux 2.6 r 8097 w7 64bit - Too Short
« Reply #22 on: August 28, 2016, 09:09:42 AM »
Hello. I get same trouble on latest version of avidemux. When i cut video at the begin i have "Too short" exception.
Cause of my problem was incorrect type of start frame. MPEG videos should be start at I-frame, but i cut and attempt to save video at B-frame. More about frames you can read in Wikipedia: https://en.wikipedia.org/wiki/Video_compression_picture_types

Wrong way:


Right way:
« Last Edit: August 28, 2016, 09:34:49 AM by pascal »

mean

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10974
Re: Avidemux 2.6 r 8097 w7 64bit - Too Short
« Reply #23 on: August 28, 2016, 10:17:10 AM »
Try with 2.6.13