Author Topic: Avidemux 2.6 and problematic MPG frame-seeking  (Read 13755 times)

harrym

  • Newbie
  • *
  • Posts: 36
Avidemux 2.6 and problematic MPG frame-seeking
« on: July 05, 2012, 11:00:16 AM »
Hi, I have seen, that 2.5 binary is not actualized now. :'(

But 2.6 is still totally unusable. E.g. I have big problem with tracking MPG files (frame slider). Basic simple thing. I cannot set exact begin-end frames for encoding, because upon a few frame-slider movements, Avidemux  is crashing with bug. The exact problem in v2.6 is with v2.5-remuxed MPG files.
I wonder, because I think, that tracking algorithm was simply inherited from older 2.5, nothing more.

v2.5 is non-problematic in it.
« Last Edit: July 05, 2012, 11:06:07 AM by harrym »

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6060
Re: Avidemux 2.6 and problematic MPG frame-seeking
« Reply #1 on: July 05, 2012, 12:27:04 PM »
2.5 is frame based, 2.6 is time based.
You don't provide much information for the developers to go on.
MPG, AVI, MKV are boxes where you can have/put video track en audio track(s) in (in different encodings).
Best you provide a 5 second sample of video causing the problem (max 20 MB). Upload to website like rapidshare or similar and provide the link for it.
If you can upload the %APPDATA%/avidemux/admlog.txt  to pastebin, pastebay or gist.
Also specify CPU and flavor of windows and (32/64-Bit) used on your computer and the current avidemux 2.6 revision number.

source: Reporting bugs

harrym

  • Newbie
  • *
  • Posts: 36
Re: Avidemux 2.6 and problematic MPG frame-seeking
« Reply #2 on: July 05, 2012, 01:18:47 PM »
I uploaded videofile (140MB). You cant go to previous frame, etc.
Avidemux 2.6.0.8039
http://files.uloziste.com/f637ea0ecad20757/pokus.mpg
http://files.uloziste.com/f637ea0ecad20757/admlog.7z

Shorter streams dont cause hard error, but longer streams (1+ hour) do.

I suprised, because it is standard remuxed DVB-T TS.
I am awaiting problem with something, but not with this basic thing.

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6060
Re: Avidemux 2.6 and problematic MPG frame-seeking
« Reply #3 on: July 05, 2012, 01:34:52 PM »
Why don't you work with original source .TS? Have hardly any problems with these. see: 32 GB video loaded and processed

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6060
Re: Avidemux 2.6 and problematic MPG frame-seeking
« Reply #4 on: July 05, 2012, 01:49:25 PM »
Don't have any issues with this video in Avidemux 2.6 64-bit r8042 ubuntu 12.04 LTS. The A marker you can only select with the up and down keyboard arrows (↑↓). If cut at B marker is not the end of videoclip, but part of to be joined piece, same rule applies.
Most likely problem in windows/computer. Unless other users report same problem with this clip. Perhaps developers can see in log what went wrong.

harrym

  • Newbie
  • *
  • Posts: 36
Re: Avidemux 2.6 and problematic MPG frame-seeking
« Reply #5 on: July 06, 2012, 07:34:38 PM »
Why don't you work with original source .TS? Have hardly any problems with these. see: 32 GB video loaded and processed

Now I tested original TS source from DVB-T (grabbed with USB stick) - total tragedy, I saw only black window (no indexing task, nothing more) and than (upon a few movements on frame slider) green window and crash.
Next...
I decompiled TS to m2v and mp2 in ProjectX, muxed it with ffmpeg ("ffmpeg.exe" -threads 4 -i "%%~nx.m2v" -i "%%~nx.mp2" -target pal-dvd -vcodec copy -acodec copy "%%~nx.mpg") and than loaded to avidemux 2.6 - the same problems as before (problematic frame seeking).
I tested one standardized VOB file too - the same problems.
MPEG2 is problem?

Can you recomend me at least one *MPEG2 muxer*, that is O.K. for using in v2.6???

I tested mplex, ffmpeg, avidemux2.5.6... all is big problem for using in v2.6
« Last Edit: July 06, 2012, 07:46:14 PM by harrym »

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6060
Re: Avidemux 2.6 and problematic MPG frame-seeking
« Reply #6 on: July 07, 2012, 06:08:23 AM »
I can't recommend any other muxer. I'm only using avidemux 2.6 and sometimes 2.5.6 with the internal muxer(s) for all my recordings: joining segments / cutting / switching audio tracks / ...

Please upload a 20MB sample recording in mpeg-ts from your dvb-t stick, on avarage that wold be a 10 second recording. Upload this to the web (Rapidshare or similar) and provide a link to it in your posting describing whta it is supposed to be (DVB-T/S/S2/C/C2 ,SD/HD TV). So the developers can have a look at it and perhaps have a fix for this, no promises.
How to cut .ts sample <- click

harrym

  • Newbie
  • *
  • Posts: 36
Re: Avidemux 2.6 and problematic MPG frame-seeking
« Reply #7 on: July 07, 2012, 06:28:26 AM »
Please upload a 20MB sample recording in mpeg-ts from your dvb-t stick, on avarage that wold be a 10 second recording. Upload this to the web (Rapidshare or similar) and provide a link to it in your posting describing whta it is supposed to be (DVB-T/S/S2/C/C2 ,SD/HD TV). So the developers can have a look at it and perhaps have a fix for this, no promises.
How to cut .ts sample <- click

TS DVB-T SD (Afatech AF9015 USB Stick http://www.ite.com.tw/en/products_more.aspx?CategoryID=6&ID=15,62)
http://files.uloziste.com/f637ea0ecad20757/(2012-07-07%2008-06)%20MASH%20(184)%20%5bPrima%20family%5d.ts

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6060
Re: Avidemux 2.6 and problematic MPG frame-seeking
« Reply #8 on: July 07, 2012, 08:01:24 AM »
Opens directly in avidemux 2.6 r8044 64-bit ubuntu without a problem and with sound, see screenshot attached. should be the same in windows, hope other users can confirm this. So you should open original videos in avidemux 2.6 (vob, .ts, .trp, ...) cut and save still in original source format. Then copy/transcode to container you need.
2.6 r 8044 found here:
windows: http://avidemux.razorbyte.com.au/
windows and other OS: http://avidemux.org/nightly/
« Last Edit: July 07, 2012, 11:10:51 AM by Jan Gruuthuse »

harrym

  • Newbie
  • *
  • Posts: 36
Re: Avidemux 2.6 and problematic MPG frame-seeking
« Reply #9 on: July 07, 2012, 02:49:57 PM »
Im using Windows 7 64bit, of course.
Propably problem with windows binary.

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6060
Re: Avidemux 2.6 and problematic MPG frame-seeking
« Reply #10 on: July 07, 2012, 04:44:33 PM »
Have you tried both sources? Both have 64-bit, some users reported only of them working for them.
Have you tried by not using opengl to display the video in avidemux preferences: could be AMD graphics card issue: purely guessing on my part. Found working with intel opengl graphics card also caused issues.
Avidemux Menu: Edit: Preferences: tab [Video]: select something else then OpenGL in video display:
In tab [Threading] select autodetect if you use custom.
Some users had success runing the 32-bit version?
« Last Edit: July 07, 2012, 04:47:03 PM by Jan Gruuthuse »

gruntster

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 607
    • http://avidemux.razorbyte.com.au
Re: Avidemux 2.6 and problematic MPG frame-seeking
« Reply #11 on: July 08, 2012, 05:48:48 AM »
Confirmed.  Issue occurs when Avidemux is built using GCC 4.7.x on Windows.  32-bit and 64-bit are affected.  Not sure why.

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6060
Re: Avidemux 2.6 and problematic MPG frame-seeking
« Reply #12 on: July 08, 2012, 03:13:03 PM »
Has this anything to do with GCC 4.7.0  <> ABI?
Quote
Binary incompatibility notice!
------------------------------
The C and C++ ABI have changed, which means in general you can't link together binaries compiled with this version of the compiler and any previous version.
Quote
Does this mean that all the libraries, shared and static alike, in all the precompiled packages out there are unusable with this compiler, and must be rebuilt?
Quote
Yes, exactly.
did come across these on several places.

gruntster

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 607
    • http://avidemux.razorbyte.com.au
Re: Avidemux 2.6 and problematic MPG frame-seeking
« Reply #13 on: July 08, 2012, 10:02:58 PM »
I don't think so.  I recompile all libs.  Could possibly be caused by structures being packed differently by default now (ms-bitfields).

gruntster

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 607
    • http://avidemux.razorbyte.com.au
Re: Avidemux 2.6 and problematic MPG frame-seeking
« Reply #14 on: July 09, 2012, 07:24:38 AM »
Fixed r8046.