fixes for tiff/jbig, faststart for mov mp4
authorGood Guy <good1.2guy@gmail.com>
Sun, 30 Apr 2017 21:50:40 +0000 (15:50 -0600)
committerGood Guy <good1.2guy@gmail.com>
Sun, 30 Apr 2017 21:50:40 +0000 (15:50 -0600)
cinelerra-5.1/configure.ac
cinelerra-5.1/ffmpeg/audio/faststart_h264.mp4 [new file with mode: 0644]
cinelerra-5.1/ffmpeg/format/fqt [new file with mode: 0644]
cinelerra-5.1/ffmpeg/video/faststart_h264.mp4 [new file with mode: 0644]

index e5923f7abe291c262dd8d146f1e84e921c3f1e3c..952f0d00489b6f3809335b41cb4674d436dde378 100644 (file)
@@ -445,6 +445,7 @@ CHECK_LIB([giflib], [gif], [DGifOpen])
 CHECK_HEADERS([giflib], [gif lib headers], [gif_lib.h])
 CHECK_LIB([fdk], [fdk-aac], [faacDecInit])
 CHECK_HEADERS([fdk], [fdk headers], [fdk-aac/genericStds.h])
+CHECK_LIB([jbig], [jbig], [jbg_dec_init])
 
 #if test "x$HAVE_mjpegtools" = "xyes"; then
 #CFG_CFLAGS+=" -I/usr/include/mjpegtools"
@@ -678,7 +679,9 @@ echo ""
 
 # build extras
 if test "x$HAVE_tiff" = "xyes"; then
-  EXTRA_LIBS+=' -ljbig'
+  if test "x$HAVE_jbig" = "xyes"; then
+    EXTRA_LIBS+=' -ljbig'
+  fi
 fi
 if test "x$HAVE_NUMA" = "xyes"; then
   EXTRA_LIBS+=' -lnuma'
@@ -797,3 +800,10 @@ echo ""
 echo "export thirdparty_libraries libraries"
 echo "export CFLAGS_ CXXFLAGS_ LDFLAGS_"
 echo "unexport CFLAGS CXXFLAGS LDFLAGS"
+
+if test "x$HAVE_tiff" = "xyes"; then
+  if test "x$HAVE_jbig" != "xyes"; then
+    echo "tiff.cfg_params+= --disable-jbig"
+  fi
+fi
+
diff --git a/cinelerra-5.1/ffmpeg/audio/faststart_h264.mp4 b/cinelerra-5.1/ffmpeg/audio/faststart_h264.mp4
new file mode 100644 (file)
index 0000000..5b897a5
--- /dev/null
@@ -0,0 +1,2 @@
+fqt libfdk_aac
+strict -2
diff --git a/cinelerra-5.1/ffmpeg/format/fqt b/cinelerra-5.1/ffmpeg/format/fqt
new file mode 100644 (file)
index 0000000..9e3c729
--- /dev/null
@@ -0,0 +1,2 @@
+mov
+movflags=+faststart
diff --git a/cinelerra-5.1/ffmpeg/video/faststart_h264.mp4 b/cinelerra-5.1/ffmpeg/video/faststart_h264.mp4
new file mode 100644 (file)
index 0000000..53f9b43
--- /dev/null
@@ -0,0 +1,4 @@
+fqt libx264
+# use framerate for 1 keyframe/sec, needed for seeks
+keyint_min=25
+x264opts keyint=25