Ticket #1413 (closed defect: duplicate)

Opened 12 months ago

Last modified 12 months ago

ffplay unable to playback MJPEG avi file

Reported by: Kraken Owned by:
Priority: important Component: FFmpeg
Version: git-master Keywords:
Cc: cus@… Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: yes

Description

 http://light-alloy.ru/aleksoid_test/SUNP0003.AVI
Picture freeze, a lot of red text in console window.
avplay - can play it, but cannot seek.

Change History

comment:1 Changed 12 months ago by cus

  • Analyzed by developer set
  • Cc cus@… added
  • Reproduced by developer set

Changing pixel format with avfilter enabled is not supported yet in ffplay. (Nor in avplay btw)

comment:2 follow-up: ↓ 3 Changed 12 months ago by Kraken

(Nor in avplay btw)

Wouldn't argue, but if with avplay I can at least see video and listen sound, with ffplay I only see freeze video and listen loop sound.
Just, my media player for Windows, which use libavcodec, is crashing when I try to playback this file, because of libswscale. So I tryed to check this file in ffplay, and see that problem not in my code, so I assumed its a ffmpeg bug.

Changing pixel format with avfilter enabled

Hm. Pixel format is changing when I try to play this file? (my media player doesn't use avfilter)

Sorry for my bad English.

comment:3 in reply to: ↑ 2 Changed 12 months ago by cus

Replying to Kraken:

Changing pixel format with avfilter enabled

Hm. Pixel format is changing when I try to play this file? (my media player doesn't use avfilter)

Yes, that may be reason why swscale crashes for you. See ffplay.c with CONFIG_LIBAVFILTER set to 0, it gets a cached swscaler context for each frame because of possibly changing pixel format.

comment:4 Changed 12 months ago by cehoyos

  • Status changed from new to closed
  • Resolution set to duplicate

Duplicate of ticket #238.

Note: See TracTickets for help on using tickets.