Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- mkfifo tmp.wav
- mkfifo tmp.yuv
- mencoder dvd://1 -dvd-device ./test_dvd/ -slang zh -frames 1000 -vf format=i420 -nosound -ovc raw -of rawvideo -ofps 25 -o tmp.yuv < /dev/null &
- mplayer dvd://1 -dvd-device ./test_dvd/ -alang zh -frames 1000 -af resample=44100:0:2,channels=2,volnorm=1:0.25,format=s16le -ao pcm:file=tmp.wav -vc dummy -vo null < /dev/null &
- ffmpeg -s 720x576 -i tmp.yuv -vcodec libx264 -i tmp.wav -acodec libmp3lame test.mp4 < /dev/null &
- ffmpeg -s 720x576 -i tmp.yuv -vcodec libx264 -i tmp.wav -acodec libmp3lame test1.mp4 < /dev/null
- rm tmp.yuv
- rm tmp.wav
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement