michaelni changed the topic of #ffmpeg-devel to: Welcome to the FFmpeg development channel | Questions about using FFmpeg or developing with libav* libs should be asked in #ffmpeg | This channel is publicly logged | FFmpeg 7.0.1 has been released! | Please read ffmpeg.org/developer.html#Code-of-conduct
cone-957 has joined #ffmpeg-devel
<cone-957> ffmpeg Tong Wu master:affeca005a6c: mailmap: add entry for myself
<cone-957> ffmpeg Michael Niedermayer master:daf61dddc8e2: avdevice/dshow_filter: Use wcscpy_s()
<cone-957> ffmpeg Michael Niedermayer master:8f74c313f190: avcodec/vvc/ctu: Simplify code at the end of pred_mode_decode()
<cone-957> ffmpeg Michael Niedermayer master:989e11acb65e: avdevice/dshow: Remove NULL check on pin
<cone-957> ffmpeg Michael Niedermayer master:2c2e72708831: avdevice/dshow: check ff_dshow_pin_ConnectionMediaType() for failure
<cone-957> ffmpeg Michael Niedermayer master:25f9211bdd61: avdevice/dshow: Cleanup also on av_log case
<cone-957> ffmpeg Michael Niedermayer master:175c19166824: avdevice/dshow: Check device_filter_unique_name before use
<cone-957> ffmpeg Michael Niedermayer master:ffba528bc636: avfilter/vf_avgblur_opencl: Use AV_VIDEO_MAX_PLANES
<cone-957> ffmpeg Michael Niedermayer master:ec18ec9fc108: avfilter/vf_bm3d: Dont round MSE2SSE to an integer
<cone-957> ffmpeg Michael Niedermayer master:19a5a8997c93: avfilter/vf_convolution_opencl: Assert that the filter name is one of the filters
<cone-957> ffmpeg Michael Niedermayer master:66d6b8033b4b: avcodec/tiff: Check value on positive signed targets
<cone-957> ffmpeg Michael Niedermayer master:348968e9f7d8: avdevice/dshow_capture: Fix error handling in ff_dshow_##prefix##_Create()
<cone-957> ffmpeg Michael Niedermayer master:a7f5845a6c1a: avfilter: Free out on error
<cone-957> ffmpeg Michael Niedermayer master:9c8881cb3534: avcodec/mpegvideo_enc: Do not duplicate pictures on shifting
rom1v_ has quit [Server closed connection]
rom1v has joined #ffmpeg-devel
mkver has quit [Ping timeout: 258 seconds]
rcombs has quit [Server closed connection]
rcombs has joined #ffmpeg-devel
wutong has quit [Remote host closed the connection]
thilo has quit [Ping timeout: 265 seconds]
thilo has joined #ffmpeg-devel
thilo has quit [Changing host]
thilo has joined #ffmpeg-devel
ergZay has joined #ffmpeg-devel
ergZay has quit [Changing host]
ergZay has joined #ffmpeg-devel
arch1t3cht0 has joined #ffmpeg-devel
arch1t3cht has quit [Ping timeout: 246 seconds]
arch1t3cht0 is now known as arch1t3cht
IndecisiveTurtle has quit [Ping timeout: 264 seconds]
lemourin has quit [Quit: The Lounge - https://thelounge.chat]
lemourin has joined #ffmpeg-devel
rvalue has quit [Read error: Connection reset by peer]
<Marth64> Any other way to decipher an AVERROR from its numeric form? I have a -1329874258 coming. averr2str() yields only, "Error number -1329874258 occurred". coming from av_read_frame()
rvalue has joined #ffmpeg-devel
<Marth64> I'm expecting an AVERROR_EOF.
cone-957 has quit [Quit: transmission timeout]
<Marth64> aha
<Marth64> solution to my issue i think
Martchus has joined #ffmpeg-devel
Martchus_ has quit [Ping timeout: 245 seconds]
SystemError has quit [Ping timeout: 260 seconds]
jamrial has quit []
AbleBacon has quit [Read error: Connection reset by peer]
devinheitmueller has quit [Server closed connection]
cone-564 has joined #ffmpeg-devel
<cone-564> ffmpeg Fei Wang master:246600974ff3: lavc/vaapi_{decode, av1}: Fix memory leak in fail codepath
APic has quit [Server closed connection]
APic has joined #ffmpeg-devel
ramiro has quit [Ping timeout: 260 seconds]
ramiro has joined #ffmpeg-devel
MisterMinister has quit [Ping timeout: 246 seconds]
rvalue- has joined #ffmpeg-devel
rvalue has quit [Ping timeout: 245 seconds]
rvalue- is now known as rvalue
mkver has joined #ffmpeg-devel
marcj has quit [Server closed connection]
marcj has joined #ffmpeg-devel
microchip_ has quit [Quit: There is no spoon!]
microchip_ has joined #ffmpeg-devel
pal has quit [Remote host closed the connection]
pal has joined #ffmpeg-devel
mkver has quit [Ping timeout: 264 seconds]
Krowl has joined #ffmpeg-devel
cone-564 has quit [Quit: transmission timeout]
ngaullier has joined #ffmpeg-devel
Krowl has quit [Read error: Connection reset by peer]
Krowl has joined #ffmpeg-devel
IndecisiveTurtle has joined #ffmpeg-devel
mkver has joined #ffmpeg-devel
cone-823 has joined #ffmpeg-devel
<cone-823> ffmpeg Gyan Doshi master:350146a1ea9d: ffmpeg: don't truncate getmaxrss value
HarshK23 has joined #ffmpeg-devel
tufei has quit [Remote host closed the connection]
tufei has joined #ffmpeg-devel
Krowl has quit [Read error: Connection reset by peer]
qwertyttyert has joined #ffmpeg-devel
<AndrewSayers> Marth64: AVERROR codes are usually four-digit ASCII codes. -1329874258 == -0x4F444552 == FFERRTAG('R','E','D','O') == FFERROR_REDO
jamrial has joined #ffmpeg-devel
<qwertyttyert> I convert the video file GIF animation. I set different frame values and nothing changes, the size is also the same frame rate. -framerate 2 -frame_size 2. I don't need 2 numbers, these numbers as an example, to see that nothing doesn't change. What am I doing wrong? What am I doing wrong? x264.avi 16fps to gif animation: ffmpeg -i /dev/shm/p2.avi -vcodec gif -gifimage 0 -framerate 16 -frame_size 16 /dev/shm/1.gif
<qwertyttyert> I convert the video file to GIF animation
<jdarnley> 1 - This isn;t the user support channel. 2 - what does the error message day?
<qwertyttyert> ffmpeg -i /dev/shm/p2.avi -vcodec gif -gifimage 0 -framerate 2 -frame_size 2 /dev/shm/1.gif
<qwertyttyert> ffmpeg -h full
<qwertyttyert> gif
<qwertyttyert> There are no errors converting with different settings the same gif file.
<qwertyttyert> There are no errors converting with different settings, the same gif file.
<qwertyttyert> With different options numbers, the same GIF file is obtained. The size does not change.
<BtbN> Still the wrong channel, and lacking any useful information to work with.
<jdarnley> okay fine I'll bite
<jdarnley> What do you expect to happen?
<qwertyttyert> #ffmpeg need registration
<jdarnley> What do you *want* to happen?
philipl has quit [Server closed connection]
philipl has joined #ffmpeg-devel
<jdarnley> Are you trying to reduce the frame rate to 2fps?
<qwertyttyert> -framerate <video_rate> .D......... set the video framerate (default "25") Does this option adjust the frame rate for the resulting animated file? I want to reduce the size of the gif file. One way to reduce the size is to reduce the number of frames.
<qwertyttyert> "-framerate" not working
<jdarnley> no because that option doesn't apply to the avi demuxer nor the h264 decoder
<qwertyttyert> and "-frame_size" not working
<jdarnley> If you want to reduce the frame rate then use the right option which is -r
<jdarnley> -frame_size is an audio option anyway
<qwertyttyert> is it only with h264,x264,AVC and AVI container? Changing the codec and container is not a problem for me.
<qwertyttyert> I often use x264 in the lossless compression variant. The x264 file is smaller with lossless compression than other codecs. VP9 has not tested how lossless compression, and will most likely compress more slowly.
<jdarnley> Is what only with what?
Krowl has joined #ffmpeg-devel
<qwertyttyert> I didn't understand the question
<jdarnley> nor did I
<qwertyttyert> "-frame_size <int> .D......... force frame size in bytes (from 0 to INT_MAX) (default 0)" - unwritten what it for audio
<jdarnley> fuck you ffmpeg and your overloaded options
<jdarnley> But again that is not for the avi demuxer
<jdarnley> Besides what would that mean?
<qwertyttyert> Fffmpeg -i /dev/shm/FFV1.mkv(16fps) -vcodec gif -gifimage 0 -framerate 2 /dev/shm/1.gif nothing has changed
<jdarnley> God dammit! Read what I fucking write!
* jdarnley pisses off to lunch
<qwertyttyert> It's not that simple. I translate through translators websites.
<qwertyttyert> "If you want to reduce the frame rate then use the right option which is -r" I didn't translate it, I forgot to translate it.
HarshK23 has quit [Quit: Connection closed for inactivity]
kurosu has quit [Server closed connection]
kurosu has joined #ffmpeg-devel
* Sean_McG peeks in
<qwertyttyert> -r is a common setting for all codecs? I looked through all the settings in the description of the gif about the settings -r, nothing is not written.
<qwertyttyert> yes -r is a common setting for all video codecs.
beastd has quit [Quit: KVIrc 5.2.4 Quasar http://www.kvirc.net/]
<qwertyttyert> Oh! and for gif, gif animation not video.
<qwertyttyert> I was looking for gif in the settings for gif, and didn't think to use -r as with video encoding.
<qwertyttyert> figured it out
qwertyttyert has quit [Quit: Leaving]
cone-823 has quit [Quit: transmission timeout]
wutong has joined #ffmpeg-devel
feiw has quit [Server closed connection]
Krowl has quit [Read error: Connection reset by peer]
feiw has joined #ffmpeg-devel
AndrewSayers has quit [Server closed connection]
AndrewSayers has joined #ffmpeg-devel
Krowl has joined #ffmpeg-devel
cubicibo has joined #ffmpeg-devel
ccawley2011 has joined #ffmpeg-devel
<thardin> "[PATCH v21] avformat: add farbfeld muxer and demuxer" I'm impressed such a simple format can go through 20 revisions
compnnn has joined #ffmpeg-devel
<Lynne> IndecisiveTurtle: right, you did miss a few messages
<Lynne> yeah, you'll need a bitstream writer in a shader, but definitely don't copy put_bits
cworley_ has joined #ffmpeg-devel
<Lynne> you can write one in 5 minutes, just shift + or bits into a variable, then write it out to a buffer once its full
compnn has quit [Read error: Connection reset by peer]
cworley has quit [Ping timeout: 245 seconds]
cubicibo has quit [Ping timeout: 256 seconds]
<IndecisiveTurtle> Lynne: Thanks. I will also try to switch IRC client, Halloy seems to disconnect sometimes when it feels like it
<IndecisiveTurtle> Any other message I missed?
<Lynne> no, that was it
<Lynne> did you manage to get the ff_vk framework working and submitting?
<IndecisiveTurtle> I suspected it was a missing ff_vk_exec_add_dep_frame but it wasn't it. Will try again this evening it is probably something stupid deadlocking it. It submits fine but the moment you wait for it nothing
<IndecisiveTurtle> This week in general my goal is to get it fully running and ensure the basics like haar wavelet and encoding work so can spent remaining time adding additional wavelets and testing against reference vc2 encoder
<Sean_McG> thardin: in general, I've been more than irritated by how many revisions some patchsets go through
Krowl has quit [Read error: Connection reset by peer]
derpydoo has quit [Ping timeout: 245 seconds]
<Lynne> IndecisiveTurtle: have you made sure to init everything properly?
<IndecisiveTurtle> Looks correct to me
<IndecisiveTurtle> I did in order
<IndecisiveTurtle> vkctx->frames_ref = av_buffer_ref(avctx->hw_frames_ctx);
<IndecisiveTurtle> vkctx->frames = (AVHWFramesContext *)vkctx->frames_ref->data;
<IndecisiveTurtle> vkctx->hwfc = vkctx->frames->hwctx;
<IndecisiveTurtle> vkctx->device = (AVHWDeviceContext *)vkctx->frames->device_ref->data;
<IndecisiveTurtle> vkctx->hwctx = vkctx->device->hwctx;
<IndecisiveTurtle> vkctx->extensions = ff_vk_extensions_to_mask(vkctx->hwctx->enabled_dev_extensions, vkctx->hwctx->nb_enabled_dev_extensions);
<IndecisiveTurtle> ff_vk_load_functions(vkctx->device, &vkctx->vkfn, vkctx->extensions, 1, 1);
<Sean_McG> please use pastebins for large output
<IndecisiveTurtle> ff_vk_load_props(vkctx);
<IndecisiveTurtle> Sean_McG: Oh very sorry, will do next time
<IndecisiveTurtle> That ff_vk_load_props I added because it couldn't create buffers for some reason and found it hadn't loaded props and couldn't select appropriate memory type
Traneptora has quit [Quit: Quit]
<Lynne> do you call ff_vk_exec_pool_init?
Mikhail_AMD has joined #ffmpeg-devel
<IndecisiveTurtle> Yes a bit below
<IndecisiveTurtle> And ff_vk_qf_init rigth before it
<Lynne> what command line do you use?
<IndecisiveTurtle> ./ffmpeg -init_hw_device vulkan=vk:0 -i well.mp4 -filter_hw_device vk -vf format=yuv444p,hwupload -c:v vc2_vulkan -y well.vc2
<IndecisiveTurtle> I tried using vkconfig to force on validation layers and I didn't see anything interesting that could make a cmdlist be stuck forever. I will try again though
<Lynne> maybe you're doing something nasty in the shader and the GPU crashes or similar
<Lynne> try skipping everything in the shader to check if it runs
<IndecisiveTurtle> Will try
<IndecisiveTurtle> It's that probably, will verify I didn't miss setting DBA pointer first and then try to run them on the haar test demo to get more specific results
Krowl has joined #ffmpeg-devel
Mikhail_AMD has quit [Quit: Konversation terminated!]
<IndecisiveTurtle> Stepping through in encoding in ffmpeg is a bit annoying as random threads will take away the debuggers attension anytime, idk if thats a problem specific to my setup
<Lynne> you can compile without threads
<Lynne> but yeah, that sounds like an issue on your end
<Lynne> or run with -t 1
<IndecisiveTurtle> I saw it especially when I run the cpu vc2 encoder to take values for the quant shader. It seems to use a threadpool of num_x*num_y threads and the same breakpoint got hit maaany times
<IndecisiveTurtle> Thanks will try it
<IndecisiveTurtle> Lynne: I wrote a quick bit stream without using put_bit in ffmpeg, does it look okay https://pastebin.com/qmX1JhNA
<Lynne> you need to reset bit_pos
<Lynne> you don't really need put_byte or put_dword, pretty much universally if there's a bit to bytestream switch happening, the stream gets byte-aligned
<IndecisiveTurtle> Ah missed that
<IndecisiveTurtle> For the other functions, in encode_subband there is a look with the c_abs branch that conditionally puts a single bit to the stream. Does that get byte aligned too?
<Lynne> no, why would it?
<Marth64> AndrewSayers: thanks!
<IndecisiveTurtle> Then I misunderstood what you meant by "bit to bytestream switch"
<IndecisiveTurtle> So instead of having 3 functions there should be a single put_bits function that takes variable number of bits to place in bitstream
<Lynne> yup, pretty much that's all you need in the shader
<Lynne> plus a function to flush the buffer
<IndecisiveTurtle> Makes sense
AbleBacon has joined #ffmpeg-devel
Krowl has quit [Read error: Connection reset by peer]
MisterMinister has joined #ffmpeg-devel
ngaullier has quit [Quit: Leaving]
AbleBacon has quit [Read error: Connection reset by peer]
dlb76 has joined #ffmpeg-devel
Sean_McG has quit [Quit: leaving]
<courmisch> I feel like my review comments are being ignored
Krowl has joined #ffmpeg-devel
microchip_ has quit [Ping timeout: 264 seconds]
blb has quit [Server closed connection]
blb has joined #ffmpeg-devel
microchip_ has joined #ffmpeg-devel
microchip_ has quit [Read error: Connection reset by peer]
microchip_ has joined #ffmpeg-devel
microchip_ has quit [Client Quit]
microchip__ has joined #ffmpeg-devel
microchip__ has quit [Client Quit]
microchip_ has joined #ffmpeg-devel
iive has joined #ffmpeg-devel
b50d has joined #ffmpeg-devel
mateo` has quit [Server closed connection]
mateo` has joined #ffmpeg-devel
Krowl has quit [Read error: Connection reset by peer]
b50d has quit [Remote host closed the connection]
mkver has quit [Ping timeout: 256 seconds]
novaphoenix has quit [Server closed connection]
novaphoenix has joined #ffmpeg-devel
jarthur has joined #ffmpeg-devel
witchymary has quit [Remote host closed the connection]
witchymary has joined #ffmpeg-devel
Krowl has joined #ffmpeg-devel
Krowl has quit [Quit: Krowl]
cone-890 has joined #ffmpeg-devel
<cone-890> ffmpeg James Almer master:5fe13aeb6552: avcodec/cbs_h265: fix range of sps_max_sub_layers_minus1
<cone-890> ffmpeg James Almer master:41211edc1b05: avcodec/cbs_h265: add support for SPS Multilayer extension fields
<cone-890> ffmpeg James Almer master:64807ccc9191: avcodec/cbs_h265: add support for PPS Multilayer extension fields
<cone-890> ffmpeg James Almer master:25138fa0f367: avcodec/cbs_h265: reindent after the previous commit
<cone-890> ffmpeg James Almer master:27eb55a9c91b: avcodec/cbs_h265: add support for 3D Reference Displays Information SEI
Krowl has joined #ffmpeg-devel
IndecisiveTurtle has quit [Ping timeout: 268 seconds]
wutong has quit [Remote host closed the connection]
wutong has joined #ffmpeg-devel
mkver has joined #ffmpeg-devel
Krowl has quit [Read error: Connection reset by peer]
IndecisiveTurtle has joined #ffmpeg-devel
Traneptora has joined #ffmpeg-devel
AbleBacon has joined #ffmpeg-devel
<cone-890> ffmpeg James Almer master:5d74dcf0e3ed: fate/lavf-container: add a test for L-HEVC remuxing
MisterMinister has quit [Ping timeout: 245 seconds]
ergZay has quit [Quit: This computer has gone to sleep]
iive has quit [Quit: They came for me...]
wutong has quit [Remote host closed the connection]
ccawley2011 has quit [Read error: Connection reset by peer]
MisterMinister has joined #ffmpeg-devel
feiw1 has joined #ffmpeg-devel