Skip to content

Question about ffmpeg compression degradation #16

@wwbwang

Description

@wwbwang

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions