Monday, May 9, 2011

Dealing with Time of Video or Film-Week 14


66 cd Test2

67 ffmpeg -i tscopy.VOB -t 00:00:30 output.VOB
# Sets the time of the first file to the time specified and saves it as the second file.

68 ffplay output.VOB # play the specified file.


69 ffmpeg -i tscopy.VOB -t 00:00:30 -vcodec copy -acodec copy output2.VOB
# Specifies the time of the video, but keeps the quality of the video with the copy function for the  -vcodec and -acodec settings.

70 fflpay output2.VOB # spelling error.

71 ffplay output2.VOB # play the file.



72 ffmpeg -i tscopy.VOB -ss 00:00:05 -t 00:00:30 -vcodec copy -acodec copy output3.VOB
# takes the file and sets the start time and how long to play the clip with -t, keeps the original quality and saves it to an file name.

73 ffplay output3.VOB



74 ffmpeg -i tscopy.VOB -ss 00:00:05 -t 00:00:25 -vcodec copy -acodec copy output4.VOB
# changes the overall time of the film to be shorter with -t.

75 ffplay output4.VOB





76 ffmpeg -i tscopy.VOB -ss 00:00:05 -t 00:00:25 -target ntsc-dv output5.dv
# specifies the compression type to ntsc-dv and makes the final result a dv file.

77 ffplay output5.dv



78 ls -lha

79 history > splitvid.txt

No comments:

Post a Comment