Skip to content

I need an alternative to the MJPG format #14

@nicolastrognot

Description

@nicolastrognot

Hello,

I implemented your code (from capture_video.py) into my own Python script, I tried a lot of thing to edit the format (from MJPG to something else like avi or mp4). How can we record into the avi format ?

What I tried to edit:
Line 41: video.mjpg > video.avi
Line 26: fourcc='MJPG' > I tried a lot of codecs which were compatible with AVI format but no one was able to work. (from this list: http://www.fourcc.org/codecs.php)

I never succeeded to display the result on VLC

Sorry for my english, I'm French,

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions