• ffmpeg+rtsp+dss


    1. push stream to dss

    ffmpeg -f mpegts -re -i film.v -c:v libx264 -s 352x288 -aspect 4:3 -b:v 300k -c:a libfaac  -ac 1  -f rtsp 'rtsp://127.0.0.1/live1.sdp'

    2. play stream from dss

    ffmpeg -i 'rtsp://test:test@192.168.137.66:554/live1.sdp'  -an -c:v rawvideo -s 352x288 -f rawvideo  v1.yuv

    ffmpeg -i 'rtsp://192.168.137.66:8000/live1.sdp' -an -c:v rawvideo -s 352x288 -f rawvideo  v1.yuv

    ffmpeg -i 'rtsp://192.168.137.66:8000/live1' -an -c:v rawvideo -s 352x288 -f rawvideo  v1.yuv

    转载自:http://blog.csdn.net/fanbird2008/article/details/9044885

  • 相关阅读:
    libusbwin32
    KMP
    windows.h
    iomanip
    C++继承
    LIST
    fstream
    VS2010中调试c++程序的方法
    sstream
    char 与char* 字符串与字符
  • 原文地址:https://www.cnblogs.com/lidabo/p/4528329.html
Copyright © 2020-2023  润新知