From bbb0a30f325d5958461c34b8ae7c4da683ed2e46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Thu, 6 Apr 2023 18:28:33 +0100 Subject: [PATCH] docs: update old gstreamer-sdk media urls Part-of: --- .../tutorials/tutorial_4/Tutorial4.java | 2 +- .../tutorials/tutorial_5/Tutorial5.java | 2 +- .../examples/tutorials/basic-tutorial-1.c | 2 +- .../examples/tutorials/basic-tutorial-12.c | 2 +- .../examples/tutorials/basic-tutorial-13.c | 2 +- .../examples/tutorials/basic-tutorial-15.c | 2 +- .../examples/tutorials/basic-tutorial-3.c | 2 +- .../examples/tutorials/basic-tutorial-4.c | 2 +- .../examples/tutorials/basic-tutorial-5.c | 2 +- .../examples/tutorials/basic-tutorial-9.c | 2 +- .../examples/tutorials/playback-tutorial-1.c | 2 +- .../examples/tutorials/playback-tutorial-2.c | 4 ++-- .../examples/tutorials/playback-tutorial-4.c | 2 +- .../examples/tutorials/playback-tutorial-5.c | 2 +- .../examples/tutorials/playback-tutorial-7.c | 2 +- .../tutorials/python/basic-tutorial-1.py | 2 +- .../Tutorial 4/VideoViewController.m | 2 +- .../Tutorial 5/LibraryViewController.m | 2 +- .../tutorials/android/media-player.md | 2 +- .../tutorials/basic/dynamic-pipelines.md | 4 ++-- .../tutorials/basic/gstreamer-tools.md | 22 +++++++++---------- .../tutorials/basic/handy-elements.md | 12 +++++----- .../basic/media-information-gathering.md | 4 ++-- .../markdown/tutorials/basic/streaming.md | 2 +- .../tutorials/basic/time-management.md | 2 +- .../tutorials/basic/toolkit-integration.md | 4 ++-- .../tutorials/ios/a-basic-media-player.md | 2 +- .../tutorials/playback/color-balance.md | 2 +- .../playback/custom-playbin-sinks.md | 2 +- .../tutorials/playback/playbin-usage.md | 4 ++-- .../playback/progressive-streaming.md | 2 +- .../tutorials/playback/subtitle-management.md | 6 ++--- 32 files changed, 54 insertions(+), 54 deletions(-) diff --git a/subprojects/gst-docs/examples/tutorials/android/android-tutorial-4/src/org/freedesktop/gstreamer/tutorials/tutorial_4/Tutorial4.java b/subprojects/gst-docs/examples/tutorials/android/android-tutorial-4/src/org/freedesktop/gstreamer/tutorials/tutorial_4/Tutorial4.java index 083448a769..5d08ae78b5 100644 --- a/subprojects/gst-docs/examples/tutorials/android/android-tutorial-4/src/org/freedesktop/gstreamer/tutorials/tutorial_4/Tutorial4.java +++ b/subprojects/gst-docs/examples/tutorials/android/android-tutorial-4/src/org/freedesktop/gstreamer/tutorials/tutorial_4/Tutorial4.java @@ -38,7 +38,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 = "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.ogv"; + private final String defaultMediaUri = "https://gstreamer.freedesktop.org/data/media/sintel_trailer-480p.ogv"; // Called when the activity is first created. @Override diff --git a/subprojects/gst-docs/examples/tutorials/android/android-tutorial-5/src/org/freedesktop/gstreamer/tutorials/tutorial_5/Tutorial5.java b/subprojects/gst-docs/examples/tutorials/android/android-tutorial-5/src/org/freedesktop/gstreamer/tutorials/tutorial_5/Tutorial5.java index 87c3aeaf7a..1700354b44 100644 --- a/subprojects/gst-docs/examples/tutorials/android/android-tutorial-5/src/org/freedesktop/gstreamer/tutorials/tutorial_5/Tutorial5.java +++ b/subprojects/gst-docs/examples/tutorials/android/android-tutorial-5/src/org/freedesktop/gstreamer/tutorials/tutorial_5/Tutorial5.java @@ -44,7 +44,7 @@ public class Tutorial5 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 = "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.ogv"; + private final String defaultMediaUri = "https://gstreamer.freedesktop.org/data/media/sintel_trailer-480p.ogv"; static private final int PICK_FILE_CODE = 1; private String last_folder; diff --git a/subprojects/gst-docs/examples/tutorials/basic-tutorial-1.c b/subprojects/gst-docs/examples/tutorials/basic-tutorial-1.c index 35ae853e0b..d1a7f1e401 100644 --- a/subprojects/gst-docs/examples/tutorials/basic-tutorial-1.c +++ b/subprojects/gst-docs/examples/tutorials/basic-tutorial-1.c @@ -17,7 +17,7 @@ tutorial_main (int argc, char *argv[]) /* Build the pipeline */ pipeline = gst_parse_launch - ("playbin uri=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm", + ("playbin uri=https://gstreamer.freedesktop.org/data/media/sintel_trailer-480p.webm", NULL); /* Start playing */ diff --git a/subprojects/gst-docs/examples/tutorials/basic-tutorial-12.c b/subprojects/gst-docs/examples/tutorials/basic-tutorial-12.c index f01f60fac4..3c91d310a3 100644 --- a/subprojects/gst-docs/examples/tutorials/basic-tutorial-12.c +++ b/subprojects/gst-docs/examples/tutorials/basic-tutorial-12.c @@ -80,7 +80,7 @@ tutorial_main (int argc, char *argv[]) /* Build the pipeline */ pipeline = gst_parse_launch - ("playbin uri=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm", + ("playbin uri=https://gstreamer.freedesktop.org/data/media/sintel_trailer-480p.webm", NULL); bus = gst_element_get_bus (pipeline); diff --git a/subprojects/gst-docs/examples/tutorials/basic-tutorial-13.c b/subprojects/gst-docs/examples/tutorials/basic-tutorial-13.c index b7640f643e..7b1f98edee 100644 --- a/subprojects/gst-docs/examples/tutorials/basic-tutorial-13.c +++ b/subprojects/gst-docs/examples/tutorials/basic-tutorial-13.c @@ -130,7 +130,7 @@ tutorial_main (int argc, char *argv[]) /* Build the pipeline */ data.pipeline = gst_parse_launch - ("playbin uri=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm", + ("playbin uri=https://gstreamer.freedesktop.org/data/media/sintel_trailer-480p.webm", NULL); /* Add a keyboard watch so we get notified of keystrokes */ diff --git a/subprojects/gst-docs/examples/tutorials/basic-tutorial-15.c b/subprojects/gst-docs/examples/tutorials/basic-tutorial-15.c index 882a9d6e42..a9226454be 100644 --- a/subprojects/gst-docs/examples/tutorials/basic-tutorial-15.c +++ b/subprojects/gst-docs/examples/tutorials/basic-tutorial-15.c @@ -73,7 +73,7 @@ tutorial_main (int argc, char *argv[]) /* Build the GStreamer pipeline */ pipeline = gst_parse_launch - ("playbin uri=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm", + ("playbin uri=https://gstreamer.freedesktop.org/data/media/sintel_trailer-480p.webm", NULL); /* Instantiate the Clutter sink */ diff --git a/subprojects/gst-docs/examples/tutorials/basic-tutorial-3.c b/subprojects/gst-docs/examples/tutorials/basic-tutorial-3.c index 722c44a189..b16b545b48 100644 --- a/subprojects/gst-docs/examples/tutorials/basic-tutorial-3.c +++ b/subprojects/gst-docs/examples/tutorials/basic-tutorial-3.c @@ -57,7 +57,7 @@ tutorial_main (int argc, char *argv[]) /* Set the URI to play */ g_object_set (data.source, "uri", - "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm", + "https://gstreamer.freedesktop.org/data/media/sintel_trailer-480p.webm", NULL); /* Connect to the pad-added signal */ diff --git a/subprojects/gst-docs/examples/tutorials/basic-tutorial-4.c b/subprojects/gst-docs/examples/tutorials/basic-tutorial-4.c index 6b5b92dbf7..d370c1cb07 100644 --- a/subprojects/gst-docs/examples/tutorials/basic-tutorial-4.c +++ b/subprojects/gst-docs/examples/tutorials/basic-tutorial-4.c @@ -45,7 +45,7 @@ tutorial_main (int argc, char *argv[]) /* Set the URI to play */ g_object_set (data.playbin, "uri", - "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm", + "https://gstreamer.freedesktop.org/data/media/sintel_trailer-480p.webm", NULL); /* Start playing */ diff --git a/subprojects/gst-docs/examples/tutorials/basic-tutorial-5.c b/subprojects/gst-docs/examples/tutorials/basic-tutorial-5.c index 7aab34c1b7..164d256501 100644 --- a/subprojects/gst-docs/examples/tutorials/basic-tutorial-5.c +++ b/subprojects/gst-docs/examples/tutorials/basic-tutorial-5.c @@ -402,7 +402,7 @@ tutorial_main (int argc, char *argv[]) /* Set the URI to play */ g_object_set (data.playbin, "uri", - "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm", + "https://gstreamer.freedesktop.org/data/media/sintel_trailer-480p.webm", NULL); /* Connect to interesting signals in playbin */ diff --git a/subprojects/gst-docs/examples/tutorials/basic-tutorial-9.c b/subprojects/gst-docs/examples/tutorials/basic-tutorial-9.c index f252f4f044..d49fd7ff13 100644 --- a/subprojects/gst-docs/examples/tutorials/basic-tutorial-9.c +++ b/subprojects/gst-docs/examples/tutorials/basic-tutorial-9.c @@ -190,7 +190,7 @@ tutorial_main (int argc, char **argv) CustomData data; GError *err = NULL; gchar *uri = - "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm"; + "https://gstreamer.freedesktop.org/data/media/sintel_trailer-480p.webm"; /* if a URI was provided, use it instead of the default one */ if (argc > 1) { diff --git a/subprojects/gst-docs/examples/tutorials/playback-tutorial-1.c b/subprojects/gst-docs/examples/tutorials/playback-tutorial-1.c index b2f783eef8..dec41d0352 100644 --- a/subprojects/gst-docs/examples/tutorials/playback-tutorial-1.c +++ b/subprojects/gst-docs/examples/tutorials/playback-tutorial-1.c @@ -57,7 +57,7 @@ tutorial_main (int argc, char *argv[]) /* Set the URI to play */ g_object_set (data.playbin, "uri", - "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_cropped_multilingual.webm", + "https://gstreamer.freedesktop.org/data/media/sintel_cropped_multilingual.webm", NULL); /* Set flags to show Audio and Video but ignore Subtitles */ diff --git a/subprojects/gst-docs/examples/tutorials/playback-tutorial-2.c b/subprojects/gst-docs/examples/tutorials/playback-tutorial-2.c index 69837db5e7..133c85bc67 100644 --- a/subprojects/gst-docs/examples/tutorials/playback-tutorial-2.c +++ b/subprojects/gst-docs/examples/tutorials/playback-tutorial-2.c @@ -57,12 +57,12 @@ tutorial_main (int argc, char *argv[]) /* Set the URI to play */ g_object_set (data.playbin, "uri", - "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.ogv", + "https://gstreamer.freedesktop.org/data/media/sintel_trailer-480p.ogv", NULL); /* Set the subtitle URI to play and some font description */ g_object_set (data.playbin, "suburi", - "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer_gr.srt", + "https://gstreamer.freedesktop.org/data/media/sintel_trailer_gr.srt", NULL); g_object_set (data.playbin, "subtitle-font-desc", "Sans, 18", NULL); diff --git a/subprojects/gst-docs/examples/tutorials/playback-tutorial-4.c b/subprojects/gst-docs/examples/tutorials/playback-tutorial-4.c index abbfd92b9b..f034899f5e 100644 --- a/subprojects/gst-docs/examples/tutorials/playback-tutorial-4.c +++ b/subprojects/gst-docs/examples/tutorials/playback-tutorial-4.c @@ -145,7 +145,7 @@ tutorial_main (int argc, char *argv[]) /* Build the pipeline */ pipeline = gst_parse_launch - ("playbin uri=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm", + ("playbin uri=https://gstreamer.freedesktop.org/data/media/sintel_trailer-480p.webm", NULL); bus = gst_element_get_bus (pipeline); diff --git a/subprojects/gst-docs/examples/tutorials/playback-tutorial-5.c b/subprojects/gst-docs/examples/tutorials/playback-tutorial-5.c index e397b4d146..a12ca2ffbb 100644 --- a/subprojects/gst-docs/examples/tutorials/playback-tutorial-5.c +++ b/subprojects/gst-docs/examples/tutorials/playback-tutorial-5.c @@ -136,7 +136,7 @@ tutorial_main (int argc, char *argv[]) /* Build the pipeline */ data.pipeline = gst_parse_launch - ("playbin uri=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm", + ("playbin uri=https://gstreamer.freedesktop.org/data/media/sintel_trailer-480p.webm", NULL); /* Add a keyboard watch so we get notified of keystrokes */ diff --git a/subprojects/gst-docs/examples/tutorials/playback-tutorial-7.c b/subprojects/gst-docs/examples/tutorials/playback-tutorial-7.c index 58a7b821f2..1e80cf4fb7 100644 --- a/subprojects/gst-docs/examples/tutorials/playback-tutorial-7.c +++ b/subprojects/gst-docs/examples/tutorials/playback-tutorial-7.c @@ -18,7 +18,7 @@ tutorial_main (int argc, char *argv[]) /* Build the pipeline */ pipeline = gst_parse_launch - ("playbin uri=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm", + ("playbin uri=https://gstreamer.freedesktop.org/data/media/sintel_trailer-480p.webm", NULL); /* Create the elements inside the sink bin */ diff --git a/subprojects/gst-docs/examples/tutorials/python/basic-tutorial-1.py b/subprojects/gst-docs/examples/tutorials/python/basic-tutorial-1.py index 0d866f18b3..37dfe926fc 100755 --- a/subprojects/gst-docs/examples/tutorials/python/basic-tutorial-1.py +++ b/subprojects/gst-docs/examples/tutorials/python/basic-tutorial-1.py @@ -18,7 +18,7 @@ Gst.init(sys.argv[1:]) # build the pipeline pipeline = Gst.parse_launch( - "playbin uri=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm" + "playbin uri=https://gstreamer.freedesktop.org/data/media/sintel_trailer-480p.webm" ) # start playing diff --git a/subprojects/gst-docs/examples/tutorials/xcode iOS/Tutorial 4/VideoViewController.m b/subprojects/gst-docs/examples/tutorials/xcode iOS/Tutorial 4/VideoViewController.m index 3ed48b13b1..1058361bdc 100644 --- a/subprojects/gst-docs/examples/tutorials/xcode iOS/Tutorial 4/VideoViewController.m +++ b/subprojects/gst-docs/examples/tutorials/xcode iOS/Tutorial 4/VideoViewController.m @@ -66,7 +66,7 @@ media_width = 320; media_height = 240; - uri = @"https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.ogv"; + uri = @"https://gstreamer.freedesktop.org//media/sintel_trailer-480p.ogv"; gst_backend = [[GStreamerBackend alloc] init:self videoView:video_view]; diff --git a/subprojects/gst-docs/examples/tutorials/xcode iOS/Tutorial 5/LibraryViewController.m b/subprojects/gst-docs/examples/tutorials/xcode iOS/Tutorial 5/LibraryViewController.m index 7953c8d43d..ca685dd09c 100644 --- a/subprojects/gst-docs/examples/tutorials/xcode iOS/Tutorial 5/LibraryViewController.m +++ b/subprojects/gst-docs/examples/tutorials/xcode iOS/Tutorial 5/LibraryViewController.m @@ -164,7 +164,7 @@ static NSString *CellIdentifier = @"CellIdentifier"; // Non-existing entries (to debug error reporting facilities) [entries addObject:@"http://non-existing.org/Non_Existing_Server"]; - [entries addObject:@"https://www.freedesktop.org/software/gstreamer-sdk/data/media/Non_Existing_File"]; + [entries addObject:@"https://gstreamer.freedesktop.org//data/media/Non_Existing_File"]; self->onlineEntries = entries; } diff --git a/subprojects/gst-docs/markdown/tutorials/android/media-player.md b/subprojects/gst-docs/markdown/tutorials/android/media-player.md index d831123567..e295946370 100644 --- a/subprojects/gst-docs/markdown/tutorials/android/media-player.md +++ b/subprojects/gst-docs/markdown/tutorials/android/media-player.md @@ -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 = "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-368p.ogv"; + private final String defaultMediaUri = "https://gstreamer.freedesktop.org/data/media/sintel_trailer-368p.ogv"; // Called when the activity is first created. @Override diff --git a/subprojects/gst-docs/markdown/tutorials/basic/dynamic-pipelines.md b/subprojects/gst-docs/markdown/tutorials/basic/dynamic-pipelines.md index 0fe36c34d9..67cab10fc0 100644 --- a/subprojects/gst-docs/markdown/tutorials/basic/dynamic-pipelines.md +++ b/subprojects/gst-docs/markdown/tutorials/basic/dynamic-pipelines.md @@ -139,7 +139,7 @@ int main(int argc, char *argv[]) { } /* Set the URI to play */ - g_object_set (data.source, "uri", "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm", NULL); + g_object_set (data.source, "uri", "https://gstreamer.freedesktop.org/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); @@ -323,7 +323,7 @@ just leave this branch (converter + sink) unlinked, until later on. ``` c /* Set the URI to play */ -g_object_set (data.source, "uri", "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm", NULL); +g_object_set (data.source, "uri", "https://gstreamer.freedesktop.org/data/media/sintel_trailer-480p.webm", NULL); ``` We set the URI of the file to play via a property, just like we did in diff --git a/subprojects/gst-docs/markdown/tutorials/basic/gstreamer-tools.md b/subprojects/gst-docs/markdown/tutorials/basic/gstreamer-tools.md index d3d2a84d91..72fd7a09b2 100644 --- a/subprojects/gst-docs/markdown/tutorials/basic/gstreamer-tools.md +++ b/subprojects/gst-docs/markdown/tutorials/basic/gstreamer-tools.md @@ -144,7 +144,7 @@ stream out of a demuxer: ``` -gst-launch-1.0 souphttpsrc location=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm ! matroskademux name=d d.video_0 ! matroskamux ! filesink location=sintel_video.mkv +gst-launch-1.0 souphttpsrc location=https://gstreamer.freedesktop.org/data/media/sintel_trailer-480p.webm ! matroskademux name=d d.video_0 ! matroskamux ! filesink location=sintel_video.mkv ``` This fetches a media file from the internet using `souphttpsrc`, which @@ -162,7 +162,7 @@ new matroska file with the video. If we wanted to keep only the audio: ``` -gst-launch-1.0 souphttpsrc location=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm ! matroskademux name=d d.audio_0 ! vorbisparse ! matroskamux ! filesink location=sintel_audio.mka +gst-launch-1.0 souphttpsrc location=https://gstreamer.freedesktop.org/data/media/sintel_trailer-480p.webm ! matroskademux name=d d.audio_0 ! vorbisparse ! matroskamux ! filesink location=sintel_audio.mka ``` The `vorbisparse` element is required to extract some information from @@ -188,7 +188,7 @@ Consider the following pipeline: ``` -gst-launch-1.0 souphttpsrc location=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm ! matroskademux ! filesink location=test +gst-launch-1.0 souphttpsrc location=https://gstreamer.freedesktop.org/data/media/sintel_trailer-480p.webm ! matroskademux ! filesink location=test ``` This is the same media file and demuxer as in the previous example. The @@ -202,7 +202,7 @@ previous sub-section, or by using **Caps Filters**: ``` -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 +gst-launch-1.0 souphttpsrc location=https://gstreamer.freedesktop.org/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 @@ -222,7 +222,7 @@ producing for a particular pipeline, run `gst-launch-1.0` as usual, with the Play a media file using `playbin` (as in [](tutorials/basic/hello-world.md)): ``` -gst-launch-1.0 playbin uri=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm +gst-launch-1.0 playbin uri=https://gstreamer.freedesktop.org/data/media/sintel_trailer-480p.webm ``` A fully operation playback pipeline, with audio and video (more or less @@ -230,7 +230,7 @@ the same pipeline that `playbin` will create internally): ``` -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 +gst-launch-1.0 souphttpsrc location=https://gstreamer.freedesktop.org/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 @@ -240,7 +240,7 @@ with a different codec, and puts them back together in an Ogg container it). ``` -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. +gst-launch-1.0 uridecodebin uri=https://gstreamer.freedesktop.org/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 @@ -249,7 +249,7 @@ output caps. The output caps are set by the Caps Filter to 320x200. ``` -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 +gst-launch-1.0 uridecodebin uri=https://gstreamer.freedesktop.org/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 @@ -386,10 +386,10 @@ Let's see an example: ``` -gst-discoverer-1.0 https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm -v +gst-discoverer-1.0 https://gstreamer.freedesktop.org/data/media/sintel_trailer-480p.webm -v -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 +Analyzing https://gstreamer.freedesktop.org/data/media/sintel_trailer-480p.webm +Done discovering https://gstreamer.freedesktop.org/data/media/sintel_trailer-480p.webm Topology: container: video/webm audio: audio/x-vorbis, channels=(int)2, rate=(int)48000 diff --git a/subprojects/gst-docs/markdown/tutorials/basic/handy-elements.md b/subprojects/gst-docs/markdown/tutorials/basic/handy-elements.md index c63befc8de..4565189fb8 100644 --- a/subprojects/gst-docs/markdown/tutorials/basic/handy-elements.md +++ b/subprojects/gst-docs/markdown/tutorials/basic/handy-elements.md @@ -34,11 +34,11 @@ source pads as streams are found in the media. ``` bash -gst-launch-1.0 uridecodebin uri=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm ! videoconvert ! autovideosink +gst-launch-1.0 uridecodebin uri=https://gstreamer.freedesktop.org/data/media/sintel_trailer-480p.webm ! videoconvert ! autovideosink ``` ``` bash -gst-launch-1.0 uridecodebin uri=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm ! audioconvert ! autoaudiosink +gst-launch-1.0 uridecodebin uri=https://gstreamer.freedesktop.org/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=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm ! decodebin ! autovideosink +gst-launch-1.0 souphttpsrc location=https://gstreamer.freedesktop.org/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=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm ! decodebin ! autovideosink +gst-launch-1.0 souphttpsrc location=https://gstreamer.freedesktop.org/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=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm ! videoscale ! video/x-raw,width=178,height=100 ! videoconvert ! autovideosink +gst-launch-1.0 uridecodebin uri=https://gstreamer.freedesktop.org/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=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm ! audioresample ! audio/x-raw,rate=4000 ! audioconvert ! autoaudiosink +gst-launch-1.0 uridecodebin uri=https://gstreamer.freedesktop.org/data/media/sintel_trailer-480p.webm ! audioresample ! audio/x-raw,rate=4000 ! audioconvert ! autoaudiosink ``` ### `audiorate` diff --git a/subprojects/gst-docs/markdown/tutorials/basic/media-information-gathering.md b/subprojects/gst-docs/markdown/tutorials/basic/media-information-gathering.md index 1c6d4ad447..37c804af8c 100644 --- a/subprojects/gst-docs/markdown/tutorials/basic/media-information-gathering.md +++ b/subprojects/gst-docs/markdown/tutorials/basic/media-information-gathering.md @@ -35,7 +35,7 @@ The recovered information includes codec descriptions, stream topology audio language). As an example, this is the result -of discovering https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel\_trailer-480p.webm +of discovering https://gstreamer.freedesktop.org/data/media/sintel\_trailer-480p.webm Duration: 0:00:52.250000000 Tags: @@ -249,7 +249,7 @@ static void on_finished_cb (GstDiscoverer *discoverer, CustomData *data) { int main (int argc, char **argv) { CustomData data; GError *err = NULL; - gchar *uri = "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm"; + gchar *uri = "https://gstreamer.freedesktop.org/data/media/sintel_trailer-480p.webm"; /* if a URI was provided, use it instead of the default one */ if (argc > 1) { diff --git a/subprojects/gst-docs/markdown/tutorials/basic/streaming.md b/subprojects/gst-docs/markdown/tutorials/basic/streaming.md index b74654ce90..a0a09deb37 100644 --- a/subprojects/gst-docs/markdown/tutorials/basic/streaming.md +++ b/subprojects/gst-docs/markdown/tutorials/basic/streaming.md @@ -127,7 +127,7 @@ int main(int argc, char *argv[]) { memset (&data, 0, sizeof (data)); /* Build the pipeline */ - pipeline = gst_parse_launch ("playbin uri=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm", NULL); + pipeline = gst_parse_launch ("playbin uri=https://gstreamer.freedesktop.org/data/media/sintel_trailer-480p.webm", NULL); bus = gst_element_get_bus (pipeline); /* Start playing */ diff --git a/subprojects/gst-docs/markdown/tutorials/basic/time-management.md b/subprojects/gst-docs/markdown/tutorials/basic/time-management.md index e1d9dc710a..f9e3147b71 100644 --- a/subprojects/gst-docs/markdown/tutorials/basic/time-management.md +++ b/subprojects/gst-docs/markdown/tutorials/basic/time-management.md @@ -79,7 +79,7 @@ int main(int argc, char *argv[]) { } /* Set the URI to play */ - g_object_set (data.playbin, "uri", "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm", NULL); + g_object_set (data.playbin, "uri", "https://gstreamer.freedesktop.org/data/media/sintel_trailer-480p.webm", NULL); /* Start playing */ ret = gst_element_set_state (data.playbin, GST_STATE_PLAYING); diff --git a/subprojects/gst-docs/markdown/tutorials/basic/toolkit-integration.md b/subprojects/gst-docs/markdown/tutorials/basic/toolkit-integration.md index 2b610b10f7..6f2dce6d0c 100644 --- a/subprojects/gst-docs/markdown/tutorials/basic/toolkit-integration.md +++ b/subprojects/gst-docs/markdown/tutorials/basic/toolkit-integration.md @@ -417,7 +417,7 @@ int main(int argc, char *argv[]) { } /* Set the URI to play */ - g_object_set (data.playbin, "uri", "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm", NULL); + g_object_set (data.playbin, "uri", "https://gstreamer.freedesktop.org/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); @@ -527,7 +527,7 @@ int main(int argc, char *argv[]) { } /* Set the URI to play */ - g_object_set (data.playbin, "uri", "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm", NULL); + g_object_set (data.playbin, "uri", "https://gstreamer.freedesktop.org/data/media/sintel_trailer-480p.webm", NULL); ``` Standard GStreamer initialization and playbin pipeline creation, along diff --git a/subprojects/gst-docs/markdown/tutorials/ios/a-basic-media-player.md b/subprojects/gst-docs/markdown/tutorials/ios/a-basic-media-player.md index 49e2d1cc0d..e174190674 100644 --- a/subprojects/gst-docs/markdown/tutorials/ios/a-basic-media-player.md +++ b/subprojects/gst-docs/markdown/tutorials/ios/a-basic-media-player.md @@ -169,7 +169,7 @@ this view is collapsed by default. Click here to expand… media_width = 320; media_height = 240; - uri = @"https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-368p.ogv"; + uri = @"https://gstreamer.freedesktop.org/data/media/sintel_trailer-368p.ogv"; gst_backend = [[GStreamerBackend alloc] init:self videoView:video_view]; } diff --git a/subprojects/gst-docs/markdown/tutorials/playback/color-balance.md b/subprojects/gst-docs/markdown/tutorials/playback/color-balance.md index fd712a23ee..c4b06f708a 100644 --- a/subprojects/gst-docs/markdown/tutorials/playback/color-balance.md +++ b/subprojects/gst-docs/markdown/tutorials/playback/color-balance.md @@ -153,7 +153,7 @@ int main(int argc, char *argv[]) { " 'Q' to quit\n"); /* Build the pipeline */ - data.pipeline = gst_parse_launch ("playbin uri=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm", NULL); + data.pipeline = gst_parse_launch ("playbin uri=https://gstreamer.freedesktop.org/data/media/sintel_trailer-480p.webm", NULL); /* Add a keyboard watch so we get notified of keystrokes */ #ifdef G_OS_WIN32 diff --git a/subprojects/gst-docs/markdown/tutorials/playback/custom-playbin-sinks.md b/subprojects/gst-docs/markdown/tutorials/playback/custom-playbin-sinks.md index dd4798206b..1b5c1a3fdc 100644 --- a/subprojects/gst-docs/markdown/tutorials/playback/custom-playbin-sinks.md +++ b/subprojects/gst-docs/markdown/tutorials/playback/custom-playbin-sinks.md @@ -62,7 +62,7 @@ int main(int argc, char *argv[]) { gst_init (&argc, &argv); /* Build the pipeline */ - pipeline = gst_parse_launch ("playbin uri=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm", NULL); + pipeline = gst_parse_launch ("playbin uri=https://gstreamer.freedesktop.org/data/media/sintel_trailer-480p.webm", NULL); /* Create the elements inside the sink bin */ equalizer = gst_element_factory_make ("equalizer-3bands", "equalizer"); diff --git a/subprojects/gst-docs/markdown/tutorials/playback/playbin-usage.md b/subprojects/gst-docs/markdown/tutorials/playback/playbin-usage.md index c6326f9f8a..be7442fb60 100644 --- a/subprojects/gst-docs/markdown/tutorials/playback/playbin-usage.md +++ b/subprojects/gst-docs/markdown/tutorials/playback/playbin-usage.md @@ -108,7 +108,7 @@ int main(int argc, char *argv[]) { } /* Set the URI to play */ - g_object_set (data.playbin, "uri", "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_cropped_multilingual.webm", NULL); + g_object_set (data.playbin, "uri", "https://gstreamer.freedesktop.org/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); @@ -409,7 +409,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", "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_cropped_multilingual.webm", "flags", flags, "connection-speed", 56, NULL); +g_object_set (data.playbin, "uri", "https://gstreamer.freedesktop.org/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. diff --git a/subprojects/gst-docs/markdown/tutorials/playback/progressive-streaming.md b/subprojects/gst-docs/markdown/tutorials/playback/progressive-streaming.md index bdec0ad080..fae93600a4 100644 --- a/subprojects/gst-docs/markdown/tutorials/playback/progressive-streaming.md +++ b/subprojects/gst-docs/markdown/tutorials/playback/progressive-streaming.md @@ -177,7 +177,7 @@ int main(int argc, char *argv[]) { data.buffering_level = 100; /* Build the pipeline */ - pipeline = gst_parse_launch ("playbin uri=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm", NULL); + pipeline = gst_parse_launch ("playbin uri=https://gstreamer.freedesktop.org/data/media/sintel_trailer-480p.webm", NULL); bus = gst_element_get_bus (pipeline); /* Set the download flag */ diff --git a/subprojects/gst-docs/markdown/tutorials/playback/subtitle-management.md b/subprojects/gst-docs/markdown/tutorials/playback/subtitle-management.md index 73de52d0aa..a4bc103543 100644 --- a/subprojects/gst-docs/markdown/tutorials/playback/subtitle-management.md +++ b/subprojects/gst-docs/markdown/tutorials/playback/subtitle-management.md @@ -93,10 +93,10 @@ int main(int argc, char *argv[]) { } /* Set the URI to play */ - g_object_set (data.playbin, "uri", "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.ogv", NULL); + g_object_set (data.playbin, "uri", "https://gstreamer.freedesktop.org/data/media/sintel_trailer-480p.ogv", NULL); /* Set the subtitle URI to play and some font description */ - 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, "suburi", "https://gstreamer.freedesktop.org/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 */ @@ -303,7 +303,7 @@ review only the changes. ``` c /* Set the subtitle URI to play and some font description */ -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, "suburi", "https://gstreamer.freedesktop.org/data/media/sintel_trailer_gr.srt", NULL); g_object_set (data.playbin, "subtitle-font-desc", "Sans, 18", NULL); ```