Opened 13 years ago
Closed 12 years ago
#702 closed defect (fixed)
FFplay Does Not Play Videos with Odd Width Correctly
Reported by: | mbradshaw | Owned by: | |
---|---|---|---|
Priority: | minor | Component: | ffplay |
Version: | git-master | Keywords: | |
Cc: | cus@passwd.hu | Blocked By: | |
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Carl Hoyos sent me an email saying that playing videos with ffplay encoded with the libopenjpeg encoder with odd widths would not play correctly. I've investigated it further and have found that ffplay wouldn't properly play this video (http://people.xiph.org/~tterribe/theora/coastguard_335-V500.ogv) properly either. There is a distinct black diagonal line starting from the top right corner and progressing diagonally down the video.
I've tried to look into the ffplay source to see what the issue may be, but I'm not familiar with it enough and don't have enough time to become familiar with it.
FYI, I'm on OS X 10.6, using the latest ffmpeg code from the git-master. rgb24 videos with odd widths encoded with the libopenjpeg encoder played perfectly with QuickTime.
Change History (3)
comment:1 by , 13 years ago
comment:2 by , 12 years ago
Cc: | added |
---|
Recently a fix was committed to ffmpeg git master which works around SDL issues with odd overlay widths and heights by cropping the video by 1 pixel. Can you try if it fixes the diagonal line issue as well?
comment:3 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
As far as the original issue is concerned, yes, this seems fixed. I'll close as fixed. Thanks for the info.
Side note: my testing has shown the openjpeg encoder is broken at the moment for odd sizes (and playback through QuickTime no longer works), but these are separate from FFplay. I'll have to look into this when I get time.
I should add that saving the individual encoded j2k frames produced the correct j2k images, and saving the decoded frames as ppms produced the correct images as well. This was done for the openjpeg video with odd width that would not play correctly.