News:

--

Main Menu

Avidemux 2.6 r 8097 w7 64bit - Too Short

Started by xanderian, August 04, 2012, 01:06:55 PM

Previous topic - Next topic

Invertex

Quote from: Jan Gruuthuse on March 09, 2015, 02:30:56 PM
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

#16
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/

Invertex

#17
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.

Jan Gruuthuse

#18
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.

mean

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

regenerating windows binaries, the crop fix might help

Invertex

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

#22
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:

mean