[gnome-getting-started-docs] use proper aspect ratio for transcode.



commit f05a61e771306d28a9f073ffff9ac623255e9ff0
Author: Jakub Steiner <jimmac gmail com>
Date:   Mon Feb 25 20:56:25 2013 +0100

    use proper aspect ratio for transcode.
    
    - bump up the bitrate slightly, it was painful to watch teh artifacts.

 animation/gnome-change-wallpaper.py       |    2 +-
 animation/gnome-launching-applications.py |    2 +-
 animation/gnome-responding-to-messages.py |    2 +-
 animation/gnome-task-switching.py         |    2 +-
 animation/gnome-timezone.blend            |  Bin 1531440 -> 1531084 bytes
 animation/gnome-timezone.py               |    2 +-
 animation/gnome-windows-and-workspaces.py |    2 +-
 7 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/animation/gnome-change-wallpaper.py b/animation/gnome-change-wallpaper.py
index 9d8b92c..453a1a0 100644
--- a/animation/gnome-change-wallpaper.py
+++ b/animation/gnome-change-wallpaper.py
@@ -32,7 +32,7 @@ def transcode(lang):
   transcodepath = "../getting-started/%s/figures/" % (lang)
   
   #print(transcodepath,webmfile,sndfile,framepath)
-  transcodecmd = "gst-launch-1.0 webmmux name=mux ! filesink location=\"%s/%s\"    file://%s ! decodebin ! 
audioconvert ! vorbisenc bitrate=96000 ! mux.     multifilesrc location=\"%s/%%04d.png\" index=1 
caps=\"image/png,framerate=\(fraction\)24/1\" ! pngdec ! videoconvert ! videoscale ! video/x-raw, 
width=720,height=480 ! videorate ! vp8enc threads=12 target-bitrate=100000 ! mux." % 
(transcodepath,webmfile,sndfile,framepath)
+  transcodecmd = "gst-launch-1.0 webmmux name=mux ! filesink location=\"%s/%s\"    file://%s ! decodebin ! 
audioconvert ! vorbisenc bitrate=96000 ! mux.     multifilesrc location=\"%s/%%04d.png\" index=1 
caps=\"image/png,framerate=\(fraction\)24/1\" ! pngdec ! videoconvert ! videoscale ! video/x-raw, 
width=854,height=480 ! videorate ! vp8enc threads=12 target-bitrate=200000 ! mux." % 
(transcodepath,webmfile,sndfile,framepath)
   if (not os.path.isfile(transcodepath+webmfile)):
     os.system(transcodecmd)
   else:
diff --git a/animation/gnome-launching-applications.py b/animation/gnome-launching-applications.py
index f5549f0..231d4d0 100644
--- a/animation/gnome-launching-applications.py
+++ b/animation/gnome-launching-applications.py
@@ -31,7 +31,7 @@ def transcode(lang):
   transcodepath = "../getting-started/%s/figures/" % (lang)
   
   #print(transcodepath,webmfile,sndfile,framepath)
-  transcodecmd = "gst-launch-1.0 webmmux name=mux ! filesink location=\"%s/%s\"    file://%s ! decodebin ! 
audioconvert ! vorbisenc bitrate=96000 ! mux.     multifilesrc location=\"%s/%%04d.png\" index=1 
caps=\"image/png,framerate=\(fraction\)24/1\" ! pngdec ! videoconvert ! videoscale ! video/x-raw, 
width=720,height=480 ! videorate ! vp8enc threads=12 target-bitrate=100000 ! mux." % 
(transcodepath,webmfile,sndfile,framepath)
+  transcodecmd = "gst-launch-1.0 webmmux name=mux ! filesink location=\"%s/%s\"    file://%s ! decodebin ! 
audioconvert ! vorbisenc bitrate=96000 ! mux.     multifilesrc location=\"%s/%%04d.png\" index=1 
caps=\"image/png,framerate=\(fraction\)24/1\" ! pngdec ! videoconvert ! videoscale ! video/x-raw, 
width=854,height=480 ! videorate ! vp8enc threads=12 target-bitrate=200000 ! mux." % 
(transcodepath,webmfile,sndfile,framepath)
   if (not os.path.isfile(transcodepath+webmfile)):
     os.system(transcodecmd)
   else:
diff --git a/animation/gnome-responding-to-messages.py b/animation/gnome-responding-to-messages.py
index ef0f51a..739c725 100644
--- a/animation/gnome-responding-to-messages.py
+++ b/animation/gnome-responding-to-messages.py
@@ -31,7 +31,7 @@ def transcode(lang):
   transcodepath = "../getting-started/%s/figures/" % (lang)
   
   #print(transcodepath,webmfile,sndfile,framepath)
-  transcodecmd = "gst-launch-1.0 webmmux name=mux ! filesink location=\"%s/%s\"    file://%s ! decodebin ! 
audioconvert ! vorbisenc bitrate=96000 ! mux.     multifilesrc location=\"%s/%%04d.png\" index=1 
caps=\"image/png,framerate=\(fraction\)24/1\" ! pngdec ! videoconvert ! videoscale ! video/x-raw, 
width=720,height=480 ! videorate ! vp8enc threads=12 target-bitrate=100000 ! mux." % 
(transcodepath,webmfile,sndfile,framepath)
+  transcodecmd = "gst-launch-1.0 webmmux name=mux ! filesink location=\"%s/%s\"    file://%s ! decodebin ! 
audioconvert ! vorbisenc bitrate=96000 ! mux.     multifilesrc location=\"%s/%%04d.png\" index=1 
caps=\"image/png,framerate=\(fraction\)24/1\" ! pngdec ! videoconvert ! videoscale ! video/x-raw, 
width=854,height=480 ! videorate ! vp8enc threads=12 target-bitrate=200000 ! mux." % 
(transcodepath,webmfile,sndfile,framepath)
   if (not os.path.isfile(transcodepath+webmfile)):
     os.system(transcodecmd)
   else:
diff --git a/animation/gnome-task-switching.py b/animation/gnome-task-switching.py
index 078e9ed..824299b 100644
--- a/animation/gnome-task-switching.py
+++ b/animation/gnome-task-switching.py
@@ -31,7 +31,7 @@ def transcode(lang):
   transcodepath = "../getting-started/%s/figures/" % (lang)
   
   #print(transcodepath,webmfile,sndfile,framepath)
-  transcodecmd = "gst-launch-1.0 webmmux name=mux ! filesink location=\"%s/%s\"    file://%s ! decodebin ! 
audioconvert ! vorbisenc bitrate=96000 ! mux.     multifilesrc location=\"%s/%%04d.png\" index=1 
caps=\"image/png,framerate=\(fraction\)24/1\" ! pngdec ! videoconvert ! videoscale ! video/x-raw, 
width=720,height=480 ! videorate ! vp8enc threads=12 target-bitrate=100000 ! mux." % 
(transcodepath,webmfile,sndfile,framepath)
+  transcodecmd = "gst-launch-1.0 webmmux name=mux ! filesink location=\"%s/%s\"    file://%s ! decodebin ! 
audioconvert ! vorbisenc bitrate=96000 ! mux.     multifilesrc location=\"%s/%%04d.png\" index=1 
caps=\"image/png,framerate=\(fraction\)24/1\" ! pngdec ! videoconvert ! videoscale ! video/x-raw, 
width=854,height=480 ! videorate ! vp8enc threads=12 target-bitrate=200000 ! mux." % 
(transcodepath,webmfile,sndfile,framepath)
   if (not os.path.isfile(transcodepath+webmfile)):
     os.system(transcodecmd)
   else:
diff --git a/animation/gnome-timezone.blend b/animation/gnome-timezone.blend
index 226b60d..1311b24 100644
Binary files a/animation/gnome-timezone.blend and b/animation/gnome-timezone.blend differ
diff --git a/animation/gnome-timezone.py b/animation/gnome-timezone.py
index 10631f3..f251435 100644
--- a/animation/gnome-timezone.py
+++ b/animation/gnome-timezone.py
@@ -32,7 +32,7 @@ def transcode(lang):
   transcodepath = "../getting-started/%s/figures/" % (lang)
   
   #print(transcodepath,webmfile,sndfile,framepath)
-  transcodecmd = "gst-launch-1.0 webmmux name=mux ! filesink location=\"%s/%s\"    file://%s ! decodebin ! 
audioconvert ! vorbisenc bitrate=96000 ! mux.     multifilesrc location=\"%s/%%04d.png\" index=1 
caps=\"image/png,framerate=\(fraction\)24/1\" ! pngdec ! videoconvert ! videoscale ! video/x-raw, 
width=720,height=480 ! videorate ! vp8enc threads=12 target-bitrate=100000 ! mux." % 
(transcodepath,webmfile,sndfile,framepath)
+  transcodecmd = "gst-launch-1.0 webmmux name=mux ! filesink location=\"%s/%s\"    file://%s ! decodebin ! 
audioconvert ! vorbisenc bitrate=96000 ! mux.     multifilesrc location=\"%s/%%04d.png\" index=1 
caps=\"image/png,framerate=\(fraction\)24/1\" ! pngdec ! videoconvert ! videoscale ! video/x-raw, 
width=854,height=480 ! videorate ! vp8enc threads=12 target-bitrate=200000 ! mux." % 
(transcodepath,webmfile,sndfile,framepath)
   if (not os.path.isfile(transcodepath+webmfile)):
     os.system(transcodecmd)
   else:
diff --git a/animation/gnome-windows-and-workspaces.py b/animation/gnome-windows-and-workspaces.py
index d1cdf6e..0260045 100644
--- a/animation/gnome-windows-and-workspaces.py
+++ b/animation/gnome-windows-and-workspaces.py
@@ -32,7 +32,7 @@ def transcode(lang):
   transcodepath = "../getting-started/%s/figures/" % (lang)
   
   #print(transcodepath,webmfile,sndfile,framepath)
-  transcodecmd = "gst-launch-1.0 webmmux name=mux ! filesink location=\"%s/%s\"    file://%s ! decodebin ! 
audioconvert ! vorbisenc bitrate=96000 ! mux.     multifilesrc location=\"%s/%%04d.png\" index=1 
caps=\"image/png,framerate=\(fraction\)24/1\" ! pngdec ! videoconvert ! videoscale ! video/x-raw, 
width=720,height=480 ! videorate ! vp8enc threads=12 target-bitrate=200000 ! mux." % 
(transcodepath,webmfile,sndfile,framepath)
+  transcodecmd = "gst-launch-1.0 webmmux name=mux ! filesink location=\"%s/%s\"    file://%s ! decodebin ! 
audioconvert ! vorbisenc bitrate=96000 ! mux.     multifilesrc location=\"%s/%%04d.png\" index=1 
caps=\"image/png,framerate=\(fraction\)24/1\" ! pngdec ! videoconvert ! videoscale ! video/x-raw, 
width=854,height=480 ! videorate ! vp8enc threads=12 target-bitrate=200000 ! mux." % 
(transcodepath,webmfile,sndfile,framepath)
   if (not os.path.isfile(transcodepath+webmfile)):
     os.system(transcodecmd)
   else:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]