View Issue Details

IDProjectCategoryView StatusLast Update
0001722OpenFOAMBugpublic2015-07-12 13:01
Reporteruser19Assigned Tochris  
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionfixed 
PlatformGNU/LinuxOSUbuntuOS Version15.04
Summary0001722: Replace mencoder / add alternative in foamCreateVideo
Descriptionmencoder is really outdated (e.g. on Ubuntu > 14.04 it is a pain to obtain). Could this be changed to something a bit more recent, such as avconv (formerly ffmpeg)? Also, it would be cool if you could offer the choice (make it default?) to use the Ogg/Theora or WebM/VP9 format instead -- you guys being all open-source and patent critical.
TagsNo tags attached.

Activities

chris

2015-05-31 17:38

manager   ~0004853

Please provide suggestions/additions to the following:

- for MP4, would the following avconv command be equivalent to the mencoder command in the script:
    avconv \
        -i ${IMAGE}.%04d.png \
        -framerate $FPS \
        -o $VIDEO.mp4 \
        -c:v libx264 -pix_fmt yuv420p

- for WebM output, is the following OK for high quality (like x264 above):
    avconv \
        -i ${IMAGE}.%04d.png \
        -framerate $FPS \
        -o $VIDEO.webm \
        -c:v libvpx -crf 15 -b:v 1M

chris

2015-07-12 13:01

manager   ~0005068

Added features in commits:
https://github.com/OpenFOAM/OpenFOAM-2.4.x/commit/e713234c04f69f0c86372c9b11bdd944e59fc77e
https://github.com/OpenFOAM/OpenFOAM-dev/commit/45abf98521b04727eabf959ad711dfc52ade5192

Note to submitters of issues:
Please respond to feedback from people who are attempting to work on your issue.

Issue History

Date Modified Username Field Change
2015-05-30 13:59 user19 New Issue
2015-05-31 17:38 chris Note Added: 0004853
2015-05-31 17:38 chris Assigned To => chris
2015-05-31 17:38 chris Status new => feedback
2015-07-12 13:01 chris Note Added: 0005068
2015-07-12 13:01 chris Status feedback => closed
2015-07-12 13:01 chris Resolution open => fixed