Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* Re: [FFmpeg-devel] [FFmpeg-cvslog] ffv1dec: use dedicated pix_fmt field and call ff_get_format
       [not found] <20250121151048.CC69B4127EF@natalya.videolan.org>
@ 2025-01-24 21:54 ` Michael Niedermayer
  2025-01-25  2:06   ` Lynne
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Niedermayer @ 2025-01-24 21:54 UTC (permalink / raw)
  To: ffmpeg-devel; +Cc: Lynne


[-- Attachment #1.1: Type: text/plain, Size: 1161 bytes --]

On Tue, Jan 21, 2025 at 03:10:47PM +0000, Lynne wrote:
> ffmpeg | branch: master | Lynne <dev@lynne.ee> | Sun Jan  5 13:42:47 2025 +0900| [7187eadf8c0f0c640f1d23811c55fad0cba60aa5] | committer: Lynne
> 
> ffv1dec: use dedicated pix_fmt field and call ff_get_format
> 
> Adding support for hwaccels means that avctx->pix_fmt will indicate
> hardware formats.
> 
> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7187eadf8c0f0c640f1d23811c55fad0cba60aa5
> ---
> 
>  libavcodec/ffv1.h    |   1 +
>  libavcodec/ffv1dec.c | 140 ++++++++++++++++++++++++++++-----------------------
>  2 files changed, 78 insertions(+), 63 deletions(-)

breaks:
./ffmpeg -y  -i mm-short.mpg -an -vcodec ffv1 -slices 4 -t 1 -coder 1 -level 3 -slicecrc 0 -context 0 -pix_fmt ya8 -bitexact out.nut
./ffplay out.nut

(and others)
slices seem to decode in the wrong locations and jump randomly around

thx

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The difference between a dictatorship and a democracy is that every 4 years
the population together is allowed to provide 1 bit of input to the government.

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

[-- Attachment #2: Type: text/plain, Size: 251 bytes --]

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [FFmpeg-devel] [FFmpeg-cvslog] ffv1dec: use dedicated pix_fmt field and call ff_get_format
  2025-01-24 21:54 ` [FFmpeg-devel] [FFmpeg-cvslog] ffv1dec: use dedicated pix_fmt field and call ff_get_format Michael Niedermayer
@ 2025-01-25  2:06   ` Lynne
  2025-01-25 17:18     ` Michael Niedermayer
  0 siblings, 1 reply; 3+ messages in thread
From: Lynne @ 2025-01-25  2:06 UTC (permalink / raw)
  To: ffmpeg-devel


[-- Attachment #1.1.1.1: Type: text/plain, Size: 1081 bytes --]



On 25/01/2025 06:54, Michael Niedermayer wrote:
> On Tue, Jan 21, 2025 at 03:10:47PM +0000, Lynne wrote:
>> ffmpeg | branch: master | Lynne <dev@lynne.ee> | Sun Jan  5 13:42:47 2025 +0900| [7187eadf8c0f0c640f1d23811c55fad0cba60aa5] | committer: Lynne
>>
>> ffv1dec: use dedicated pix_fmt field and call ff_get_format
>>
>> Adding support for hwaccels means that avctx->pix_fmt will indicate
>> hardware formats.
>>
>>> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7187eadf8c0f0c640f1d23811c55fad0cba60aa5
>> ---
>>
>>   libavcodec/ffv1.h    |   1 +
>>   libavcodec/ffv1dec.c | 140 ++++++++++++++++++++++++++++-----------------------
>>   2 files changed, 78 insertions(+), 63 deletions(-)
> 
> breaks:
> ./ffmpeg -y  -i mm-short.mpg -an -vcodec ffv1 -slices 4 -t 1 -coder 1 -level 3 -slicecrc 0 -context 0 -pix_fmt ya8 -bitexact out.nut
> ./ffplay out.nut
> 
> (and others)
> slices seem to decode in the wrong locations and jump randomly around
> 
> thx

Thanks.
Is it this specific patch, or is it the patchset as a whole that did it?

[-- Attachment #1.1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 637 bytes --]

[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

[-- Attachment #2: Type: text/plain, Size: 251 bytes --]

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [FFmpeg-devel] [FFmpeg-cvslog] ffv1dec: use dedicated pix_fmt field and call ff_get_format
  2025-01-25  2:06   ` Lynne
@ 2025-01-25 17:18     ` Michael Niedermayer
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Niedermayer @ 2025-01-25 17:18 UTC (permalink / raw)
  To: FFmpeg development discussions and patches


[-- Attachment #1.1: Type: text/plain, Size: 1642 bytes --]

Hi Lynne

On Sat, Jan 25, 2025 at 11:06:43AM +0900, Lynne wrote:
> 
> 
> On 25/01/2025 06:54, Michael Niedermayer wrote:
> > On Tue, Jan 21, 2025 at 03:10:47PM +0000, Lynne wrote:
> > > ffmpeg | branch: master | Lynne <dev@lynne.ee> | Sun Jan  5 13:42:47 2025 +0900| [7187eadf8c0f0c640f1d23811c55fad0cba60aa5] | committer: Lynne
> > > 
> > > ffv1dec: use dedicated pix_fmt field and call ff_get_format
> > > 
> > > Adding support for hwaccels means that avctx->pix_fmt will indicate
> > > hardware formats.
> > > 
> > > > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7187eadf8c0f0c640f1d23811c55fad0cba60aa5
> > > ---
> > > 
> > >   libavcodec/ffv1.h    |   1 +
> > >   libavcodec/ffv1dec.c | 140 ++++++++++++++++++++++++++++-----------------------
> > >   2 files changed, 78 insertions(+), 63 deletions(-)
> > 
> > breaks:
> > ./ffmpeg -y  -i mm-short.mpg -an -vcodec ffv1 -slices 4 -t 1 -coder 1 -level 3 -slicecrc 0 -context 0 -pix_fmt ya8 -bitexact out.nut
> > ./ffplay out.nut
> > 
> > (and others)
> > slices seem to decode in the wrong locations and jump randomly around
> > 
> > thx
> 
> Thanks.
> Is it this specific patch, or is it the patchset as a whole that did it?

bisect pointed to this patch
and reverting it and the following patches fixes it

thx

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Frequently ignored answer#1 FFmpeg bugs should be sent to our bugtracker. User
questions about the command line tools should be sent to the ffmpeg-user ML.
And questions about how to use libav* should be sent to the libav-user ML.

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

[-- Attachment #2: Type: text/plain, Size: 251 bytes --]

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-01-25 17:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20250121151048.CC69B4127EF@natalya.videolan.org>
2025-01-24 21:54 ` [FFmpeg-devel] [FFmpeg-cvslog] ffv1dec: use dedicated pix_fmt field and call ff_get_format Michael Niedermayer
2025-01-25  2:06   ` Lynne
2025-01-25 17:18     ` Michael Niedermayer

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git