mirror of
				https://github.com/ossrs/srs.git
				synced 2025-03-09 15:49:59 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			29 lines
		
	
	
	
		
			806 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
	
		
			806 B
		
	
	
	
		
			Text
		
	
	
	
	
	
# the config for srs use ffmpeg to transcode
 | 
						|
# @see https://github.com/ossrs/srs/wiki/v1_CN_SampleFFMPEG
 | 
						|
# @see full.conf for detail config.
 | 
						|
 | 
						|
listen              1935;
 | 
						|
max_connections     1000;
 | 
						|
daemon              off;
 | 
						|
srs_log_tank        console;
 | 
						|
vhost __defaultVhost__ {
 | 
						|
    transcode {
 | 
						|
        enabled     on;
 | 
						|
        ffmpeg      ./objs/ffmpeg/bin/ffmpeg;
 | 
						|
        engine ff {
 | 
						|
            enabled         on;
 | 
						|
            vfilter {
 | 
						|
            }
 | 
						|
            vcodec          libx264;
 | 
						|
            vthreads        4;
 | 
						|
            vprofile        main;
 | 
						|
            vpreset         medium;
 | 
						|
            vparams {
 | 
						|
            }
 | 
						|
            acodec          libfdk_aac;
 | 
						|
            aparams {
 | 
						|
            }
 | 
						|
            output          rtmp://127.0.0.1:[port]/[app]?vhost=[vhost]/[stream]_[engine];
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 |