Search This Blog

Monday, March 18, 2013

[Untuntu]Mount smbfs with read and write

 在Ubuntu 10.10 要掛載網路磁碟機並且可以讀寫權限

1. 建立目錄(Create folder)
cd /media
sudo mkdir temp

2.掛載網路磁碟機 (Mount samba share folder)
sudo smbmount //ip_address/foldername /media/temp -o user=username,pass=password,iocharset=utf8,dir_mode=0777,file_mode=0777,uid=current login user name

Tuesday, January 15, 2013

[ffmpeg]剪輯影片- Cutting video

<code>ffmpeg -i in.mp4 -ss [start] -t [duration] -c:v copy -c:a copy out.mp4

time format
start: 00:00:00.000
duration: 00:00:00.000

reference:http://superuser.com/questions/377343/cut-part-from-video-file-from-start-position-to-end-position-with-ffmpeg
</code>