Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (14:37:46) cwebber@johndoe [~/tsql101] ~/transcode.sh transact_sql_101-lesson_01-video_01-introduction_to_sql.wmv .
- FFmpeg version 0.5.2, Copyright (c) 2000-2009 Fabrice Bellard, et al.
- configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth --extra-cflags=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC --enable-avfilter --enable-avfilter-lavf --enable-libdirac --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libx264 --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 --enable-x11grab
- libavutil 49.15. 0 / 49.15. 0
- libavcodec 52.20. 1 / 52.20. 1
- libavformat 52.31. 0 / 52.31. 0
- libavdevice 52. 1. 0 / 52. 1. 0
- libavfilter 0. 4. 0 / 0. 4. 0
- libswscale 0. 7. 1 / 0. 7. 1
- libpostproc 51. 2. 0 / 51. 2. 0
- built on Jun 13 2010 23:44:18, gcc: 4.1.2 20080704 (Red Hat 4.1.2-48)
- [wmv3 @ 0x175c7b40]Extra data: 8 bits left, value: 0
- Seems stream 1 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 15.00 (15/1)
- Input #0, asf, from 'transact_sql_101-lesson_01-video_01-introduction_to_sql.wmv':
- Duration: 00:06:31.17, start: 5.000000, bitrate: 61 kb/s
- Stream #0.0: Audio: 0x000a, 22050 Hz, mono, s16, 20 kb/s
- Stream #0.1: Video: wmv3, yuv420p, 800x600, 35 kb/s, 15 tbr, 1k tbn, 1k tbc
- Output #0, mp4, to './transact_sql_101-lesson_01-video_01-introduction_to_sql.mp4':
- Stream #0.0: Video: libx264, yuv420p, 480x272, q=10-51, 200 kb/s, 90k tbn, 29.97 tbc
- Stream #0.1: Audio: libfaac, 48000 Hz, stereo, s16, 128 kb/s
- Stream mapping:
- Stream #0.1 -> #0.0
- Stream #0.0 -> #0.1
- [libx264 @ 0x1765eed0]using cpu capabilities: MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
- [libx264 @ 0x1765eed0]profile Baseline, level 3.0
- Unsupported codec (id=86055) for input stream #0.0
- (14:38:35) cwebber@johndoe [~/tsql101] cat ~/transcode.sh
- #!/bin/bash
- INPUT=$1
- OUTPUT=`echo $1 | awk 'BEGIN {FS = "."}; {print $1}'`.mp4
- DIR=$2
- /usr/bin/ffmpeg -threads 4 -i $INPUT -r 29.97 -vcodec libx264 -s 480x272 -flags +loop -cmp +chroma -deblockalpha 0 -deblockbeta 0 -crf 24 -bt 256k -refs 1 -coder 0 -subq 5 -partitions +parti4x4+parti8x8+partp8x8 -g 250 -keyint_min 25 -level 30 -qmin 10 -qmax 51 -trellis 2 -sc_threshold 40 -i_qfactor 0.71 -acodec libfaac -ab 128k -ar 48000 -ac 2 $DIR/$OUTPUT
- (14:39:41) cwebber@johndoe [~/tsql101]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement