<zsolt>
is there a way to set the pixel format of decoded frames when using `AV_CODEC_HW_CONFIG_METHOD_HW_DEVICE_CTX`? something like `AVHWFramesContext::sw_format`. the hw_decode.c example doesn't really touch on this
jagannatharjun has quit [Quit: Connection closed for inactivity]
s55 has quit [Client Quit]
s55 has joined #ffmpeg
kurosu has joined #ffmpeg
<jkqxz>
zsolt: The direct pixel format is set by your get_format callback. Generally the hw frames only have one valid sw format, and it will use that.
<jkqxz>
zsolt: If you need finer control of the allocation (e.g. to make frames which be used directly with some other operation without a copy) then you want to use AV_CODEC_HW_CONFIG_METHOD_HW_FRAMES_CTX instead.
Ogobaga has quit [Quit: Konversation terminated!]
Ogobaga has joined #ffmpeg
b50d has quit [Remote host closed the connection]
<zsolt>
jkqxz: does that mean i have to convert the frames using swscale from e. g. AV_PIX_FMT_VAAPI to AV_PIX_FMT_YUV420P if i want to display it using SDL?
<zsolt>
currently i'm looping through an `AVHWFrameConstraints`'s `valid_sw_formats` and only using hardware acceleration if one of the formats matches the AVStream's pixel format
<jkqxz>
To do it simply with SDL you want to download the frames to CPU memory and then let SDL deal with them from there. See av_hwframe_transfer_data().
beaver has joined #ffmpeg
KDDLB has quit [Quit: Connection closed for inactivity]
<zsolt>
SDL_UpdateYUVTexture expects yuv data though. right now i don't know how to make sure the data it receives is actually yuv
jagannatharjun has joined #ffmpeg
YuGiOhJCJ2 has quit [Remote host closed the connection]
YuGiOhJCJ2 has joined #ffmpeg
Cindy has quit [Remote host closed the connection]
bnchs has joined #ffmpeg
YuGiOhJCJ2 has quit [Remote host closed the connection]
YuGiOhJCJ2 has joined #ffmpeg
Volgaar has joined #ffmpeg
minimal has joined #ffmpeg
Shine_ has joined #ffmpeg
yazooq has joined #ffmpeg
Volgaar has quit [Quit: WeeChat 4.0.5]
qqq has quit [Quit: leaving]
Vonter has quit [Ping timeout: 264 seconds]
Vonter has joined #ffmpeg
Capstan has quit [Ping timeout: 245 seconds]
qqq has joined #ffmpeg
Ogobaga has quit [Quit: Konversation terminated!]
Ogobaga has joined #ffmpeg
aljazmc has joined #ffmpeg
hightower2 has joined #ffmpeg
iconoclasthero_ has joined #ffmpeg
iconoclasthero_ has left #ffmpeg [#ffmpeg]
hussein1 has quit [Quit: hussein1]
bitbinge has quit [Ping timeout: 252 seconds]
Ogobaga has quit [Quit: Konversation terminated!]
Ogobaga has joined #ffmpeg
jos1 has joined #ffmpeg
hightower3 has joined #ffmpeg
hightower2 has quit [Quit: Leaving]
Estrella__ has joined #ffmpeg
Estrella__ has quit [Ping timeout: 260 seconds]
ivanich has quit [Ping timeout: 260 seconds]
yazooq has quit [Ping timeout: 258 seconds]
YuGiOhJCJ2 has quit [Quit: YuGiOhJCJ2]
Estrella__ has joined #ffmpeg
Perflosopher has joined #ffmpeg
Ogobaga has quit [Quit: Konversation terminated!]
Estrella__ has quit [Ping timeout: 245 seconds]
Ogobaga has joined #ffmpeg
b50d has joined #ffmpeg
qqq has quit [Remote host closed the connection]
junaid_ has quit [Quit: leaving]
yazooq has joined #ffmpeg
junaid_ has joined #ffmpeg
bnchs is now known as Cindy
lusciouslover has joined #ffmpeg
bitbinge has joined #ffmpeg
pa has quit [Quit: quit.]
lavaball has quit [Remote host closed the connection]
derpydoo has quit [Read error: Connection reset by peer]
billchenchina has quit [Remote host closed the connection]
billchenchina has joined #ffmpeg
Shine_ has quit [Ping timeout: 255 seconds]
Shine_ has joined #ffmpeg
bitbinge has quit [Ping timeout: 252 seconds]
hussein1 has joined #ffmpeg
junaid__ has joined #ffmpeg
junaid_ has quit [Ping timeout: 240 seconds]
b50d has quit [Remote host closed the connection]
finsternis has joined #ffmpeg
f0x_ has joined #ffmpeg
yazooq has quit [Ping timeout: 240 seconds]
zsolt has quit [Remote host closed the connection]
bitbinge has joined #ffmpeg
f0x_ has quit [Quit: Bye !]
yazooq has joined #ffmpeg
f0x_ has joined #ffmpeg
vuipuh has joined #ffmpeg
<vuipuh>
Hello! Can I automatically find potential glitches in a stream with ffprobe or ffmpeg?
vampirefrog has quit [Quit: Leaving]
junaid__ has quit [Quit: leaving]
derpydoo has joined #ffmpeg
FH_thecat has quit [Quit: Leaving]
bitbinge has quit [Remote host closed the connection]
bitbinge has joined #ffmpeg
rsx has quit [Quit: rsx]
junaid_ has joined #ffmpeg
Suchiman has joined #ffmpeg
ameyad22h has joined #ffmpeg
vampirefrog has joined #ffmpeg
b50d has joined #ffmpeg
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ffmpeg
junaid_ has quit [Quit: leaving]
bitbinge has quit [Ping timeout: 252 seconds]
lavaball has joined #ffmpeg
funtoomen has joined #ffmpeg
zsoltiv_ has joined #ffmpeg
b50d has quit [Remote host closed the connection]
lavaball has quit [Quit: lavaball]
waleee has joined #ffmpeg
microfart has quit [Quit: There is no spoon!]
microchip_ has joined #ffmpeg
bitbinge has joined #ffmpeg
Atsuko has joined #ffmpeg
junaid_ has joined #ffmpeg
hightower3 has quit [Read error: Connection reset by peer]
luva4 has joined #ffmpeg
luva has quit [Ping timeout: 258 seconds]
luva4 is now known as luva
<Atsuko>
i have a bluray from 2012 that i have dumped, after encoding it with ffmpeg, it starts gliching out halfway through to the end
<Atsuko>
i check the source and there are around 5 or so green frames at that point but then the rest of the content is fine
<Atsuko>
is there anything i can do so the encode doesn't continue to glitch out after those green frames?