Replace gstreamer.com uri with freedesktop
authorOlivier Crête <olivier.crete@collabora.com>
Thu, 15 Sep 2016 20:19:28 +0000 (16:19 -0400)
committerOlivier Crête <olivier.crete@collabora.com>
Thu, 15 Sep 2016 20:19:28 +0000 (16:19 -0400)
17 files changed:
examples/basic-tutorial-1.c
sdk-android-tutorial-media-player.md
sdk-basic-tutorial-dynamic-pipelines.md
sdk-basic-tutorial-gstreamer-tools.md
sdk-basic-tutorial-handy-elements.md
sdk-basic-tutorial-hello-world.md
sdk-basic-tutorial-media-information-gathering.md
sdk-basic-tutorial-playback-speed.md
sdk-basic-tutorial-streaming.md
sdk-basic-tutorial-time-management.md
sdk-basic-tutorial-toolkit-integration.md
sdk-ios-tutorial-a-basic-media-player.md
sdk-playback-tutorial-color-balance.md
sdk-playback-tutorial-custom-playbin-sinks.md
sdk-playback-tutorial-playbin-usage.md
sdk-playback-tutorial-progressive-streaming.md
sdk-playback-tutorial-subtitle-management.md

index b6b15756c04c0232e336fd10e37627674f65975f..e91365b42263349c5b7c88f35e07f4c783675242 100644 (file)
@@ -9,7 +9,7 @@ int main(int argc, char *argv[]) {
   gst_init (&argc, &argv);
 
   /* Build the pipeline */
-  pipeline = gst_parse_launch ("playbin uri=http://docs.gstreamer.com/media/sintel_trailer-480p.webm", NULL);
+  pipeline = gst_parse_launch ("playbin uri=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm", NULL);
 
   /* Start playing */
   gst_element_set_state (pipeline, GST_STATE_PLAYING);
index cb8f8a4cf0d92a887bb0689ff2b870a722ccc0ae..e95debd5c601bff5a6236eeb8bc7aebb05e81014 100644 (file)
@@ -86,7 +86,7 @@ public class Tutorial4 extends Activity implements SurfaceHolder.Callback, OnSee
     private int desired_position;         // Position where the users wants to seek to
     private String mediaUri;              // URI of the clip being played
 
-    private final String defaultMediaUri = "http://docs.gstreamer.com/media/sintel_trailer-368p.ogv";
+    private final String defaultMediaUri = "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-368p.ogv";
 
     // Called when the activity is first created.
     @Override
index 39df8915de83ac4616ea0b3a99b08510c8488644..957454f9ad0f24ebd696794ccb57dab1cfae6946 100644 (file)
@@ -132,7 +132,7 @@ int main(int argc, char *argv[]) {
   }
 
   /* Set the URI to play */
-  g_object_set (data.source, "uri", "http://docs.gstreamer.com/media/sintel_trailer-480p.webm", NULL);
+  g_object_set (data.source, "uri", "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm", NULL);
 
   /* Connect to the pad-added signal */
   g_signal_connect (data.source, "pad-added", G_CALLBACK (pad_added_handler), &data);
@@ -309,7 +309,7 @@ just leave this branch (converter + sink) unlinked, until later on.
 
 ``` c
 /* Set the URI to play */
-g_object_set (data.source, "uri", "http://docs.gstreamer.com/media/sintel_trailer-480p.webm", NULL);
+g_object_set (data.source, "uri", "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm", NULL);
 ```
 
 We set the URI of the file to play via a property, just like we did in
index f5df5114fded235a3f86d5421a1b3c0a7e535255..0899effddce08804d16396ac0d93185f0b3575da 100644 (file)
@@ -147,7 +147,7 @@ stream out of a
 demuxer:
 
 ```
-gst-launch-1.0 souphttpsrc location=http://docs.gstreamer.com/media/sintel_trailer-480p.webm ! matroskademux name=d d.video_00 ! matroskamux ! filesink location=sintel_video.mkv
+gst-launch-1.0 souphttpsrc location=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm ! matroskademux name=d d.video_00 ! matroskamux ! filesink location=sintel_video.mkv
 ```
 
 This fetches a media file from the internet using `souphttpsrc`, which
@@ -165,7 +165,7 @@ new matroska file with the video. If we wanted to keep only the
 audio:
 
 ```
-gst-launch-1.0 souphttpsrc location=http://docs.gstreamer.com/media/sintel_trailer-480p.webm ! matroskademux name=d d.audio_00 ! vorbisparse ! matroskamux ! filesink location=sintel_audio.mka
+gst-launch-1.0 souphttpsrc location=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm ! matroskademux name=d d.audio_00 ! vorbisparse ! matroskamux ! filesink location=sintel_audio.mka
 ```
 
 The `vorbisparse` element is required to extract some information from
@@ -191,7 +191,7 @@ Consider the following
 pipeline:
 
 ```
-gst-launch-1.0 souphttpsrc location=http://docs.gstreamer.com/media/sintel_trailer-480p.webm ! matroskademux ! filesink location=test
+gst-launch-1.0 souphttpsrc location=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm ! matroskademux ! filesink location=test
 ```
 
 This is the same media file and demuxer as in the previous example. The
@@ -205,7 +205,7 @@ previous sub-section, or by using **Caps
 Filters**:
 
 ```
-gst-launch-1.0 souphttpsrc location=http://docs.gstreamer.com/media/sintel_trailer-480p.webm ! matroskademux ! video/x-vp8 ! matroskamux ! filesink location=sintel_video.mkv
+gst-launch-1.0 souphttpsrc location=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm ! matroskademux ! video/x-vp8 ! matroskamux ! filesink location=sintel_video.mkv
 ```
 
 A Caps Filter behaves like a pass-through element which does nothing and
@@ -225,7 +225,7 @@ producing for a particular pipeline, run `gst-launch-1.0` as usual, with the
 Play a media file using `playbin` (as in [](sdk-basic-tutorial-hello-world.md)):
 
 ```
-gst-launch-1.0 playbin uri=http://docs.gstreamer.com/media/sintel_trailer-480p.webm
+gst-launch-1.0 playbin uri=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm
 ```
 
 A fully operation playback pipeline, with audio and video (more or less
@@ -233,7 +233,7 @@ the same pipeline that `playbin` will create
 internally):
 
 ```
-gst-launch-1.0 souphttpsrc location=http://docs.gstreamer.com/media/sintel_trailer-480p.webm ! matroskademux name=d ! queue ! vp8dec ! videoconvert ! autovideosink d. ! queue ! vorbisdec ! audioconvert ! audioresample ! autoaudiosink
+gst-launch-1.0 souphttpsrc location=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm ! matroskademux name=d ! queue ! vp8dec ! videoconvert ! autovideosink d. ! queue ! vorbisdec ! audioconvert ! audioresample ! autoaudiosink
 ```
 
 A transcoding pipeline, which opens the webm container and decodes both
@@ -243,7 +243,7 @@ with a different codec, and puts them back together in an Ogg container
 it).
 
 ```
-gst-launch-1.0 uridecodebin uri=http://docs.gstreamer.com/media/sintel_trailer-480p.webm name=d ! queue ! theoraenc ! oggmux name=m ! filesink location=sintel.ogg d. ! queue ! audioconvert ! audioresample ! flacenc ! m.
+gst-launch-1.0 uridecodebin uri=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm name=d ! queue ! theoraenc ! oggmux name=m ! filesink location=sintel.ogg d. ! queue ! audioconvert ! audioresample ! flacenc ! m.
 ```
 
 A rescaling pipeline. The `videoscale` element performs a rescaling
@@ -252,7 +252,7 @@ output caps. The output caps are set by the Caps Filter to
 320x200.
 
 ```
-gst-launch-1.0 uridecodebin uri=http://docs.gstreamer.com/media/sintel_trailer-480p.webm ! queue ! videoscale ! video/x-raw-yuv,width=320,height=200 ! videoconvert ! autovideosink
+gst-launch-1.0 uridecodebin uri=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm ! queue ! videoscale ! video/x-raw-yuv,width=320,height=200 ! videoconvert ! autovideosink
 ```
 
 This short description of `gst-launch-1.0` should be enough to get you
@@ -389,10 +389,10 @@ Let's see an
 example:
 
 ```
-gst-discoverer-1.0 http://docs.gstreamer.com/media/sintel_trailer-480p.webm -v
+gst-discoverer-1.0 https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm -v
 
-Analyzing http://docs.gstreamer.com/media/sintel_trailer-480p.webm
-Done discovering http://docs.gstreamer.com/media/sintel_trailer-480p.webm
+Analyzing https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm
+Done discovering https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm
 Topology:
   container: video/webm
     audio: audio/x-vorbis, channels=(int)2, rate=(int)48000
index 77395dc69a347146c562e7162f9b71bf8226e884..11d93a7cf201cbfab482a5678e89c9dbca3f9877 100644 (file)
@@ -34,11 +34,11 @@ source pads as streams are found in the
 media.
 
 ``` bash
-gst-launch-1.0 uridecodebin uri=http://docs.gstreamer.com/media/sintel_trailer-480p.webm ! videoconvert ! autovideosink
+gst-launch-1.0 uridecodebin uri=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm ! videoconvert ! autovideosink
 ```
 
 ``` bash
-gst-launch-1.0 uridecodebin uri=http://docs.gstreamer.com/media/sintel_trailer-480p.webm ! audioconvert ! autoaudiosink
+gst-launch-1.0 uridecodebin uri=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm ! audioconvert ! autoaudiosink
 ```
 
 ### `decodebin`
@@ -52,7 +52,7 @@ offers as many source pads as streams are found in the
 media.
 
 ``` bash
-gst-launch-1.0 souphttpsrc location=http://docs.gstreamer.com/media/sintel_trailer-480p.webm ! decodebin ! autovideosink
+gst-launch-1.0 souphttpsrc location=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm ! decodebin ! autovideosink
 ```
 
 ## File input/output
@@ -88,7 +88,7 @@ the [libsoup](https://wiki.gnome.org/Projects/libsoup) library. Set the URL to r
 property.
 
 ``` bash
-gst-launch-1.0 souphttpsrc location=http://docs.gstreamer.com/media/sintel_trailer-480p.webm ! decodebin ! autovideosink
+gst-launch-1.0 souphttpsrc location=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm ! decodebin ! autovideosink
 ```
 
 ## Test media generation
@@ -175,7 +175,7 @@ video sinks are capable of performing scaling
 operations.
 
 ``` bash
-gst-launch-1.0 uridecodebin uri=http://docs.gstreamer.com/media/sintel_trailer-480p.webm ! videoscale ! video/x-raw,width=178,height=100 ! videoconvert ! autovideosink
+gst-launch-1.0 uridecodebin uri=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm ! videoscale ! video/x-raw,width=178,height=100 ! videoconvert ! autovideosink
 ```
 
 ## Audio adapters
@@ -205,7 +205,7 @@ do not fear to use it
 generously.
 
 ``` bash
-gst-launch-1.0 uridecodebin uri=http://docs.gstreamer.com/media/sintel_trailer-480p.webm ! audioresample ! audio/x-raw-float,rate=4000 ! audioconvert ! autoaudiosink
+gst-launch-1.0 uridecodebin uri=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm ! audioresample ! audio/x-raw-float,rate=4000 ! audioconvert ! autoaudiosink
 ```
 
 ### `audiorate`
index f4ea1fb3b3baaba6ef9a2d28a0c23c0381210d56..12fd06bb29eda19f99d82e6e1b5520ab193a3db4 100644 (file)
@@ -81,7 +81,7 @@ in [Basic tutorial 10: GStreamer tools])
 
 ``` c
     /* Build the pipeline */
-    pipeline = gst_parse_launch ("playbin uri=http://docs.gstreamer.com/media/sintel_trailer-480p.webm", NULL);
+    pipeline = gst_parse_launch ("playbin uri=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm", NULL);
 ```
 
 This line is the heart of this tutorial, and exemplifies **two** key
index 83604130f806783ba06cab65ec8a664750c3c988..2b49e2f016d153d90110c125d3725f07516e7a59 100644 (file)
@@ -30,7 +30,7 @@ The recovered information includes codec descriptions, stream topology
 audio language).
 
 As an example, this is the result
-of discovering http://docs.gstreamer.com/media/sintel\_trailer-480p.webm
+of discovering https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel\_trailer-480p.webm
 
     Duration: 0:00:52.250000000
     Tags:
@@ -244,7 +244,7 @@ static void on_finished_cb (GstDiscoverer *discoverer, CustomData *data) {
 int main (int argc, char **argv) {
   CustomData data;
   GError *err = NULL;
-  gchar *uri = "http://docs.gstreamer.com/media/sintel_trailer-480p.webm";
+  gchar *uri = "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm";
 
   /* if a URI was provided, use it instead of the default one */
   if (argc > 1) {
index eab72c495266b342e394156532b23ede62738070..05e926093030bcb24722901a28ef430f7100b9d3 100644 (file)
@@ -173,7 +173,7 @@ int main(int argc, char *argv[]) {
     " 'Q' to quit\n");
 
   /* Build the pipeline */
-  data.pipeline = gst_parse_launch ("playbin uri=http://docs.gstreamer.com/media/sintel_trailer-480p.webm", NULL);
+  data.pipeline = gst_parse_launch ("playbin uri=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm", NULL);
 
   /* Add a keyboard watch so we get notified of keystrokes */
 #ifdef G_OS_WIN32
index 5a548018e891ac9f84f881c690de95288dfc1ad2..9653fafc945f40c4b7e6018a0c6caceccdc5310f 100644 (file)
@@ -122,7 +122,7 @@ int main(int argc, char *argv[]) {
   memset (&data, 0, sizeof (data));
 
   /* Build the pipeline */
-  pipeline = gst_parse_launch ("playbin uri=http://docs.gstreamer.com/media/sintel_trailer-480p.webm", NULL);
+  pipeline = gst_parse_launch ("playbin uri=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm", NULL);
   bus = gst_element_get_bus (pipeline);
 
   /* Start playing */
index c6118a3d95dd1a92ad0034282482c89fbeeff8d1..41b85352954a0a2350b3a94b4153b6a8a666ec0e 100644 (file)
@@ -75,7 +75,7 @@ int main(int argc, char *argv[]) {
   }
 
   /* Set the URI to play */
-  g_object_set (data.playbin, "uri", "http://docs.gstreamer.com/media/sintel_trailer-480p.webm", NULL);
+  g_object_set (data.playbin, "uri", "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm", NULL);
 
   /* Start playing */
   ret = gst_element_set_state (data.playbin, GST_STATE_PLAYING);
index 357db7c7edd5a3215692819d863e7eeedbe23542..49b95a9bdc144a4463684945d8407c09a8870a62 100644 (file)
@@ -413,7 +413,7 @@ int main(int argc, char *argv[]) {
   }
 
   /* Set the URI to play */
-  g_object_set (data.playbin, "uri", "http://docs.gstreamer.com/media/sintel_trailer-480p.webm", NULL);
+  g_object_set (data.playbin, "uri", "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm", NULL);
 
   /* Connect to interesting signals in playbin */
   g_signal_connect (G_OBJECT (data.playbin), "video-tags-changed", (GCallback) tags_cb, &data);
@@ -523,7 +523,7 @@ int main(int argc, char *argv[]) {
   }
 
   /* Set the URI to play */
-  g_object_set (data.playbin, "uri", "http://docs.gstreamer.com/media/sintel_trailer-480p.webm", NULL);
+  g_object_set (data.playbin, "uri", "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm", NULL);
 ```
 
 Standard GStreamer initialization and playbin pipeline creation, along
index c0697f0b18dae6b0631ecb9eeafe49876719aca6..3d505995cd3a04fb6beeaf99368b743d3d1c9d45 100644 (file)
@@ -169,7 +169,7 @@ this view is collapsed by default. Click here to expand…
     media_width = 320;
     media_height = 240;
 
-    uri = @"http://docs.gstreamer.com/media/sintel_trailer-368p.ogv";
+    uri = @"https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-368p.ogv";
 
     gst_backend = [[GStreamerBackend alloc] init:self videoView:video_view];
 }
index eafbf81b2bb2c47487cdadd48d5686bcff55caa0..1e858f4e459de526c0fb1bc94b3afbd4800ad95a 100644 (file)
@@ -148,7 +148,7 @@ int main(int argc, char *argv[]) {
     " 'Q' to quit\n");
 
   /* Build the pipeline */
-  data.pipeline = gst_parse_launch ("playbin uri=http://docs.gstreamer.com/media/sintel_trailer-480p.webm", NULL);
+  data.pipeline = gst_parse_launch ("playbin uri=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm", NULL);
 
   /* Add a keyboard watch so we get notified of keystrokes */
 #ifdef G_OS_WIN32
index 5249b5632b3aa322ff2b673ee7b48f6fb6bad888..3cacb96fd19c4443b7717bc5676c205b521d713b 100644 (file)
@@ -57,7 +57,7 @@ int main(int argc, char *argv[]) {
   gst_init (&argc, &argv);
 
   /* Build the pipeline */
-  pipeline = gst_parse_launch ("playbin uri=http://docs.gstreamer.com/media/sintel_trailer-480p.webm", NULL);
+  pipeline = gst_parse_launch ("playbin uri=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm", NULL);
 
   /* Create the elements inside the sink bin */
   equalizer = gst_element_factory_make ("equalizer-3bands", "equalizer");
index d22635071630527382a72ca6cf645482ce405473..9488c31158262a4af3fc8bea9211e960d318d185 100644 (file)
@@ -107,7 +107,7 @@ int main(int argc, char *argv[]) {
   }
 
   /* Set the URI to play */
-  g_object_set (data.playbin, "uri", "http://docs.gstreamer.com/media/sintel_cropped_multilingual.webm", NULL);
+  g_object_set (data.playbin, "uri", "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_cropped_multilingual.webm", NULL);
 
   /* Set flags to show Audio and Video but ignore Subtitles */
   g_object_get (data.playbin, "flags", &flags, NULL);
@@ -408,7 +408,7 @@ We have set all these properties one by one, but we could have all of
 them with a single call to `g_object_set()`:
 
 ``` c
-g_object_set (data.playbin, "uri", "http://docs.gstreamer.com/media/sintel_cropped_multilingual.webm", "flags", flags, "connection-speed", 56, NULL);
+g_object_set (data.playbin, "uri", "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_cropped_multilingual.webm", "flags", flags, "connection-speed", 56, NULL);
 ```
 
 This is why `g_object_set()` requires a NULL as the last parameter.
index 44e6d02a4ba2eba9cdf21cf5284b5b902d0fb052..7f64a94deffd7a592bf47182692c2b68ba11d17a 100644 (file)
@@ -172,7 +172,7 @@ int main(int argc, char *argv[]) {
   data.buffering_level = 100;
 
   /* Build the pipeline */
-  pipeline = gst_parse_launch ("playbin uri=http://docs.gstreamer.com/media/sintel_trailer-480p.webm", NULL);
+  pipeline = gst_parse_launch ("playbin uri=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm", NULL);
   bus = gst_element_get_bus (pipeline);
 
   /* Set the download flag */
index 08beee7323fa0347f94180a15c729e20aa625b8f..3deda11b25db26eb384b0e45b8f769a2e917ae4f 100644 (file)
@@ -88,10 +88,10 @@ int main(int argc, char *argv[]) {
   }
 
   /* Set the URI to play */
-  g_object_set (data.playbin, "uri", "http://docs.gstreamer.com/media/sintel_trailer-480p.ogv", NULL);
+  g_object_set (data.playbin, "uri", "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.ogv", NULL);
 
   /* Set the subtitle URI to play and some font description */
-  g_object_set (data.playbin, "suburi", "http://docs.gstreamer.com/media/sintel_trailer_gr.srt", NULL);
+  g_object_set (data.playbin, "suburi", "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer_gr.srt", NULL);
   g_object_set (data.playbin, "subtitle-font-desc", "Sans, 18", NULL);
 
   /* Set flags to show Audio, Video and Subtitles */
@@ -298,7 +298,7 @@ review only the changes.
 
 ``` c
 /* Set the subtitle URI to play and some font description */
-g_object_set (data.playbin, "suburi", "http://docs.gstreamer.com/media/sintel_trailer_gr.srt", NULL);
+g_object_set (data.playbin, "suburi", "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer_gr.srt", NULL);
 g_object_set (data.playbin, "subtitle-font-desc", "Sans, 18", NULL);
 ```