mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
tests: fix some caps
This commit is contained in:
parent
5e132060c2
commit
108ef70382
2 changed files with 24 additions and 24 deletions
|
@ -116,7 +116,7 @@ GST_START_TEST (test_mpeg2)
|
|||
return;
|
||||
|
||||
pipeline = g_strdup_printf ("videotestsrc num-buffers=250 ! "
|
||||
"video/x-raw-yuv,framerate=25/1 ! "
|
||||
"video/x-raw,framerate=25/1 ! "
|
||||
"%s ! " "mxfmux name=mux ! " "fakesink", mpeg2enc_name);
|
||||
|
||||
run_test (pipeline);
|
||||
|
@ -130,11 +130,11 @@ GST_START_TEST (test_raw_video_raw_audio)
|
|||
gchar *pipeline;
|
||||
|
||||
pipeline = g_strdup_printf ("videotestsrc num-buffers=250 ! "
|
||||
"video/x-raw-yuv,format=(GstFourcc)v308,width=1920,height=1080,framerate=25/1 ! "
|
||||
"video/x-raw,format=(string)v308,width=1920,height=1080,framerate=25/1 ! "
|
||||
"mxfmux name=mux ! "
|
||||
"fakesink "
|
||||
"audiotestsrc num-buffers=250 ! "
|
||||
"audioconvert ! " "audio/x-raw-int,rate=48000,channels=2 ! " "mux. ");
|
||||
"audioconvert ! " "audio/x-raw,rate=48000,channels=2 ! " "mux. ");
|
||||
|
||||
run_test (pipeline);
|
||||
g_free (pipeline);
|
||||
|
@ -147,7 +147,7 @@ GST_START_TEST (test_raw_video_stride_transform)
|
|||
gchar *pipeline;
|
||||
|
||||
pipeline = g_strdup_printf ("videotestsrc num-buffers=250 ! "
|
||||
"video/x-raw-yuv,format=(GstFourcc)v308,width=1001,height=501,framerate=25/1 ! "
|
||||
"video/x-raw,format=(string)v308,width=1001,height=501,framerate=25/1 ! "
|
||||
"mxfmux name=mux ! " "fakesink");
|
||||
|
||||
run_test (pipeline);
|
||||
|
@ -169,7 +169,7 @@ GST_START_TEST (test_jpeg2000_alaw)
|
|||
gst_object_unref (factory);
|
||||
|
||||
pipeline = g_strdup_printf ("videotestsrc num-buffers=250 ! "
|
||||
"video/x-raw-yuv,framerate=25/1 ! "
|
||||
"video/x-raw,framerate=25/1 ! "
|
||||
"jp2kenc ! "
|
||||
"mxfmux name=mux ! "
|
||||
"fakesink "
|
||||
|
@ -197,13 +197,13 @@ GST_START_TEST (test_dnxhd_mp3)
|
|||
gst_object_unref (factory);
|
||||
|
||||
pipeline = g_strdup_printf ("videotestsrc num-buffers=250 ! "
|
||||
"video/x-raw-yuv,format=(GstFourcc)Y42B,width=1920,height=1080,framerate=25/1 ! "
|
||||
"video/x-raw,format=(string)Y42B,width=1920,height=1080,framerate=25/1 ! "
|
||||
"ffenc_dnxhd bitrate=36000000 ! "
|
||||
"mxfmux name=mux ! "
|
||||
"fakesink "
|
||||
"audiotestsrc num-buffers=250 ! "
|
||||
"audioconvert ! "
|
||||
"audio/x-raw-int,channels=2 ! " "lame ! " "mp3parse ! " "mux. ");
|
||||
"audio/x-raw,channels=2 ! " "lame ! " "mp3parse ! " "mux. ");
|
||||
|
||||
run_test (pipeline);
|
||||
g_free (pipeline);
|
||||
|
@ -216,22 +216,22 @@ GST_START_TEST (test_multiple_av_streams)
|
|||
gchar *pipeline;
|
||||
|
||||
pipeline = g_strdup_printf ("videotestsrc num-buffers=250 ! "
|
||||
"video/x-raw-yuv,format=(GstFourcc)v308,width=1920,height=1080,framerate=25/1 ! "
|
||||
"video/x-raw,format=(string)v308,width=1920,height=1080,framerate=25/1 ! "
|
||||
"mxfmux name=mux ! "
|
||||
"fakesink "
|
||||
"audiotestsrc num-buffers=250 ! "
|
||||
"audioconvert ! "
|
||||
"audio/x-raw-int,rate=48000,channels=2 ! "
|
||||
"audio/x-raw,rate=48000,channels=2 ! "
|
||||
"mux. "
|
||||
"videotestsrc num-buffers=100 ! "
|
||||
"video/x-raw-yuv,format=(GstFourcc)v308,width=1920,height=1080,framerate=25/1 ! "
|
||||
"video/x-raw,format=(string)v308,width=1920,height=1080,framerate=25/1 ! "
|
||||
"mux. "
|
||||
"audiotestsrc num-buffers=100 ! "
|
||||
"audioconvert ! "
|
||||
"audio/x-raw-int,rate=48000,channels=2 ! "
|
||||
"audio/x-raw,rate=48000,channels=2 ! "
|
||||
"mux. "
|
||||
"audiotestsrc num-buffers=250 ! "
|
||||
"audioconvert ! " "audio/x-raw-int,rate=48000,channels=2 ! " "mux. ");
|
||||
"audioconvert ! " "audio/x-raw,rate=48000,channels=2 ! " "mux. ");
|
||||
|
||||
run_test (pipeline);
|
||||
g_free (pipeline);
|
||||
|
|
|
@ -132,7 +132,7 @@ GST_START_TEST (test_mpeg2)
|
|||
return;
|
||||
|
||||
pipeline = g_strdup_printf ("videotestsrc num-buffers=250 ! "
|
||||
"video/x-raw-yuv,framerate=25/1 ! "
|
||||
"video/x-raw,framerate=25/1 ! "
|
||||
"%s ! " "mxfmux name=mux ! "
|
||||
"mxfdemux name=demux ! " "fakesink", mpeg2enc_name);
|
||||
|
||||
|
@ -147,12 +147,12 @@ GST_START_TEST (test_raw_video_raw_audio)
|
|||
gchar *pipeline;
|
||||
|
||||
pipeline = g_strdup_printf ("videotestsrc num-buffers=250 ! "
|
||||
"video/x-raw-yuv,format=(GstFourcc)v308,width=1920,height=1080,framerate=25/1 ! "
|
||||
"video/x-raw,format=(string)v308,width=1920,height=1080,framerate=25/1 ! "
|
||||
"mxfmux name=mux ! "
|
||||
"mxfdemux name=demux ! "
|
||||
"fakesink "
|
||||
"audiotestsrc num-buffers=250 ! "
|
||||
"audioconvert ! " "audio/x-raw-int,rate=48000,channels=2 ! " "mux. ");
|
||||
"audioconvert ! " "audio/x-raw,rate=48000,channels=2 ! " "mux. ");
|
||||
|
||||
run_test (pipeline, 2);
|
||||
g_free (pipeline);
|
||||
|
@ -165,7 +165,7 @@ GST_START_TEST (test_raw_video_stride_transform)
|
|||
gchar *pipeline;
|
||||
|
||||
pipeline = g_strdup_printf ("videotestsrc num-buffers=250 ! "
|
||||
"video/x-raw-yuv,format=(GstFourcc)v308,width=1001,height=501,framerate=25/1 ! "
|
||||
"video/x-raw,format=(string)v308,width=1001,height=501,framerate=25/1 ! "
|
||||
"mxfmux name=mux ! " "mxfdemux name=demux ! " "fakesink");
|
||||
|
||||
run_test (pipeline, 1);
|
||||
|
@ -187,7 +187,7 @@ GST_START_TEST (test_jpeg2000_alaw)
|
|||
gst_object_unref (factory);
|
||||
|
||||
pipeline = g_strdup_printf ("videotestsrc num-buffers=250 ! "
|
||||
"video/x-raw-yuv,framerate=25/1 ! "
|
||||
"video/x-raw,framerate=25/1 ! "
|
||||
"jp2kenc ! "
|
||||
"mxfmux name=mux ! "
|
||||
"mxfdemux name=demux ! "
|
||||
|
@ -216,14 +216,14 @@ GST_START_TEST (test_dnxhd_mp3)
|
|||
gst_object_unref (factory);
|
||||
|
||||
pipeline = g_strdup_printf ("videotestsrc num-buffers=250 ! "
|
||||
"video/x-raw-yuv,format=(GstFourcc)Y42B,width=1920,height=1080,framerate=25/1 ! "
|
||||
"video/x-raw,format=(string)Y42B,width=1920,height=1080,framerate=25/1 ! "
|
||||
"ffenc_dnxhd bitrate=36000000 ! "
|
||||
"mxfmux name=mux ! "
|
||||
"mxfdemux name=demux ! "
|
||||
"fakesink "
|
||||
"audiotestsrc num-buffers=250 ! "
|
||||
"audioconvert ! "
|
||||
"audio/x-raw-int,channels=2 ! " "lame ! " "mp3parse ! " "mux. ");
|
||||
"audio/x-raw,channels=2 ! " "lame ! " "mp3parse ! " "mux. ");
|
||||
|
||||
run_test (pipeline, 2);
|
||||
g_free (pipeline);
|
||||
|
@ -236,23 +236,23 @@ GST_START_TEST (test_multiple_av_streams)
|
|||
gchar *pipeline;
|
||||
|
||||
pipeline = g_strdup_printf ("videotestsrc num-buffers=250 ! "
|
||||
"video/x-raw-yuv,format=(GstFourcc)v308,width=1920,height=1080,framerate=25/1 ! "
|
||||
"video/x-raw,format=(string)v308,width=1920,height=1080,framerate=25/1 ! "
|
||||
"mxfmux name=mux ! "
|
||||
"mxfdemux name=demux ! "
|
||||
"fakesink "
|
||||
"audiotestsrc num-buffers=250 ! "
|
||||
"audioconvert ! "
|
||||
"audio/x-raw-int,rate=48000,channels=2 ! "
|
||||
"audio/x-raw,rate=48000,channels=2 ! "
|
||||
"mux. "
|
||||
"videotestsrc num-buffers=100 ! "
|
||||
"video/x-raw-yuv,format=(GstFourcc)v308,width=1920,height=1080,framerate=25/1 ! "
|
||||
"video/x-raw,format=(string)v308,width=1920,height=1080,framerate=25/1 ! "
|
||||
"mux. "
|
||||
"audiotestsrc num-buffers=100 ! "
|
||||
"audioconvert ! "
|
||||
"audio/x-raw-int,rate=48000,channels=2 ! "
|
||||
"audio/x-raw,rate=48000,channels=2 ! "
|
||||
"mux. "
|
||||
"audiotestsrc num-buffers=250 ! "
|
||||
"audioconvert ! " "audio/x-raw-int,rate=48000,channels=2 ! " "mux. ");
|
||||
"audioconvert ! " "audio/x-raw,rate=48000,channels=2 ! " "mux. ");
|
||||
|
||||
run_test (pipeline, 5);
|
||||
g_free (pipeline);
|
||||
|
|
Loading…
Reference in a new issue