Opened 5 years ago

Closed 4 years ago

#11409 closed bug (fixed)

Mpeg-4 part 2 crash in media player

Reported by: AlienSoldier Owned by: nobody
Priority: normal Milestone: R1
Component: Audio & Video/Codecs Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

Video with this codec: http://en.wikipedia.org/wiki/MPEG-4_Part_2 Crash media player (terminate, debug dialog window). One frame seem to appear and the sound work fine until i terminate the app. Container seem to be a .avi It used to work fine in hrev47207 at least, i don't know where it broke.

MPEG-4 part 10 seem to still work fine.

Change History (6)

comment:1 Changed 5 years ago by pulkomandy

Do you have a test video file? Also narrowing the commit range would be appreciated.

comment:2 Changed 5 years ago by AlienSoldier

Sure, looking for sample i have found 3 that act a bit each different.

As for narrowing down the haiku rev, i don't have enough partition left right now to do it. At least you know it was ok in hrev47207. It was still not working on the test partition is used last friday with a nightly build, i don't know when it decided to go bad, i use VLC most of the time but i wanted to test media player harder lately. I suspect it might be related to a change in FFMPEG, but it is only a guess, i don't see much why a change in mediaplayer could cause this, it seem a long time ago a significant change was made to it.

There is many flavor or that codec.

That one does not crash but seem slower in the latest haiku i have (updated yesterday) than in hrev47207 http://samples.mplayerhq.hu/V-codecs/XVID/ttm1.avi That was a xvid sample

Here is a divx: http://trailers.divx.com/divx_prod/profiles/Helicopter_DivXHT_ASP.divx does not crash in either version but the latest only show the low corner divx logo on a black screen. So it essentially stay on the first frame.

That one is an another xvid: http://thud.us/videos/misc/xvid-samples/flyby-divx.avi that one do like the first one i reported, crash on latest, fine on hrev47207

One last thing, i started to update from that procedure, could it be related: http://haiku-os.org/guides/daily-tasks/updating-system perhaps a proper dd raw would be better?

comment:3 Changed 5 years ago by pulkomandy

There was an update to ffmpeg 0.11, but it was downgraded again. Make sure you don't have the ffmpeg-0.11 package still installed (pkgman uninstall ffmpeg ; pkgman install ffmpeg) as the regular update procedure doesn't handle downgrades.

comment:4 Changed 5 years ago by AlienSoldier

Checked if updating just ffmpeg properly made any change, it stay the same. ffmpeg-0.11 was not installed either initially.

comment:5 Changed 4 years ago by pulkomandy

Helicopter works fine now (probably was hrev48469). ttm1 seems to be mostly garbage here (both in MediaPlayer and VLC). Does it play something useful on other systems?

flyby is hitting an assert in the ffmpeg media add-on, I'll see what I can do.

comment:6 Changed 4 years ago by pulkomandy

Resolution: fixed
Status: newclosed

flyby-divx fixed in hrev48475 by removing the assert.

Note: See TracTickets for help on using tickets.