Testing Pipelines From The Command Line

  1. Mock Capture Pipeline

    gst-launch filesrc location=input.mpg ! filesink location=output.mpg

  2. Hauppauge WinTV PVR-350   Capture Pipeline
    1. Without Confidence Monitoring

      gst-launch filesrc location=/dev/video0 ! queue ! mpegpsdemux ! mpegvideoparse ! mpegtsmux ! filesink location=haupp.mpg

    2. With Confidence Monitoring

      gst-launch filesrc location=/dev/video0 ! queue ! mpegpsdemux ! mpegvideoparse ! tee name=t ! queue ! mpegtsmux ! filesink location=haupp.mpg t. ! queue ! decodebin ! ffmpegcolorspace ! jpegenc ! appsink

  3. Epiphan VGA2USB Pipeline
    1. Without Confidence Monitoring

      gst-launch v4lsrc device=/dev/video2 ! queue ! videoscale ! videorate ! video/x-raw-yuv, width=1024, height=768, framerate=30/1 ! ffmpegcolorspace ! ffenc_mpeg2video bitrate=2000000 ! mpegtsmux ! filesink location=vga2usb.mpg

    2. With Confidence Monitoring

      gst-launch v4lsrc device=/dev/video2 ! queue ! videoscale ! videorate ! video/x-raw-yuv, width=1024, height=768, framerate=30/1 ! tee name=t ! queue ! ffmpegcolorspace ! ffenc_mpeg2video bitrate=2000000 ! mpegtsmux ! filesink location=vga2usb.mpg t. ! queue ! decodebin ! ffmpegcolorspace ! jpegenc ! appsink

  4. BT878 ProVideo PV-143   Pipeline
    1. Without Confidence Monitoring

      gst-launch v4l2src device=/dev/video1 ! queue ! ffenc_mpeg2video bitrate=2000000 ! mpegtsmux ! filesink location=bt878.mpg

    2. With Confidence Monitoring

      gst-launch v4l2src device=/dev/video1 ! queue ! tee name=t ! queue ! ffenc_mpeg2video bitrate=2000000 ! mpegtsmux ! filesink location=bt878.mpg t. ! queue ! decodebin ! ffmpegcolorspace ! jpegenc ! appsink

  5. ALSA Pipeline
    1. Without Confidence Monitoring

      gst-launch alsasrc device=hw:0 ! queue ! twolame ! filesink location=alsa.mp2

    2. With Confidence Monitoring

      gst-launch alsasrc device=hw:0 ! queue ! tee name=t ! twolame ! filesink location=alsa.mp2 t. ! queue ! decodebin ! level ! fakesink

你可能感兴趣的:(command,from,line,testing,the)