summaryrefslogtreecommitdiff
path: root/rotord/src/libavwrapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rotord/src/libavwrapper.cpp')
-rw-r--r--rotord/src/libavwrapper.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/rotord/src/libavwrapper.cpp b/rotord/src/libavwrapper.cpp
index a6cb56d..4a8315f 100644
--- a/rotord/src/libavwrapper.cpp
+++ b/rotord/src/libavwrapper.cpp
@@ -267,10 +267,13 @@ bool libav::exporter::record(std::string filename){
AVDictionary *opts = NULL; // "create" an empty dictionary
+ // https://libav.org/avprobe.html#MOV_002fMP4_002fISMV
+
//THIS DOES SEEM TO SET CONTAINER OPTS= AS MOOV_SIZE MAKES THE MOVIE BANJAXED
//av_dict_set(&opts, "moov_size", "20000", 0);
if (fragmentation) {
- av_dict_set(&opts, "movflags","frag_keyframe", 0);
+ av_dict_set(&opts, "movflags","frag_keyframe", 0); //makes a video watchable in chrome, quicktime & mplayer
+ //av_dict_set(&opts, "movflags","empty_moov",1);
}