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

xanderian

  • Newbie
  • *
  • Posts: 3
Avidemux 2.6 r 8097 w7 64bit - Too Short
« on: August 04, 2012, 01:06:55 PM »
Avidemux user here..

Trying to direct copy a mp4 (mp4 muxer) file which is encoded with h264 but only with this file i get this Too Short problem at the beginning of the file. The saved file is only 50kb. I tried 4 other mp4 files they all worked fine, but i need to cut/copy this file too. The source file is not broken so its not the solution. I also tried mp4v2 muxer but the result file is not playable on VLC or any other players.

Is there anything I can do ? The file is 3 gigs so its impossible for me to upload also its NSFW file

Here is the MediaInfo of the file:


General
Complete name                    : D:\*****************- 11.06.23 - 1080p.mp4
Format                           : MPEG-4
Format profile                   : QuickTime
Codec ID                         : qt 
File size                        : 3.13 GiB
Duration                         : 1h 3mn
Overall bit rate                 : 7 011 Kbps
Encoded date                     : UTC 2011-06-13 07:23:32
Tagged date                      : UTC 2011-06-13 12:34:27
Writing library                  : Apple QuickTime
Media/UUID                       : 5D69D21B-BB3A-45ED-B46E-8EBC4BE0875E
Media/History/UUID               : 6B09C759-1A93-48E4-9392-7D61DE7C1F1A
©TSC                             : 2997
©TSZ                             : 100

Video
ID                               : 1
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : Main@L4.0
Format settings, CABAC           : No
Format settings, ReFrames        : 2 frames
Format settings, GOP             : M=2, N=60
Codec ID                         : avc1
Codec ID/Info                    : Advanced Video Coding
Duration                         : 1h 3mn
Bit rate                         : 6 898 Kbps
Width                            : 1 888 pixels
Original width                   : 1 920 pixels
Height                           : 1 062 pixels
Original height                  : 1 080 pixels
Display aspect ratio             : 16:9
Frame rate mode                  : Constant
Frame rate                       : 29.970 fps
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.115
Stream size                      : 3.08 GiB (98%)
Language                         : English
Encoded date                     : UTC 2011-06-13 12:30:48
Tagged date                      : UTC 2011-06-13 12:34:27
Color primaries                  : BT.709-5, BT.1361, IEC 61966-2-4, SMPTE RP177
Transfer characteristics         : BT.709-5, BT.1361
Matrix coefficients              : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177

Audio
ID                               : 2
Format                           : AAC
Format/Info                      : Advanced Audio Codec
Format profile                   : LC
Codec ID                         : 40
Duration                         : 1h 3mn
Bit rate mode                    : Constant
Bit rate                         : 109 Kbps
Nominal bit rate                 : 128 Kbps
Channel(s)                       : 2 channels
Channel positions                : Front: L R
Sampling rate                    : 48.0 KHz
Compression mode                 : Lossy
Stream size                      : 49.6 MiB (2%)
Language                         : English
Encoded date                     : UTC 2011-06-13 12:30:49
Tagged date                      : UTC 2011-06-13 12:34:27
Material_Duration                : 3836587
Material_StreamSize              : 52043626

Menu
ID                               : 3
Language                         : English
Encoded date                     : UTC 2011-06-13 12:34:27
Tagged date                      : UTC 2011-06-13 12:34:27

xanderian

  • Newbie
  • *
  • Posts: 3
Re: Avidemux 2.6 r 8097 w7 64bit - Too Short
« Reply #1 on: August 17, 2012, 04:00:20 PM »
Tried with 2.6 r 8121 beta w7 64 bit..

I still get the error :(

What can i do to remedy this error ?

Please, Jan or Mean can you try to help me ? If there is any way i can help you guys please let me know ?

(BTW I can cut this file using mkvmerge and the output file is mkv, I can supply that if it will help you guys )

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6051
Re: Avidemux 2.6 r 8097 w7 64bit - Too Short
« Reply #2 on: August 17, 2012, 06:08:59 PM »
File opens in avidemux 2.6 and plays?
Have you tried loading the video and use copy for both video and audio and use Output Format: Mkv Muxer and then save the video?
Then start from this MKV: load in avidemux and try to do what you want to do?
If you want to take it any further a sample of similar mp4 (20 MB) would be needed.
The remuxed mkv would not help here as the container is changed.

Can you do anything with the mkvmerged mkv file in avidemux? load cut/edit then save in mp4v2 mp4?

Could be you need to re-encode Video Output: Mpeg4 AVC (x264).
Try this with a [A][B]marked 10 second of that video. Select marks only with up/down keyboard arrow.

FAQ: File too short

If all fails:
You could re-encode in Handbrake and then do the edit/cut with avidemux

xanderian

  • Newbie
  • *
  • Posts: 3
Re: Avidemux 2.6 r 8097 w7 64bit - Too Short
« Reply #3 on: August 17, 2012, 07:30:40 PM »
-File opens in avidemux 2.6 and plays?
-YES

-Have you tried loading the video and use copy for both video and audio and use Output Format: Mkv Muxer and then save the video?
-Gives the same error "FILE IS TOO SHORT"

-I did what you have suggested to me. I have cut the first 1minutes of the file with MkvMerge and the resulting file was mkv = matroska, then i opened this mkv file with avidemux, then save as mp4. No Problem it was saved !

I already read that FAQ you posted, i guess there is a problem with avidemux and timestamps, while mkvmerge doesnt have this problem, because once the file is put in mkv, avidemux can do whatever it wants.

What are your comments Jan ? or Mean ?

styrol

  • Hero Member
  • *****
  • Posts: 533
Re: Avidemux 2.6 r 8097 w7 64bit - Too Short
« Reply #4 on: August 17, 2012, 08:29:04 PM »
Quote
i guess there is a problem with avidemux and timestamps, while mkvmerge doesnt have this problem, because once the file is put in mkv, avidemux can do whatever it wants.
Remuxing the file with another software often helps, you don't have to change the container format (ok, mkvmerge sticks to MKV format). Remuxing your file with ffmpeg (retaining the container) might also have helped.

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6051
Re: Avidemux 2.6 r 8097 w7 64bit - Too Short
« Reply #5 on: August 18, 2012, 05:39:53 AM »
So you have a working solution, for now. Without a sample of identical type video, 5 secs or max 20 MB (container/used codecs/ same parameters/ not the same subject), there is nothing much the developers can undertake.
This is my opinion as user and may not reflect what developers or forum staff want to say/do about it.

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6051
Re: Avidemux 2.6 r 8097 w7 64bit - Too Short
« Reply #6 on: September 02, 2012, 05:00:31 AM »
download a longer version from other location.

mean

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10974
Re: Avidemux 2.6 r 8097 w7 64bit - Too Short
« Reply #7 on: September 02, 2012, 10:06:08 AM »
without a sample to reproduce we cant do much

pascal4

  • Newbie
  • *
  • Posts: 7
Re: Avidemux 2.6 r 8097 w7 64bit - Too Short
« Reply #8 on: May 26, 2013, 11:05:13 PM »
Here's your sample...  would have uploaded something else, but it didn't want to waste time.
http://www33.zippyshare.com/v/yyy/file.html

Basically it was a flv, and when saving it cuts the clip in half and throws this message.
2.6.4 r8696 does this, when opening it shows no message.

2.5.6-1 shows when opening the H.264 alternate mode message, then the rebuild index message, if I select yes it cracks, if I select no it keeps stable.
« Last Edit: May 27, 2013, 06:14:32 AM by mean »

mean

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10974
Re: Avidemux 2.6 r 8097 w7 64bit - Too Short
« Reply #9 on: May 27, 2013, 06:29:59 AM »
The frame per second is sightly wrong
29.69 instead of 26.71,  that's why it aborts at some point
Looking why the error

mean

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10974
Re: Avidemux 2.6 r 8097 w7 64bit - Too Short
« Reply #10 on: May 27, 2013, 10:19:48 AM »
The samples you provided can now be saved as mp4 with latest nightly

ilustrul

  • Newbie
  • *
  • Posts: 1
Re: Avidemux 2.6 r 8097 w7 64bit - Too Short
« Reply #11 on: February 05, 2014, 08:40:36 AM »
Hello!
I have the same problem (2.6.7 and also the latest nightly r9010 included).

I tried everything but the same message "File too short" (AVI/MP4 muxers tested, Video: MPEG-4 AVC & XVID, Audio: AAC (Faac)).

Here is the file I want to convert. Actually is a movie, you can download it here for testing purposes:
http://kickass.to/universal-soldier-1992-1080p-brrip-x264-yify-t7243502.html

Hope you can take a look at this.
Thanks!
Mircea

massimodec

  • Newbie
  • *
  • Posts: 2
Re: Avidemux 2.6 r 8097 w7 64bit - Too Short
« Reply #12 on: February 17, 2014, 12:00:43 AM »
Hi
I have the same problem: after cutting some seconds at the beginning and at the ending of a MP4 movie, full HD 1920x1080. 25 fps PAL
the "save" got wrong, with the message "too short"
Version 2.6.7

It looks like a problem (?)

DjDiabolik

  • Newbie
  • *
  • Posts: 5
Re: Avidemux 2.6 r 8097 w7 64bit - Too Short
« Reply #13 on: March 09, 2015, 12:59:42 PM »
Same problems.............
I need to cut a parts of about 3 minutes from this:
General
Complete name               : D:\Programmi\rtmpdump-2.4-2013-12-22\viva_l'italia.mp4
Format                      : Flash Video
File size                   : 56.5 MiB
Duration                    : 5mn 37s
Overall bit rate mode       : Variable
Overall bit rate            : 1 407 Kbps

Video
Format                      : AVC
Format/Info                 : Advanced Video Codec
Format profile              : Main@L3.0
Format settings, CABAC      : Yes
Format settings, ReFrames   : 2 frames
Codec ID                    : 7
Duration                    : 5mn 37s
Bit rate mode               : Variable
Maximum bit rate            : 2 544 Kbps
Width                       : 640 pixels
Height                      : 360 pixels
Display aspect ratio        : 16:9
Frame rate mode             : Constant
Frame rate                  : 25.000 fps
Color space                 : YUV
Chroma subsampling          : 4:2:0
Bit depth                   : 8 bits
Scan type                   : Progressive
Scan order                  : Top Field First
Color range                 : Limited

Audio
Format                      : AAC
Format/Info                 : Advanced Audio Codec
Format profile              : LC
Codec ID                    : 10
Duration                    : 5mn 37s
Channel(s)                  : 2 channels
Channel positions           : Front: L R
Sampling rate               : 44.1 KHz
Compression mode            : Lossy


Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6051
Re: Avidemux 2.6 r 8097 w7 64bit - Too Short
« Reply #14 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/