copy video/audio stream when grabbing memory card
authorSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Sat, 30 Nov 2013 22:06:37 +0000 (00:06 +0200)
committerSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Sat, 30 Nov 2013 22:06:37 +0000 (00:06 +0200)
src/main/java/eu/svjatoslav/meviz/grabmemcard/Main.java

index f078634..9e779c8 100755 (executable)
@@ -17,6 +17,7 @@ import java.util.GregorianCalendar;
 import eu.svjatoslav.commons.file.CommonPathResolver;
 import eu.svjatoslav.commons.file.FilePathParser;
 import eu.svjatoslav.meviz.Module;
+import eu.svjatoslav.meviz.encoder.BitrateParameter;
 import eu.svjatoslav.meviz.encoder.EncodingOptions;
 import eu.svjatoslav.meviz.encoder.EncodingPlan;
 import eu.svjatoslav.meviz.encoder.EncodingTask;
@@ -117,6 +118,7 @@ public class Main implements Module {
                }
 
                final EncodingOptions options = new EncodingOptions();
+               options.videoBitrate = BitrateParameter.bitrate.COPY;
 
                encodingPlan.execute(options);
        }