【文件属性】:
文件名称:简化NS2实验步骤的代码
文件大小:733B
文件格式:TXT
更新时间:2020-03-30 11:49:39
NS2
#include "stdio.h"
main()
{
char[10] shiyan,shipin;
int q,g;
char a;
n=0;
while{
n++;
scanf("%s%s",shiyan n,shipin);
printf("cd d:/cygwin/home/shiyan n");
scanf("q=%d,g=%d");
printf("./ffmpeg.exe -s qcif -vcodec mpeg4 -r 30 -g g -bf 2 -qscale q -i shipin.yuv shipin.m4v");
printf("./MP4Box.exe -hint -mtu 1024 -fps 30 -add shipin.m4v shipin.mp4");
printf("./mp4trace.exe -f -s 192.168.0.2 12346 shipin.mp4>a0n.st");
printf("Please copy a0n.st and a0n.tcl to linux and run,so come out sd_a0n,rd_a0n,copy sd_a0n,rd_a0n to windows");
printf("./etmp4.exe sd_a0n,rd_a0n,a0n.st,a0n.mp4,a0n_over");
printf("./ffmpeg.exe -i a0n_over.mp4 a0n_over.yuv);
printf("./avgpsnr.exe 176 144 420 shipin.yuv a0n_over.yuv");
}
}