FS#36407 - [avidemux-cli] Wrong handling of MP2 audio tracks since ffmpeg 2.0 rebuild

Attached to Project: Arch Linux
Opened by Sebastian Ziebarth (voeck) - Sunday, 04 August 2013, 10:18 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Thursday, 07 August 2014, 08:41 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Eric Belanger (Snowman)
Bartłomiej Piotrowski (Barthalion)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 6
Private No

Details

Description:
An MP2 audio track (and probably other formats which are decoded with libav) cannot be cut anymore. The resulting audio track in the output file always starts at the beginning of the source audio tracks. It doesn't matter if the audio is encoded or simply copied. Additionally is the playback in avidemux-qt4 messed up. The video is correct but audio starts always from the beginning when "Play" is clicked - no matter what position was seeked to. Until the rebuild everything worked fine.

Additional info:
* Version: 2.5.6-7


Steps to reproduce:
Open a file with an MP2 audio track (or other encoding with uses libav)
Remove frames at the beginning
Encode the video or simply export the raw audio track
-> The audio is not cut - it begins at the very first frame.
This task depends upon

Closed by  Bartłomiej Piotrowski (Barthalion)
Thursday, 07 August 2014, 08:41 GMT
Reason for closing:  Upstream
Comment by Bartłomiej Piotrowski (Barthalion) - Tuesday, 13 August 2013, 07:04 GMT
Could you report your problem to upstream? It may need quite a bit patching and I'm not familiar with avidemux internals to do it on my own.
Comment by Sebastian Ziebarth (voeck) - Thursday, 15 August 2013, 16:23 GMT
Sure. I will report it as soon I am back from my holidays.
Comment by Jan-Erik Meyer-Luetgens (dracman) - Wednesday, 20 November 2013, 23:08 GMT
The problem still remains in Version: 2.5.6-8
Comment by Martin Sand (sandstorm) - Friday, 22 November 2013, 12:06 GMT
Yes, and compiling the new 2.6 version does not solve the problem either. Avidemux 2.6 cannot handle the PAR/DAR correctly, so the resolution of the movie needs to be extended or shrinked. I have to ask what are the next steps to solve the problem. After all the issue is open since August. Is it an Archlinux specific issue?
Comment by Sebastian Ziebarth (voeck) - Friday, 22 November 2013, 12:48 GMT
I did some more research in the mean time and tried avidemux 2.6 from AUR. I could not reproduce the problem with that version anymore. I can cut my MPEG files without any problems at all. And playing also works fine with 2.6 for me. I am not even sure where to report this problem. Do the developers still support 2.5?
Comment by Martin Sand (sandstorm) - Friday, 22 November 2013, 12:59 GMT
Yes, but when I compile avidemux 2.6, the PAR/DAR (I do not know which one) when using x264 codec is disabled. Could you select x264 -> Config and go to the tab where you select the aspect ratio. The last option to set PAR/DAR to "As input" is grayed out on my computer.

Yes, I think 2.5 is discontinued ... but I am not sure either.
Comment by Gerardo Exequiel Pozzi (djgera) - Sunday, 16 February 2014, 14:40 GMT
  • Field changed: Status (Assigned → Waiting on Response)
  • Field changed: Category (Packages: Extra → Upstream Bugs)
status? upstream report?
Comment by Martin Sand (sandstorm) - Saturday, 22 March 2014, 12:15 GMT
Sorry, the tracker e-mail was trapped in my spam folder.
I checked the avidemux forum. There has been a post on this.
I will comment as well on it as my account for the forum is approved.
http://avidemux.org/smuf/index.php?topic=14598.0

Thanks for following up!
Comment by Martin Sand (sandstorm) - Sunday, 23 March 2014, 08:36 GMT
That is solved for me, I found a workaround:
save the file with copy video and audio to an AVI file.
If you open this file cutting works again.
Some additional effort but at least it works again.

Loading...