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.2 has been released! | Please read ffmpeg.org/developer.html#Code-of-conduct
arch1t3cht0 has joined #ffmpeg-devel
arch1t3cht has quit [Ping timeout: 246 seconds]
arch1t3cht0 is now known as arch1t3cht
<Lynne>
trace_headers should probably detect LC-EVC data rather than printing it byte per byte
elvis_a_presley has quit [Ping timeout: 248 seconds]
<smandelli_>
Hi guys, my own implementation of a h264 decoding show the video with artifacts (pixelizations, shadows, etcc) instead ffplay reproduces the same stream with no problem
<smandelli_>
Both the implementation (my own and ffplay) return an error message like: slice type 32 too large at 147455 decode_slice_header error
<smandelli_>
no frame!
<smandelli_>
but actually, ffplay eventually return a smooth playback with no hole
<smandelli_>
mine is super broken .....
elvis_a_presley has joined #ffmpeg-devel
feiw has quit [Ping timeout: 248 seconds]
feiw has joined #ffmpeg-devel
feiw has quit [Ping timeout: 246 seconds]
feiw has joined #ffmpeg-devel
Krowl has quit [Read error: Connection reset by peer]
elvis_a_presley has quit [Ping timeout: 246 seconds]
SystemError has joined #ffmpeg-devel
Akosmo has joined #ffmpeg-devel
Akosmo has quit [Client Quit]
Akosmo has joined #ffmpeg-devel
MikhailAMD has quit [Quit: Leaving]
Krowl has joined #ffmpeg-devel
MikhailAMD has joined #ffmpeg-devel
MikhailAMD has quit [Client Quit]
vipyne has joined #ffmpeg-devel
elvis_a_presley has joined #ffmpeg-devel
elvis_a_presley has quit [Quit: smoke-bomb ; grapple-hook]
elvis_a_presley has joined #ffmpeg-devel
elvis_a_presley has quit [Client Quit]
elvis_a_presley has joined #ffmpeg-devel
ramiro has quit [Ping timeout: 276 seconds]
elvis_a_presley has quit [Client Quit]
elvis_a_presley has joined #ffmpeg-devel
ramiro has joined #ffmpeg-devel
<Traneptora_>
smandelli_: what's likely going on is the initial segment of the H.264 stream is corrupt
<Traneptora_>
and whatever you're doing isn't recovering from that well
Traneptora_ has quit [Quit: Quit]
Traneptora has joined #ffmpeg-devel
<smandelli_>
@Traneptora_ Why ffplay is able to recover it? Both emit the error but ffplay reproduces the video with no gaps
<smandelli_>
Indeed it is super weird and I cannot explain it to myself
<smandelli_>
@Traneptora
<BtbN>
I mean, you wrote the decoder, so we can't really tell you much about how and why it does what it does
lemourin has quit [Read error: Connection reset by peer]
<BtbN>
Or do you mean you're writing your own player, but still using libavcodec for decoding?
lemourin has joined #ffmpeg-devel
cone-065 has quit [Quit: transmission timeout]
<smandelli_>
Yeah, I am still using the libavcodec. My decoder is super simple: avcodec_send_packet ... and then avcodec_receive_frame
llyyr has quit [Quit: Quit]
<smandelli_>
during the send, libavcodec emits the same error of ffplay
<smandelli_>
but the final frame is different
<smandelli_>
mine is pixelized while ffmpeg is smooth with no artifacts
<Daemon404>
i mean the obvious answer is your api use differs from ffplay
<Daemon404>
and we cant exactly divine the difference.
<smandelli_>
I check the ret value of send_packet, and I manage the EAGAIN, AVERROR_INVALIDDATA, and the EOF
<smandelli_>
Are there any other conditions to manage?
llyyr has joined #ffmpeg-devel
<Traneptora>
smandelli_: without seeing your code we can't help, but inspecting ffplay code could help you figure out what the issue is
vipyne has quit [Quit: Leaving.]
Krowl has quit [Read error: Connection reset by peer]
smandelli_ has quit [Quit: Leaving]
feiw has quit [Remote host closed the connection]
feiw has joined #ffmpeg-devel
IndecisiveTurtle has quit [Ping timeout: 246 seconds]
uartie has quit [Remote host closed the connection]
uartie has joined #ffmpeg-devel
Akosmo has quit [Quit: Client closed]
cone-100 has joined #ffmpeg-devel
<cone-100>
ffmpeg Hendrik Leppkes master:d4cfbf329c70: hevc/sei: return INVALIDDATA when a referenced SPS is not available
haihao has quit [Remote host closed the connection]
psykose has quit [Remote host closed the connection]
Krowl has quit [Read error: Connection reset by peer]
<cone-100>
ffmpeg Rémi Denis-Courmont master:27d28b68daae: swscale/rgb2rgb: enable R-V V deinterleaveBytes
<cone-100>
ffmpeg Rémi Denis-Courmont master:d9f594209fb1: checkasm/riscv: print official extension names
<darkdrgn2k>
I added some potions in avformat_options in option_table.h. But in dash's int dash_flush(AVFormatContext *s, int final, int stream) the values are null.
<darkdrgn2k>
but they exist when using -f mp4 in mov_write_trailer
___nick___ has quit [Ping timeout: 246 seconds]
<darkdrgn2k>
ok so found the issue
<darkdrgn2k>
but is there a way to make sure the final things are written in dash_flush
ccawley2011 has quit [Quit: Leaving]
cone-100 has quit [Quit: transmission timeout]
CAT_S has quit [Ping timeout: 244 seconds]
witchymary has quit [Remote host closed the connection]