AnimeSR icon indicating copy to clipboard operation
AnimeSR copied to clipboard

Question about ffmpeg compression degradation

Open wwbwang opened this issue 1 year ago • 1 comments

Hello, I followed your codes, but got error randomly in animesr.data.ffmpeg_anime_dataset.FFMPEGAnimeDataset.add_ffmpeg_conpression. I may get "[h264 @ 0x1d1df20] decode_slice_header error" in terminal, when the program runs to "ffmpeg_video2img.stdin.close()". In this case, 15 images are passed in to generate video, but decoding can result in 14 or fewer images, causing problems. I don't know why this problem occurs, and what's bothers me most is that it is arisen randomly. Do you have any suggestions or ideas?

wwbwang avatar Nov 09 '23 10:11 wwbwang

I've fixed this problem. The reason is ffmpeg's baseline compression doesn't work in my platform.

wwbwang avatar Nov 27 '23 08:11 wwbwang