[FFmpeg-user] Converting mkv to mp3 failures
Kieran O Leary
kieran.o.leary at gmail.com
Fri Jul 14 00:07:04 EEST 2017
Hi
On Thu, Jul 13, 2017 at 9:58 PM, JD <jd1008 at gmail.com> wrote:
>
>> The problem of file not found is caused by the naming conventions
> used by youtube-dl - so that even if I enclose the filename in double
> quotes,
> ffmpeg is UNABLE to parse the name correctly
>
> I don't know whether to blame youtube-dl or ffmpeg.
>
>
i'd blame a combination of youtube-dl and maybe yourself ;) i've never had
that issue with ffmpeg that wasn't caused by my own error. I'm using Ubuntu
16.04, but never had a file path issue on any O.S that wasn't fixed by
double quotes or escaping characters/spaces.
I have some videos that I downloaded with youtube-dl that look like they
have similar filenames. I tried a similar ffmpeg command and all was well:
ffmpeg -i 'Compton MC Kendrick Lamar Interviewed By Hima From Das Racist -
Rap Show - Episode 1-ev8Cm7yiSvY.mp4' -vn -c:a libmp3lame -ab 320k -ac 2 -y
kendrick.mp3
ffmpeg version N-45635-g369a3e1 Copyright (c) 2000-2017 the FFmpeg
developers
built with gcc 5.3.0 (Homebrew gcc 5.3.0)
configuration:
--prefix=/home/kieranjol/.linuxbrew/Cellar/ffmpeg/HEAD-369a3e1
--enable-shared --enable-pthreads --enable-gpl --enable-version3
--enable-hardcoded-tables --enable-avresample --cc=gcc-5 --host-cflags=
--host-ldflags= --enable-ffplay --enable-libass --enable-libfreetype
--enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libxvid
--disable-lzma --enable-libopenjpeg --disable-decoder=jpeg2000
--extra-cflags=-I/home/kieranjol/.linuxbrew/Cellar/openjpeg/2.1.2_1/include/openjpeg-2.1
--disable-vda
libavutil 55. 67.100 / 55. 67.100
libavcodec 57.100.103 / 57.100.103
libavformat 57. 75.100 / 57. 75.100
libavdevice 57. 7.100 / 57. 7.100
libavfilter 6. 94.100 / 6. 94.100
libavresample 3. 6. 0 / 3. 6. 0
libswscale 4. 7.101 / 4. 7.101
libswresample 2. 8.100 / 2. 8.100
libpostproc 54. 6.100 / 54. 6.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Compton MC Kendrick Lamar
Interviewed By Hima From Das Racist - Rap Show - Episode 1-ev8Cm7yiSvY.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf57.71.100
Duration: 00:04:25.73, start: 0.000000, bitrate: 2658 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p,
1920x1080 [SAR 1:1 DAR 16:9], 2527 kb/s, 23.98 fps, 23.98 tbr, 90k tbn,
47.95 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz,
stereo, fltp, 125 kb/s (default)
Metadata:
handler_name : SoundHandler
Stream mapping:
Stream #0:1 -> #0:0 (aac (native) -> mp3 (libmp3lame))
Press [q] to stop, [?] for help
Output #0, mp3, to 'kendrick.mp3':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
TSSE : Lavf57.75.100
Stream #0:0(und): Audio: mp3 (libmp3lame), 44100 Hz, stereo, fltp, 320
kb/s (default)
Metadata:
handler_name : SoundHandler
encoder : Lavc57.100.103 libmp3lame
size= 10383kB time=00:04:25.74 bitrate= 320.1kbits/s speed=36.5x
video:0kB audio:10382kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.011213%
More information about the ffmpeg-user
mailing list