Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

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

@jpt666

Description

@jpt666

(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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions