Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#2077 closed defect (invalid)

broken playback with ffmpeg zerocodec decoder

Reported by: onemda@… Owned by: reimar
Priority: normal Component: vd
Version: HEAD Severity: normal
Keywords: Cc: compn
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

mplayer is unable to correctly play avi files with zerocodec video codec.

Change History (6)

comment:1 by compn, 12 years ago

Cc: patriotact@… added

try adding this to your codecs.conf
i dont have a sample to test.

videocodec ffzerocodec

info "FFmpeg Zerocodec lossless"
status working
fourcc ZECO
driver ffmpeg
dll "zerocodec"
out UYVY

comment:2 by onemda@…, 12 years ago

I already have that line and it does not help.

Sample: http://samples.ffmpeg.org/V-codecs/ZECO/

comment:3 by reimar, 12 years ago

I'll have to test it, but I believe that if you use the old-style DR system (i.e. not setting buffer flags) you need to set the picture type before calling get_buffer.

comment:4 by reimar, 12 years ago

Didn't help, though it is a good idea since the (!prev) check can otherwise cause a leak (i.e. get_buffer being called without a corresponding release_buffer)

comment:5 by onemda@…, 12 years ago

Resolution: invalid
Status: newclosed

This is lavc bug, sorry for the noise.

comment:6 by reimar, 12 years ago

Well, there is a MPlayer bug as well (now fixed), but the issue here seems to be that data[0] is not NULL when get_buffer is called.

Note: See TracTickets for help on using tickets.