Opened 20 years ago
Closed 19 years ago
#711 closed defect (worksforme)
Problems playing FFMPEG generated AVIs
| Reported by: | Owned by: | ||
|---|---|---|---|
| Priority: | normal | Component: | libavformat |
| Version: | unspecified | Severity: | minor |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: | ||
| Reproduced by developer: | no | Analyzed by developer: | no |
Description
AVI re-compressed using Motion JPEG will not play on Windows Media Player
*or* WinAmp (although MPlayer works ok). Example :
mencoder -oac -ovc lavc vcodec=mjpeg:mbd=2:turbo=1 in.avi -o out.avi
This seems to be caused by the extradata_size being added to the strh BITMAPINFOHEADER structure size field in put_bmp_header(...) in riff.c -if the structure size is set back to 40 with a hex editor the AVI file will play in all players that I have tried.
Attachments (2)
Change History (6)
comment:1 by , 19 years ago
by , 19 years ago
| Attachment: | test_duff.avi added |
|---|
MJPEG compressed AVI created using ffmpeg + mencoder
comment:2 by , 19 years ago
comment:3 by , 19 years ago
comment:4 by , 19 years ago
| Resolution: | → worksforme |
|---|---|
| Status: | new → closed |
closing all ffmpeg bugs
C:\mplayer>mencoder -nosound -ovc lavc -lavcopts vcodec=mjpeg:mbd=2:turbo=1 -o o
ut.avi vid00009.avi
works for me in wmp using morgan mjpeg codec to decode.
if ffmpeg still creates unplayable files, please make a new report at ffmpegs roundup tracker

Please upload a sample.