diff --git a/tutorials/src/bin/basic-tutorial-1.rs b/tutorials/src/bin/basic-tutorial-1.rs index 70f1d957e..a627ef0eb 100644 --- a/tutorials/src/bin/basic-tutorial-1.rs +++ b/tutorials/src/bin/basic-tutorial-1.rs @@ -8,8 +8,7 @@ fn tutorial_main() { gst::init().unwrap(); // Build the pipeline - let uri = - "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm"; + let uri = "https://gstreamer.freedesktop.org/data/media/sintel_trailer-480p.webm"; let pipeline = gst::parse_launch(&format!("playbin uri={uri}")).unwrap(); // Start playing diff --git a/tutorials/src/bin/basic-tutorial-12.rs b/tutorials/src/bin/basic-tutorial-12.rs index 7f768c19e..0fe05044f 100644 --- a/tutorials/src/bin/basic-tutorial-12.rs +++ b/tutorials/src/bin/basic-tutorial-12.rs @@ -11,8 +11,7 @@ fn tutorial_main() -> Result<(), Error> { gst::init()?; // Build the pipeline - let uri = - "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm"; + let uri = "https://gstreamer.freedesktop.org/data/media/sintel_trailer-480p.webm"; let pipeline = gst::parse_launch(&format!("playbin uri={uri}"))?; // Start playing diff --git a/tutorials/src/bin/basic-tutorial-13.rs b/tutorials/src/bin/basic-tutorial-13.rs index fc70562d0..aa9fa55c0 100644 --- a/tutorials/src/bin/basic-tutorial-13.rs +++ b/tutorials/src/bin/basic-tutorial-13.rs @@ -121,8 +121,7 @@ USAGE: Choose one of the following options, then press enter: thread::spawn(move || handle_keyboard(ready_tx)); // Build the pipeline. - let uri = - "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm"; + let uri = "https://gstreamer.freedesktop.org/data/media/sintel_trailer-480p.webm"; let pipeline = gst::parse_launch(&format!("playbin uri={uri}"))?; // Start playing. diff --git a/tutorials/src/bin/basic-tutorial-4.rs b/tutorials/src/bin/basic-tutorial-4.rs index e48f7d309..bfbd38f3d 100644 --- a/tutorials/src/bin/basic-tutorial-4.rs +++ b/tutorials/src/bin/basic-tutorial-4.rs @@ -24,8 +24,7 @@ fn tutorial_main() { // Initialize GStreamer gst::init().unwrap(); - let uri = - "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm"; + let uri = "https://gstreamer.freedesktop.org/data/media/sintel_trailer-480p.webm"; // Creat the playbin element let playbin = gst::ElementFactory::make("playbin") diff --git a/tutorials/src/bin/basic-tutorial-9.rs b/tutorials/src/bin/basic-tutorial-9.rs index 032bd6a45..f9c8ec2fd 100644 --- a/tutorials/src/bin/basic-tutorial-9.rs +++ b/tutorials/src/bin/basic-tutorial-9.rs @@ -142,7 +142,7 @@ fn run_discoverer() -> Result<(), Error> { let uri: &str = if args.len() == 2 { args[1].as_ref() } else { - "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm" + "https://gstreamer.freedesktop.org/data/media/sintel_trailer-480p.webm" }; println!("Discovering {uri}"); diff --git a/tutorials/src/bin/playback-tutorial-1.rs b/tutorials/src/bin/playback-tutorial-1.rs index c518523bf..9d74089e7 100644 --- a/tutorials/src/bin/playback-tutorial-1.rs +++ b/tutorials/src/bin/playback-tutorial-1.rs @@ -100,8 +100,7 @@ fn tutorial_main() -> Result<(), Error> { // Initialize GStreamer gst::init()?; - let uri = - "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_cropped_multilingual.webm"; + let uri = "https://gstreamer.freedesktop.org/data/media/sintel_cropped_multilingual.webm"; // Create PlayBin element let playbin = gst::ElementFactory::make("playbin") diff --git a/tutorials/src/bin/playback-tutorial-2.rs b/tutorials/src/bin/playback-tutorial-2.rs index 5f6e9f9b3..390c7b227 100644 --- a/tutorials/src/bin/playback-tutorial-2.rs +++ b/tutorials/src/bin/playback-tutorial-2.rs @@ -102,10 +102,8 @@ fn tutorial_main() -> Result<(), Error> { // Initialize GStreamer gst::init()?; - let uri = - "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.ogv"; - let subtitle_uri = - "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer_gr.srt"; + let uri = "https://gstreamer.freedesktop.org/data/media/sintel_trailer-480p.ogv"; + let subtitle_uri = "https://gstreamer.freedesktop.org/data/media/sintel_trailer_gr.srt"; // Create PlayBin element let playbin = gst::ElementFactory::make("playbin") diff --git a/tutorials/src/bin/playback-tutorial-4.rs b/tutorials/src/bin/playback-tutorial-4.rs index ce0d0e839..79c67c5be 100644 --- a/tutorials/src/bin/playback-tutorial-4.rs +++ b/tutorials/src/bin/playback-tutorial-4.rs @@ -17,8 +17,7 @@ fn tutorial_main() -> Result<(), Error> { gst::init()?; // Build the pipeline - let uri = - "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm"; + let uri = "https://gstreamer.freedesktop.org/data/media/sintel_trailer-480p.webm"; let pipeline = gst::ElementFactory::make("playbin") .name("playbin") .property("uri", uri) diff --git a/tutorials/src/bin/playback-tutorial-5.rs b/tutorials/src/bin/playback-tutorial-5.rs index ebb322169..f329a1acf 100644 --- a/tutorials/src/bin/playback-tutorial-5.rs +++ b/tutorials/src/bin/playback-tutorial-5.rs @@ -111,7 +111,8 @@ fn tutorial_main() -> Result<(), Error> { // Build the pipeline let 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", + )?; let main_loop = glib::MainLoop::new(None, false); let main_loop_clone = main_loop.clone(); diff --git a/tutorials/src/bin/playback-tutorial-7.rs b/tutorials/src/bin/playback-tutorial-7.rs index 51637d1ef..c7f858cc2 100644 --- a/tutorials/src/bin/playback-tutorial-7.rs +++ b/tutorials/src/bin/playback-tutorial-7.rs @@ -10,7 +10,8 @@ fn tutorial_main() -> Result<(), Error> { // Build the pipeline let 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", + )?; // Create elements that go inside the sink bin let equalizer = gst::ElementFactory::make("equalizer-3bands")