убрал, но все равно не сработало. В папке Cash появились текстовые пустые файлы с именем клипов.
dm@dm-System-Product-Name:~/Рабочий стол/12345$ #!/bin/sh
dm@dm-System-Product-Name:~/Рабочий стол/12345$ mkdir cash
dm@dm-System-Product-Name:~/Рабочий стол/12345$ for f in *.avi *.mkv *.mp4 *.mpg ;
> do
> ffmpeg -i "$f" -vn -ar 44100 -ac 2 -ab 192 -f mp3 cash/$f.mp3
> done
ffmpeg version 0.8.6-4:0.8.6-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers
built on Apr 2 2013 17:02:36 with gcc 4.6.3
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
*.avi: No such file or directory
ffmpeg version 0.8.6-4:0.8.6-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers
built on Apr 2 2013 17:02:36 with gcc 4.6.3
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
*.mkv: No such file or directory
ffmpeg version 0.8.6-4:0.8.6-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers
built on Apr 2 2013 17:02:36 with gcc 4.6.3
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Akcent - My Passion ( official video ).mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2010-11-07 14:29:33
Duration: 00:03:52.64, start: 0.000000, bitrate: 2467 kb/s
Stream #0.0(und): Video: h264 (High), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 2337 kb/s, 25 fps, 25 tbr, 1k tbn, 50 tbc
Metadata:
creation_time : 1970-01-01 00:00:00
Stream #0.1(und): Audio: aac, 44100 Hz, stereo, s16, 125 kb/s
Metadata:
creation_time : 2010-11-07 14:29:38
Unable to find a suitable output format for 'pipe:'
ffmpeg version 0.8.6-4:0.8.6-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers
built on Apr 2 2013 17:02:36 with gcc 4.6.3
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Aligator Feat. Daniel Kandi The Perfect Match.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
creation_time : 2010-11-07 14:29:33
encoder : Lavf53.21.1
Duration: 00:03:52.64, start: 0.000000, bitrate: 2626 kb/s
Stream #0.0(und): Video: h264 (Main), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 2472 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc
Metadata:
creation_time : 2010-11-07 14:29:33
Stream #0.1(und): Audio: aac, 44100 Hz, stereo, s16, 149 kb/s
Metadata:
creation_time : 2010-11-07 14:29:33
Unable to find a suitable output format for 'Daniel'
ffmpeg version 0.8.6-4:0.8.6-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers
built on Apr 2 2013 17:02:36 with gcc 4.6.3
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Amir Farjam - LEILY.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
creation_time : 2010-11-07 14:29:33
encoder : Lavf53.21.1
Duration: 00:03:52.64, start: 0.000000, bitrate: 2626 kb/s
Stream #0.0(und): Video: h264 (Main), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 2472 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc
Metadata:
creation_time : 2010-11-07 14:29:33
Stream #0.1(und): Audio: aac, 44100 Hz, stereo, s16, 149 kb/s
Metadata:
creation_time : 2010-11-07 14:29:33
Unable to find a suitable output format for 'Farjam'
ffmpeg version 0.8.6-4:0.8.6-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers
built on Apr 2 2013 17:02:36 with gcc 4.6.3
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Azis - MMA - Азис - MMA.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
creation_time : 2010-11-07 14:29:33
encoder : Lavf53.21.1
Duration: 00:03:52.64, start: 0.000000, bitrate: 2626 kb/s
Stream #0.0(und): Video: h264 (Main), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 2472 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc
Metadata:
creation_time : 2010-11-07 14:29:33
Stream #0.1(und): Audio: aac, 44100 Hz, stereo, s16, 149 kb/s
Metadata:
creation_time : 2010-11-07 14:29:33
Unable to find a suitable output format for 'pipe:'
ffmpeg version 0.8.6-4:0.8.6-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers
built on Apr 2 2013 17:02:36 with gcc 4.6.3
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Chlöe Howl - Rumour.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
creation_time : 2010-11-07 14:29:33
encoder : Lavf53.21.1
Duration: 00:03:52.64, start: 0.000000, bitrate: 2626 kb/s
Stream #0.0(und): Video: h264 (Main), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 2472 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc
Metadata:
creation_time : 2010-11-07 14:29:33
Stream #0.1(und): Audio: aac, 44100 Hz, stereo, s16, 149 kb/s
Metadata:
creation_time : 2010-11-07 14:29:33
Unable to find a suitable output format for 'Howl'
ffmpeg version 0.8.6-4:0.8.6-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers
built on Apr 2 2013 17:02:36 with gcc 4.6.3
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
*.mpg: No such file or directory
dm@dm-System-Product-Name:~/Рабочий стол/12345$