From: Timo Rothenpieler <timo@rothenpieler.org>
To: ffmpeg-devel@ffmpeg.org
Subject: Re: [FFmpeg-devel] [PATCH v2] avcodec/cuvidddec: Guess pixel format based on probed bit depth and chroma sampling
Date: Fri, 2 Aug 2024 17:32:57 +0200
Message-ID: <a9d4f5f6-5d05-4c20-8ca9-d89ef63023d9@rothenpieler.org> (raw)
In-Reply-To: <CAJZRZV=dM1hVRuBVd01QgyziBgQG0Mcxns-OXCV-GpZAV76SLA@mail.gmail.com>
On 02.08.2024 16:05, Roman Arzumanyan wrote:
> Thanks a lot Timo !
>
> Just for my own education: in my application I follow the usual sequence of
> API calls to init hw device context and open the codec. What's the right
> place to probe the input? I was under the impression that it's done within
> avformat_find_stream_info().
ffmpeg.c calls avcodec_parameters_to_context() on the codecpars got from
the demuxer/probing phase.
I'm not actually sure where the probing itself happens.
_______________________________________________
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".
prev parent reply other threads:[~2024-08-02 15:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-02 13:31 Roman Arzumanyan
2024-08-02 13:57 ` Timo Rothenpieler
2024-08-02 14:05 ` Roman Arzumanyan
2024-08-02 15:32 ` Timo Rothenpieler [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a9d4f5f6-5d05-4c20-8ca9-d89ef63023d9@rothenpieler.org \
--to=timo@rothenpieler.org \
--cc=ffmpeg-devel@ffmpeg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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