Skip to content
This repository was archived by the owner on Nov 24, 2020. It is now read-only.
This repository was archived by the owner on Nov 24, 2020. It is now read-only.

Export Movie - use H.264 codec #289

@ddialer

Description

@ddialer

I suggest to change video codec form MPEG to H.264.

I noticed that JHelioviewer using regular MPEG codec when exporting the movie. Unfortunately, regular MPEG codec is not supported by most of the modern browsers (https://en.wikipedia.org/wiki/HTML5_video). And, to upload the exported movie, a user needs to convert the movie using H.264 codec so that it can be played on the web.

For Helioviewer.org we are using this command to generate mp4 movies using H.264 codec:

ffmpeg 
    -r 15 
    -i /data/frames/frame%d.bmp 
    -vcodec libx264 
    -pix_fmt yuv420p 
    -preset ultrafast 
    -threads 8 
    -crf 15 
    -s 452x206 
    -an 
    -y /data/movies/0BLd5/2016_05_09_10_58_21_2016_05_09_14_23_06_HMI_Int-hq.mp4 2>/dev/null

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions