According to the data in ffmpeg that program has been superceded by avconv and you will find
Wouldn't credit it but I came across a Russian festival video with slides and fades between that had a 27Meg overall size . I liked the music behind it so decided to try and get it . Used the above after d/l the file as mp4 and got an audio file of 6Meg so there is some to be saved . I wonder though if the fades between slides were not there what size it would be . I'd test it but its too much work.
Code: Select all
# ffmpeg -i video.mp4 -ab 192 out_sound.mp3
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:00:59 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 'video.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2016-08-09 07:46:44
Duration: 00:06:18.13, start: 0.000000, bitrate: 590 kb/s
Stream #0.0(und): Video: h264 (Constrained Baseline), yuv420p, 640x360 [PAR 1:1 DAR 16:9], 492 kb/s, 29.87 fps, 30 tbr, 30 tbn, 60 tbc
Stream #0.1(eng): Audio: aac, 44100 Hz, stereo, s16, 95 kb/s
Metadata:
creation_time : 2016-08-09 07:46:46
The bitrate parameter is set too low.It takes bits/s as argument, not kbits/s
Output #0, mp3, to 'out_sound.mp3':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
TDEN : 2016-08-09 07:46:44
TSSE : Lavf53.21.1
Stream #0.0(eng): Audio: libmp3lame, 44100 Hz, stereo, s16, 0 kb/s
Metadata:
creation_time : 2016-08-09 07:46:46
Stream mapping:
Stream #0.1 -> #0.0
Press ctrl-c to stop encoding
size= 5909kB time=378.17 bitrate= 128.0kbits/s
video:0kB audio:5909kB global headers:0kB muxing overhead 0.004313%
# avconv -i video.mp4 -ab 192 out_sound.mp3
avconv 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:00:59 with gcc 4.6.3
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'video.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2016-08-09 07:46:44
Duration: 00:06:18.13, start: 0.000000, bitrate: 590 kb/s
Stream #0.0(und): Video: h264 (Constrained Baseline), yuv420p, 640x360 [PAR 1:1 DAR 16:9], 492 kb/s, 29.87 fps, 30 tbr, 30 tbn, 60 tbc
Stream #0.1(eng): Audio: aac, 44100 Hz, stereo, s16, 95 kb/s
Metadata:
creation_time : 2016-08-09 07:46:46
File 'out_sound.mp3' already exists. Overwrite ? [y/N] y
The bitrate parameter is set too low.It takes bits/s as argument, not kbits/s
Output #0, mp3, to 'out_sound.mp3':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
TDEN : 2016-08-09 07:46:44
TSSE : Lavf53.21.1
Stream #0.0(eng): Audio: libmp3lame, 44100 Hz, stereo, s16, 0 kb/s
Metadata:
creation_time : 2016-08-09 07:46:46
Stream mapping:
Stream #0:1 -> #0:0 (aac -> libmp3lame)
Press ctrl-c to stop encoding
size= 5909kB time=378.17 bitrate= 128.0kbits/s
video:0kB audio:5909kB global headers:0kB muxing overhead 0.004313%
#
# ffmpeg -i video.mp4 -ab 192 out_sound.mp3
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:00:59 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 'video.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2016-08-09 07:46:44
Duration: 00:06:18.13, start: 0.000000, bitrate: 590 kb/s
Stream #0.0(und): Video: h264 (Constrained Baseline), yuv420p, 640x360 [PAR 1:1 DAR 16:9], 492 kb/s, 29.87 fps, 30 tbr, 30 tbn, 60 tbc
Stream #0.1(eng): Audio: aac, 44100 Hz, stereo, s16, 95 kb/s
Metadata:
creation_time : 2016-08-09 07:46:46
The bitrate parameter is set too low.It takes bits/s as argument, not kbits/s
Output #0, mp3, to 'out_sound.mp3':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
TDEN : 2016-08-09 07:46:44
TSSE : Lavf53.21.1
Stream #0.0(eng): Audio: libmp3lame, 44100 Hz, stereo, s16, 0 kb/s
Metadata:
creation_time : 2016-08-09 07:46:46
Stream mapping:
Stream #0.1 -> #0.0
Press ctrl-c to stop encoding
size= 5909kB time=378.17 bitrate= 128.0kbits/s
video:0kB audio:5909kB global headers:0kB muxing overhead 0.004313%
# avconv -i video.mp4 -ab 192 out_sound.mp3
avconv 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:00:59 with gcc 4.6.3
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'video.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2016-08-09 07:46:44
Duration: 00:06:18.13, start: 0.000000, bitrate: 590 kb/s
Stream #0.0(und): Video: h264 (Constrained Baseline), yuv420p, 640x360 [PAR 1:1 DAR 16:9], 492 kb/s, 29.87 fps, 30 tbr, 30 tbn, 60 tbc
Stream #0.1(eng): Audio: aac, 44100 Hz, stereo, s16, 95 kb/s
Metadata:
creation_time : 2016-08-09 07:46:46
File 'out_sound.mp3' already exists. Overwrite ? [y/N] y
The bitrate parameter is set too low.It takes bits/s as argument, not kbits/s
Output #0, mp3, to 'out_sound.mp3':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
TDEN : 2016-08-09 07:46:44
TSSE : Lavf53.21.1
Stream #0.0(eng): Audio: libmp3lame, 44100 Hz, stereo, s16, 0 kb/s
Metadata:
creation_time : 2016-08-09 07:46:46
Stream mapping:
Stream #0:1 -> #0:0 (aac -> libmp3lame)
Press ctrl-c to stop encoding
size= 5909kB time=378.17 bitrate= 128.0kbits/s
video:0kB audio:5909kB global headers:0kB muxing overhead 0.004313%
#