Created
September 11, 2014 18:04
-
-
Save while0pass/81f8c87f2091cef4e7ae to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ffmpeg -y -filter_complex 'amovie=/home/nurono/Desktop/kmvso.mp3, atrim=start=0:end=10, afade=t=in:st=0:d=2' n1.mp3 | |
ffmpeg version N-40693-gf7bbe0f- http://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2014 the FFmpeg developers | |
built on Sep 9 2014 02:20:35 with gcc 4.8 (Debian 4.8.3-10) | |
configuration: --enable-gpl --enable-version3 --disable-shared --disable-debug --enable-runtime-cpudetect --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libwebp --enable-libspeex --enable-libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-gray --enable-libopenjpeg --enable-libopus --disable-ffserver --enable-libass --enable-gnutls --cc=gcc-4.8 | |
libavutil 54. 7.100 / 54. 7.100 | |
libavcodec 56. 1.100 / 56. 1.100 | |
libavformat 56. 4.101 / 56. 4.101 | |
libavdevice 56. 0.100 / 56. 0.100 | |
libavfilter 5. 1.100 / 5. 1.100 | |
libswscale 3. 0.100 / 3. 0.100 | |
libswresample 1. 1.100 / 1. 1.100 | |
libpostproc 53. 0.100 / 53. 0.100 | |
Output #0, mp3, to 'n1.mp3': | |
Metadata: | |
TSSE : Lavf56.4.101 | |
Stream #0:0: Audio: mp3 (libmp3lame), 44100 Hz, stereo, s16p (default) | |
Metadata: | |
encoder : Lavc56.1.100 libmp3lame | |
Stream mapping: | |
afade -> Stream #0:0 (libmp3lame) | |
Press [q] to stop, [?] for help | |
size= 157kB time=00:00:10.00 bitrate= 128.2kbits/s | |
video:0kB audio:156kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.141181% | |
$ ffmpeg -y -filter_complex 'amovie=/home/nurono/Desktop/kmvso.mp3, atrim=start=0:end=10, afade=t=in:st=0:d=2, afade=t=out:st=8:d=2' n2.mp3 | |
ffmpeg version N-40693-gf7bbe0f- http://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2014 the FFmpeg developers | |
built on Sep 9 2014 02:20:35 with gcc 4.8 (Debian 4.8.3-10) | |
configuration: --enable-gpl --enable-version3 --disable-shared --disable-debug --enable-runtime-cpudetect --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libwebp --enable-libspeex --enable-libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-gray --enable-libopenjpeg --enable-libopus --disable-ffserver --enable-libass --enable-gnutls --cc=gcc-4.8 | |
libavutil 54. 7.100 / 54. 7.100 | |
libavcodec 56. 1.100 / 56. 1.100 | |
libavformat 56. 4.101 / 56. 4.101 | |
libavdevice 56. 0.100 / 56. 0.100 | |
libavfilter 5. 1.100 / 5. 1.100 | |
libswscale 3. 0.100 / 3. 0.100 | |
libswresample 1. 1.100 / 1. 1.100 | |
libpostproc 53. 0.100 / 53. 0.100 | |
Output #0, mp3, to 'n2.mp3': | |
Metadata: | |
TSSE : Lavf56.4.101 | |
Stream #0:0: Audio: mp3 (libmp3lame), 44100 Hz, stereo, s16p (default) | |
Metadata: | |
encoder : Lavc56.1.100 libmp3lame | |
Stream mapping: | |
afade -> Stream #0:0 (libmp3lame) | |
Press [q] to stop, [?] for help | |
size= 157kB time=00:00:10.00 bitrate= 128.2kbits/s | |
video:0kB audio:156kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.141181% | |
$ ffmpeg -y -i /home/nurono/Desktop/kmvso.mp3 -filter_complex 'atrim=start=0:end=10, afade=t=in:st=0:d=2, afade=t=out:st=8:d=2' n3.mp3 | |
ffmpeg version N-40693-gf7bbe0f- http://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2014 the FFmpeg developers | |
built on Sep 9 2014 02:20:35 with gcc 4.8 (Debian 4.8.3-10) | |
configuration: --enable-gpl --enable-version3 --disable-shared --disable-debug --enable-runtime-cpudetect --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libwebp --enable-libspeex --enable-libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-gray --enable-libopenjpeg --enable-libopus --disable-ffserver --enable-libass --enable-gnutls --cc=gcc-4.8 | |
libavutil 54. 7.100 / 54. 7.100 | |
libavcodec 56. 1.100 / 56. 1.100 | |
libavformat 56. 4.101 / 56. 4.101 | |
libavdevice 56. 0.100 / 56. 0.100 | |
libavfilter 5. 1.100 / 5. 1.100 | |
libswscale 3. 0.100 / 3. 0.100 | |
libswresample 1. 1.100 / 1. 1.100 | |
libpostproc 53. 0.100 / 53. 0.100 | |
Input #0, mp3, from '/home/nurono/Desktop/kmvso.mp3': | |
Metadata: | |
title : Warrior Concerto | |
artist : The Glitch Mob | |
track : / | |
album : We Can Make The World Stop | |
disc : / | |
Duration: 00:03:39.74, start: 0.025056, bitrate: 325 kb/s | |
Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 320 kb/s | |
Metadata: | |
encoder : LAME3.98r | |
Side data: | |
replaygain: track gain - -10.300000, track peak - unknown, album gain - unknown, album peak - unknown, | |
Stream #0:1: Video: mjpeg, yuvj420p(pc, bt470bg), 600x600 [SAR 1:1 DAR 1:1], 90k tbr, 90k tbn, 90k tbc | |
Metadata: | |
title : Front cover | |
comment : Cover (front) | |
[swscaler @ 0x3cdc560] deprecated pixel format used, make sure you did set range correctly | |
[mp3 @ 0x3cf0940] Frame rate very high for a muxer not efficiently supporting it. | |
Please consider specifying a lower framerate, a different muxer or -vsync 2 | |
Output #0, mp3, to 'n3.mp3': | |
Metadata: | |
TIT2 : Warrior Concerto | |
TPE1 : The Glitch Mob | |
TRCK : / | |
TALB : We Can Make The World Stop | |
TPOS : / | |
TSSE : Lavf56.4.101 | |
Stream #0:0: Audio: mp3 (libmp3lame), 44100 Hz, stereo, s16p | |
Metadata: | |
encoder : Lavc56.1.100 libmp3lame | |
Stream #0:1: Video: png, rgb24, 600x600 [SAR 1:1 DAR 1:1], q=2-31, 200 kb/s, 90k fps, 90k tbn, 90k tbc | |
Metadata: | |
title : Front cover | |
comment : Cover (front) | |
encoder : Lavc56.1.100 png | |
Stream mapping: | |
Stream #0:0 (mp3) -> atrim (graph 0) | |
afade (graph 0) -> Stream #0:0 (libmp3lame) | |
Stream #0:1 -> #0:1 (mjpeg (native) -> png (native)) | |
Press [q] to stop, [?] for help | |
frame= 1 fps=0.9 q=0.0 Lsize= 946kB time=00:00:10.00 bitrate= 774.3kbits/s | |
video:789kB audio:157kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.039045% | |
$ mplayer n1.mp3 | |
$ # my comments: only atrim applied, no afade=t=in, sound is on and unchanged | |
$ | |
$ mplayer n2.mp3 | |
$ # atrim applied, sound is totally off | |
$ | |
$ mplayer n3.mp3 | |
$ # all the filters applied as expected |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment