Skip to content

Thuwzq/FFmpeg_with_tquic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

FFmpeg-with-TQUIC README

Introduction

Add TQUIC lib to FFmpeg network component

Requirements

Environments

We have run this project on MacOS ARM system, but we do not guarantee working on other systems.

Build

# Get source code
git clone https://github.com/Thuwzq/FFmpeg_with_tquic.git --recursive

# Build TQUIC
cd third_party/tquic
cargo build --release -F ffi


#build ffmpeg
#openssl and pthreads must be included, you can set other modules as you want
#configure example below:
./configure --prefix=/usr/local/ffmpeg --extra-cflags=-I/path/to/ev.h --extra-ldflags="/path/to/libev.a ./third_party/tquic/target/release/libtquic.a" --enable-gpl --enable-openssl --enable-nonfree --enable-libfdk-aac --enable-libx264 --enable-libx265 --enable-filter=delogo --enable-debug --disable-optimizations --enable-libspeex --enable-videotoolbox --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --cc=clang --host-cflags= --host-ldflags=

make
sudo make install

Run TQUIC Server

reference: https://tquic.net/zh/docs/getting_started/demo

Run ffplay with TQUIC

ffplay "tquic://ip:port/filename"

About

add tquic network lib to ffmpeg

Resources

License

Unknown and 3 other licenses found

Licenses found

Unknown
LICENSE.md
GPL-2.0
COPYING.GPLv2
GPL-3.0
COPYING.GPLv3
LGPL-3.0
COPYING.LGPLv3

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published