Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
imagej-elphel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
imagej-elphel
Commits
9bdfafd8
Commit
9bdfafd8
authored
Aug 07, 2025
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more places with the video bitrate
parent
bfd6e6ec
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
CuasMotion.java
src/main/java/com/elphel/imagej/cuas/CuasMotion.java
+2
-2
OrthoMap.java
src/main/java/com/elphel/imagej/orthomosaic/OrthoMap.java
+5
-2
No files found.
src/main/java/com/elphel/imagej/cuas/CuasMotion.java
View file @
9bdfafd8
...
@@ -2739,8 +2739,8 @@ public class CuasMotion {
...
@@ -2739,8 +2739,8 @@ public class CuasMotion {
String
webm_path
=
avi_path
.
substring
(
0
,
avi_path
.
length
()-
4
)+
video_ext
;
String
webm_path
=
avi_path
.
substring
(
0
,
avi_path
.
length
()-
4
)+
video_ext
;
String
stereo_meta
=
""
;
String
stereo_meta
=
""
;
String
shellCommand
=
String
.
format
(
"ffmpeg -y -i %s -c %s -b:v
0
-crf %d %s %s"
,
String
shellCommand
=
String
.
format
(
"ffmpeg -y -i %s -c %s -b:v
%fM
-crf %d %s %s"
,
avi_path
,
video_codec
,
video_crf
,
stereo_meta
,
webm_path
);
avi_path
,
video_codec
,
video_
bitrate_m
,
video_
crf
,
stereo_meta
,
webm_path
);
Process
p
=
null
;
Process
p
=
null
;
if
(!
dry_run
)
{
if
(!
dry_run
)
{
int
exit_code
=
-
1
;
int
exit_code
=
-
1
;
...
...
src/main/java/com/elphel/imagej/orthomosaic/OrthoMap.java
View file @
9bdfafd8
...
@@ -2740,6 +2740,7 @@ public class OrthoMap implements Comparable <OrthoMap>, Serializable{
...
@@ -2740,6 +2740,7 @@ public class OrthoMap implements Comparable <OrthoMap>, Serializable{
String
video_ext
=
".webm"
;
String
video_ext
=
".webm"
;
String
video_codec
=
"vp8"
;
String
video_codec
=
"vp8"
;
int
video_crf
=
10
;
// lower - better, larger file size
int
video_crf
=
10
;
// lower - better, larger file size
double
video_bitrate_m
=
50
;
// clt_parameters.imp.video_bitrate_m;
boolean
remove_avi
=
true
;
boolean
remove_avi
=
true
;
int
debugLevel
=
0
;
int
debugLevel
=
0
;
int
num_slices
=
imp
.
getImageStack
().
getSize
();
int
num_slices
=
imp
.
getImageStack
().
getSize
();
...
@@ -2870,6 +2871,7 @@ public class OrthoMap implements Comparable <OrthoMap>, Serializable{
...
@@ -2870,6 +2871,7 @@ public class OrthoMap implements Comparable <OrthoMap>, Serializable{
video_ext
,
// ".webm", // String video_ext,
video_ext
,
// ".webm", // String video_ext,
video_codec
,
// "vp8", // String video_codec,
video_codec
,
// "vp8", // String video_codec,
video_crf
,
// 10, // int video_crf, // lower - better, larger file size
video_crf
,
// 10, // int video_crf, // lower - better, larger file size
video_bitrate_m
,
// double video_bitrate_m,
remove_avi
,
// boolean remove_avi,
remove_avi
,
// boolean remove_avi,
debugLevel
);
// final int debugLevel
debugLevel
);
// final int debugLevel
...
@@ -3042,6 +3044,7 @@ public class OrthoMap implements Comparable <OrthoMap>, Serializable{
...
@@ -3042,6 +3044,7 @@ public class OrthoMap implements Comparable <OrthoMap>, Serializable{
String
video_ext
,
String
video_ext
,
String
video_codec
,
String
video_codec
,
int
video_crf
,
int
video_crf
,
double
video_bitrate_m
,
boolean
remove_avi
,
boolean
remove_avi
,
final
int
debugLevel
final
int
debugLevel
)
{
)
{
...
@@ -3074,8 +3077,8 @@ public class OrthoMap implements Comparable <OrthoMap>, Serializable{
...
@@ -3074,8 +3077,8 @@ public class OrthoMap implements Comparable <OrthoMap>, Serializable{
//ffmpeg -i sample_left_right_clip.mpg -an -c:v libvpx -metadata stereo_mode=left_right -y stereo_clip.webm
//ffmpeg -i sample_left_right_clip.mpg -an -c:v libvpx -metadata stereo_mode=left_right -y stereo_clip.webm
//anaglyph_cyan_red
//anaglyph_cyan_red
String
stereo_meta
=
""
;
// used in OpticalFlow
String
stereo_meta
=
""
;
// used in OpticalFlow
String
shellCommand
=
String
.
format
(
"ffmpeg -y -i %s -c %s -b:v
0
-crf %d %s %s"
,
String
shellCommand
=
String
.
format
(
"ffmpeg -y -i %s -c %s -b:v
%fM
-crf %d %s %s"
,
avi_path
,
video_codec
,
video_crf
,
stereo_meta
,
webm_path
);
avi_path
,
video_codec
,
video_
bitrate_m
,
video_
crf
,
stereo_meta
,
webm_path
);
Process
p
=
null
;
Process
p
=
null
;
if
(
generate_mapped
)
{
if
(
generate_mapped
)
{
int
exit_code
=
-
1
;
int
exit_code
=
-
1
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment