// 生成 HLS canvas
~/source/ffserver/ffmpeg/ffmpeg_g -i special.ts -strict -2 -hls_list_size 0 -hls_time 10 -hls_segment_filename 'file%03d.ts' out.m3u8 ide
// 流媒體碼率查詢 debug
source/ffserver/ffmpeg/ffmpeg_g -v debug -i http://10.154.250.32:8081/http_live/h264_dolby/movie1/a.m3u8 tmp_dolby.ts 3d
source/ffserver/ffmpeg/ffprobe -v error -show_format -show_streams ~/tmp_dolby.ts code
ffprobe -v debug -show_format -show_streams -show_data -show_frames -show_packets test.h264 orm
// 若是 數據 源是多音軌,能夠用 -map 0 使得輸入源是多音軌。 視頻
~/source/ffserver/ffmpeg/ffmpeg_g -i /home/liyl/Videos/local/mkv/Wonder.Women.X264.AAC.Sample.mkv -map 0 -strict experimental -hls_list_size 0 -hls_time 10 -hls_segment_filename 'file%03d.ts' out.m3u8 server
05 Aug 2015 //若是合併ts 能夠 ci
cat ./* get
//播放yuv
vlc --canvas-width=1280 --canvas-height=720 --rawvid-width=1280 --rawvid-height=720 --rawvid-fps=30 --rawvid-chroma=I420 ./1280x720_yuv420p.yuv
//抽取音頻
~/source/ffserver/ffmpeg/ffmpeg -i input.mkv -vn -acodec copy audio.ts
// 視頻截斷