OpenVisualCloud / SVT-HEVC

SVT HEVC encoder. Scalable Video Technology (SVT) is a software-based video coding technology that is highly optimized for Intel® Xeon® processors. Using the open source SVT-HEVC encoder, it is possible to spread video encoding processing across multiple Intel® Xeon® processors to achieve a real advantage of processing efficiency.
Other
507 stars 169 forks source link

How to use ffmpeg svt-hevc encoding to start TileSliceMode mode, can you give an example of the command #640

Open jpt666 opened 1 year ago

jpt666 commented 1 year ago

(Prerequisite svt-hevc encoder I have added to ffmpeg) I tried to use the following command to push the stream successfully and play it successfully, but I am not sure whether the following command starts TileSliceMode mode, and tile is divided into 12x12 blocks. Could you please help me confirm whether there is any problem with the command, because the result of the live stream of gpac dash does not have tile? But I use gpac for local mp4 files dash has tile

ffmpeg -re -stream_loop -1 -i /home/jinpengtao_wd/desktop/8k-30s.mp4 -c:v libsvt_hevc -vf scale=3840:1920 -rc 1 -profile 2 -level 0 -tier 0 -umv 0 -tile_slice_mode 1 -tile_row_cnt 12 -tile_col_cnt 12 -f rtsp -rtsp_transport tcp rtsp://192.168.1.104/live/test

Appendix: Local gpac for local mp4 file tile dash is the process command (svt-hevc encoder is used in part 2).

  1. ffmpeg -y -i E:\video\nature_5s.mp4 -vf scale=7680:3840,setsar=1:1 E:\video\324_dest\nature_5s_hd.yuv SvtHevcEncApp -i E:\video\324_dest\nature_5s_hd.yuv -irefresh-type 0 -fps 30 -tbr 62914560 -intra-period 4 -vid-info 1 -rc 1 -profile 2 -level 0 -tier 0 -umv 0 -tile_slice_mode 1 -w 7680 -h 3840 -tile_row_cnt 12 -tile_col_cnt 12 -pred-struct 0 -b E:\video\324_dest\nature_5s_hd.hevc MP4Box -add E:\video\324_dest\nature_5s_hd.hevc:split_tiles:timescale=30000 -new E:\video\324_dest\nature_5s_hd.mp4 MP4Box -dash 1000 -frag 1000 -rap -frag-rap -profile live E:\video\324_dest\nature_5s_hd.mp4 -out E:\video\324_dest\nature_5s_hd.mpd