Re: [FFmpeg-user] Converting mkv to mp3 failures
Hello, JD-san > 2017/07/16 午後0:26、桃源老師 のメール: > > So my guess about 74kb/s downloaded audio is really have 74kb/s on YouTube... > > With my experience, YouTube is not so good quality with audio. Almost all of > files from YouTube I have downloaded are up to 128kb/s in best case… Correction and information 1. I found 168kbps audio file on YouTube : Billy Joel’s Honesty https://youtu.be/LNpbDzNG45Q was 168kbps in audio. 2. youtube-dl can set quality of audio by --audio-quality QUALITY option. The default is 5 and can change 0 to 9. See youtube-dl —help for more detail. Best Regards, // Miya aka Togenroushi ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Converting mkv to mp3 failures
Hello JD-san, > 2017/07/16 午前11:56、JD のメール: > > On 07/14/2017 09:05 PM, 桃源老師 wrote: >> >> $ youtube-dl -x --audio-format mp3 https://youtu.be/AlXvPoCVtVA >> >> Above youtube video is consists of mp4 video and webm audio. > Unfortunately, it does not allow you to set the bitrate. > Downloading one video using this method, ended up > creating an mp3 file with only bitrate: 74 kb/s Well, with my understanding, youtube-dl just downloads video/audio from YouTube. It does not do anything about transcoding… So my guess about 74kb/s downloaded audio is really have 74kb/s on YouTube... With my experience, YouTube is not so good quality with audio. Almost all of files from YouTube I have downloaded are up to 128kb/s in best case... > I do not want to start a flame war re: bitrates - so please: flames off :) :) Do you mean that you don’t want to talk like above comment? If so, sorry for that. I’m not good in English... I just want to say if the quality of audio/video are limited, you may not get better quality audio/video than original… Best Regards, // Miya aka Tougenroushi ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Converting mkv to mp3 failures
On 07/14/2017 09:05 PM, 桃源老師 wrote: 2017/07/15 午前11:08、JD のメール: So, again, it seems to me that mkv is some kind of weird format OR youtube-dl which generates it is making some type of errors Sorry if it is not related with this topic. YouTube have various audio/video format. You can extract audio and convert to mp3 by youtube-dl and ffmpeg installed: $ youtube-dl -x --audio-format mp3 https://youtu.be/AlXvPoCVtVA Above youtube video is consists of mp4 video and webm audio. Best Regards, // Miya aka. TougenRoushi Thank you. Unfortunately, it does not allow you to set the bitrate. Downloading one video using this method, ended up creating an mp3 file with only bitrate: 74 kb/s I do not want to start a flame war re: bitrates - so please: flames off :) :) ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Converting mkv to mp3 failures
> 2017/07/15 午前11:08、JD のメール: > > So, again, it seems to me that mkv is some kind of weird format OR > youtube-dl which generates it is making some type of errors Sorry if it is not related with this topic. YouTube have various audio/video format. You can extract audio and convert to mp3 by youtube-dl and ffmpeg installed: $ youtube-dl -x --audio-format mp3 https://youtu.be/AlXvPoCVtVA Above youtube video is consists of mp4 video and webm audio. Best Regards, // Miya aka. TougenRoushi smime.p7s Description: S/MIME cryptographic signature ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Converting mkv to mp3 failures
Some of the mkv files being converted to mp3 are causing ffmpeg to belch out huge amounts of this message: Application provided invalid, non monotonically increasing dts to muxer in stream 0: 722678111 >= 720923999 of course, at different offsets in same file and also in other files. So, again, it seems to me that mkv is some kind of weird format OR youtube-dl which generates it is making some type of errors ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Converting mkv to mp3 failures
On Fri, Jul 14, 2017 at 13:25:03 -0600, JD wrote: > But I thought I did answer it :( > With -nostdin it is NOT able to read the input list :( > because the script is (was) providing the the list via stdin. That's techically impossible, but *sigh* Why should an ffmpeg command line option influence the shell's behavior? With this command, I can reproduce your issue (ffmpeg trying to interpret spurious file names as interactive keys): $ rm -fv movie_*{mp4,mkv} INLIST; for i in $(seq 1 5); do mfile="movie_${i}.mkv"; ffmpeg -f lavfi -i testsrc2 -t 2 "$mfile"; echo "$mfile" >> INLIST; done; while read file; do ffmpeg -i "$file" -c copy "${file%.mkv}.mp4"; done < INLIST If I replace 'ffmpeg -i "$file"' with 'ffmpeg -nostdin -i "$file"', the issue goes away, and the shell is still perfectly capable of reading the list from stdin. Moritz ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Converting mkv to mp3 failures
On 07/14/2017 01:19 PM, Moritz Barsnick wrote: On Fri, Jul 14, 2017 at 13:10:53 -0600, JD wrote: This is the script I ended up creating to convert hundreds of mkv to mp3 and avoid creating a tsunami of stdin that seems to flood ffmpeg and make it falter. WHY do you not answer my question (and the three times it was suggested, by myself and others): Does "-nostdin" not work? Moritz But I thought I did answer it :( With -nostdin it is NOT able to read the input list :( because the script is (was) providing the the list via stdin. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Converting mkv to mp3 failures
On Fri, Jul 14, 2017 at 13:10:53 -0600, JD wrote: > This is the script I ended up creating to convert hundreds of mkv to mp3 > and avoid creating a tsunami of stdin that seems to flood ffmpeg and > make it falter. WHY do you not answer my question (and the three times it was suggested, by myself and others): Does "-nostdin" not work? Moritz ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Converting mkv to mp3 failures
This is the script I ended up creating to convert hundreds of mkv to mp3 and avoid creating a tsunami of stdin that seems to flood ffmpeg and make it falter. #!/bin/bash export prog=/bin/ffmpeg export D=/thumbdrive_A rm -f $D/* for F in VIDEO_[0-9]*; do vidfile=`cat $F` N=`basename $vidfile | sed -e 's/mkv//' -e 's/mp4//' -e 's/webm//'` $prog -i $vidfile -map 0:a -c:a libmp3lame -ab 320k -ac 2 -y $D/$N"mp3" done ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Converting mkv to mp3 failures
On Fri, 14 Jul 2017, Moritz Barsnick wrote: done < VIDEO_FILES > FFMPEG_ERRORS 2>&1 I don't know why, but I have seen it before, and the '< VIDEO_FILES' may be flooding ffmpeg's stdin. Do try "-nostdin". This is a common problem with bash/sh and "while" loops. The while loop is reading from STDIN and any commands within the loop are reading from the SAME STDIN. When you redirect STDIN to the while loop, you also redirect it to the commands within the loop. In this case, that means both the while loop and ffmpeg are competing to read from "VIDEO_FILES". As you suggest, -nostdin should fix this... it'd think anyway. If not, it should work to redirect STDIN to the ffmpeg command, eg: while ... ffmpeg ... < /dev/null done < SOME_FILE If you really need the command within the loop to read from STDIN, then you need to get trickier and start playing around with file descriptors. A better option is just to use perl or some other scripting language that handles this better. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Converting mkv to mp3 failures
On 07/13/2017 05:00 PM, Moritz Barsnick wrote: On Thu, Jul 13, 2017 at 16:24:31 -0600, JD wrote: into a file which I edited and turned it into a script that removed single quotes, unprintable characters, square brackets, commas, and replaced all spaces with underscores - of course, used the mv command to move the files to the new names. Okay, so you are absolutely sure each an every one of those files listed exists at their newl given names? Yes!!! Emphatically YES!! Checked dozens of times. while read f; do N=`basename "$f" | sed -e 's/mkv//' -e 's/mp4//' -e 's/webm//'` BTW, what happens if the YouTube magic hash contains "mp4" (e.g. "X6gmp4rTl")? (Solution: 's/\.mp4$//'.) Yes - that is in my script: vis a vis -e 's/mp4// as my sed command has 3 expressions using the -e option. /bin/ffmpeg -i "$f" -map 0:a -c:a libmp3lame -ab 320k -ac 2 -y $D/$N"mp3" Replace this quoted line with echo "** $f **" just to go sure that the absolutely correct filenames are found. To go one further: Replace the quoted line with [ -f "$f" ] || echo "Not found: * $f *" to prove that the shell can find these files as listed in your VIDEO_FILES. If not, then ffmpeg can't find it either. ffmpeg gets the filename option as an arbitrary option from the operating system. If other programs can successfully make use of it, so can ffmpeg. And I am still getting parse errors, because ffmpeg is UNABLE to parse long filenames. No magic involved, ffmpeg does nothing special. What makes it even more confusing, the parse error message appears within or between the console output of transcoding a previous file. That's the letters flying in, interactively controlling ffmpeg's output options. done < VIDEO_FILES > FFMPEG_ERRORS 2>&1 I don't know why, but I have seen it before, and the '< VIDEO_FILES' may be flooding ffmpeg's stdin. Do try "-nostdin". I think ffmpeg just does not know how to read stdin rightly, or perhaps the shell is not providing carriage returns or "newline" at end of each line. However, here are the mods: #!/bin/bash >FFMPEG_ERRORS while read f; do N=`basename "$f" | sed -e 's/mkv//' -e 's/mp4//' -e 's/webm//'` [ -f "$f" ] || echo "Not found: * $f *" done < VIDEO_FILES 2>&1 | tee FFMPEG_ERRORS and did NOT get any Not found ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Converting mkv to mp3 failures
On Thu, Jul 13, 2017 at 16:24:31 -0600, JD wrote: > into a file which I edited and turned it into a script that > removed single quotes, unprintable characters, square brackets, commas, and > replaced all spaces with underscores - of course, used the mv command to > move > the files to the new names. Okay, so you are absolutely sure each an every one of those files listed exists at their newl given names? > while read f; do > N=`basename "$f" | sed -e 's/mkv//' -e 's/mp4//' -e 's/webm//'` BTW, what happens if the YouTube magic hash contains "mp4" (e.g. "X6gmp4rTl")? (Solution: 's/\.mp4$//'.) > /bin/ffmpeg -i "$f" -map 0:a -c:a libmp3lame -ab 320k -ac 2 -y > $D/$N"mp3" Replace this quoted line with echo "** $f **" just to go sure that the absolutely correct filenames are found. To go one further: Replace the quoted line with [ -f "$f" ] || echo "Not found: * $f *" to prove that the shell can find these files as listed in your VIDEO_FILES. If not, then ffmpeg can't find it either. ffmpeg gets the filename option as an arbitrary option from the operating system. If other programs can successfully make use of it, so can ffmpeg. > And I am still getting parse errors, because ffmpeg is UNABLE to parse > long filenames. No magic involved, ffmpeg does nothing special. > What makes it even more confusing, the parse error message appears > within or between the console output > of transcoding a previous file. That's the letters flying in, interactively controlling ffmpeg's output options. > done < VIDEO_FILES > FFMPEG_ERRORS 2>&1 I don't know why, but I have seen it before, and the '< VIDEO_FILES' may be flooding ffmpeg's stdin. Do try "-nostdin". Moritz ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Converting mkv to mp3 failures
On 07/13/2017 03:22 PM, Moritz Barsnick wrote: On Thu, Jul 13, 2017 at 15:11:56 -0600, JD wrote: Your filename does not contain parentheses, brackets and single quotes and unprintable characters that MANY files I download contain in their names. And THAT is the crux of the problem. That's no crux. $ for file in *.mkv; do ffmpeg -i "$file" -map 0:a -c:a libmp3lame /targetdir/"${f%.mkv}".mp3; done Fixed that for you. Never forget to quote your variables. Moritz Thanx to all. What I did is tedious, but I had no choice. Double quoting the filenames did not solve my problem. So, I simply gathered all the filenames (find . -name \*.mkv -o -name \*.mp4 -o -name \*.webm) into a file which I edited and turned it into a script that removed single quotes, unprintable characters, square brackets, commas, and replaced all spaces with underscores - of course, used the mv command to move the files to the new names. I retried the script as follows: while read f; do N=`basename "$f" | sed -e 's/mkv//' -e 's/mp4//' -e 's/webm//'` /bin/ffmpeg -i "$f" -map 0:a -c:a libmp3lame -ab 320k -ac 2 -y $D/$N"mp3" done < VIDEO_FILES > FFMPEG_ERRORS 2>&1 And I am still getting parse errors, because ffmpeg is UNABLE to parse long filenames. What makes it even more confusing, the parse error message appears within or between the console output of transcoding a previous file. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Converting mkv to mp3 failures
On Thu, Jul 13, 2017 at 15:11:56 -0600, JD wrote: > Your filename does not contain parentheses, brackets and single quotes > and unprintable characters that > MANY files I download contain in their names. > And THAT is the crux of the problem. That's no crux. $ for file in *.mkv; do ffmpeg -i "$file" -map 0:a -c:a libmp3lame /targetdir/"${f%.mkv}".mp3; done Fixed that for you. Never forget to quote your variables. Moritz ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Converting mkv to mp3 failures
On Thu, Jul 13, 2017 at 21:34:13 +0100, Kieran O Leary wrote: > On a side note, you seem to be getting a very verbose console display > which might be confusing matters. I think some keyboard shortcut causes > this to happen - it's happened to me by accident a few times. Yes, the very first ffmpeg output shows: > Parse error, at least 3 arguments were expected, only 1 given in string > 'omplete_Discography/THE SMITHS · Meat Is Murder · FULL ALBUM HQ > AUDIO-Dod4KC9_X4Q.webm' Without seeing the script which is doing this, I suspect something is 'piping' these strings into ffmpeg, which is trying to interpret them as debug commands. You (JD) can disable that ffmpeg feature using the command line option "-nostdin" (which I consider a good idea for batch processing), but you should rather fix the script. Moritz ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Converting mkv to mp3 failures
On 07/13/2017 03:07 PM, Kieran O Leary wrote: Hi On Thu, Jul 13, 2017 at 9:58 PM, JD 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 Your filename does not contain parentheses, brackets and single quotes and unprintable characters that MANY files I download contain in their names. And THAT is the crux of the problem. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Converting mkv to mp3 failures
Hi On Thu, Jul 13, 2017 at 9:58 PM, JD 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 libavformat57. 75.100 / 57. 75.100 libavdevice57. 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 libpostproc54. 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.00, 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% ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Converting mkv to mp3 failures
Le quintidi 25 messidor, an CCXXV, JD a écrit : > ffmpeg is UNABLE to parse the name correctly > > I don't know whether to blame youtube-dl or ffmpeg. Start by suspecting a PEBKAC. Regards, -- Nicolas George signature.asc Description: Digital signature ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Converting mkv to mp3 failures
On 07/13/2017 02:34 PM, Kieran O Leary wrote: Woah On Thu, Jul 13, 2017 at 8:56 PM, JD wrote: I uploaded the full screen out put to: https://www.sendspace.com/file/l5jdvs it is called FFMPEG_ERRORS I only looked through some as you posted the output of loads of videos! It might help to pick just one that fails, and copy paste the complete terminal output of just that one to the mailing list. You will get more help that way. Anyhow it looks like a lot of these are successfully processing. However, some of these are failing simply because your paths are incorrect. It looks like you are only using the filename only, with not path, and ffmpeg just can't find the file. This is probably because the file you are trying to process is not in your current directory. I'm copy pasting one of these examples /bin/ffmpeg.d/ffmpeg -i FdaVGRew.mkv -vn -c:a libmp3lame -ab 320k -ac 2 -y /thumbdrive-A/The_Smiths/MP3/FdaVGRew.mp3 ffmpeg version 3.0.2-static http://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.3.1 (Debian 5.3.1-16) 20160424 configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --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-amrwbenc --enable-gray --enable-libopenjpeg --enable-libopus --enable-libass --enable-gnutls --enable-libvidstab --enable-libsoxr --enable-frei0r --enable-libfribidi --disable-indev=sndio --disable-outdev=sndio --enable-librtmp --enable-libmfx --enable-libzimg --cc=gcc libavutil 55. 17.103 / 55. 17.103 libavcodec 57. 24.102 / 57. 24.102 libavformat57. 25.100 / 57. 25.100 libavdevice57. 0.101 / 57. 0.101 libavfilter 6. 31.100 / 6. 31.100 libswscale 4. 0.100 / 4. 0.100 libswresample 2. 0.101 / 2. 0.101 libpostproc54. 0.100 / 54. 0.100 FdaVGRew.mkv: No such file or directory On a side note, you seem to be getting a very verbose console display which might be confusing matters. I think some keyboard shortcut causes this to happen - it's happened to me by accident a few times. Best, Kieran. 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. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Converting mkv to mp3 failures
Woah On Thu, Jul 13, 2017 at 8:56 PM, JD wrote: > > > I uploaded the full screen out put to: > > https://www.sendspace.com/file/l5jdvs > > it is called FFMPEG_ERRORS > > I only looked through some as you posted the output of loads of videos! It might help to pick just one that fails, and copy paste the complete terminal output of just that one to the mailing list. You will get more help that way. Anyhow it looks like a lot of these are successfully processing. However, some of these are failing simply because your paths are incorrect. It looks like you are only using the filename only, with not path, and ffmpeg just can't find the file. This is probably because the file you are trying to process is not in your current directory. I'm copy pasting one of these examples /bin/ffmpeg.d/ffmpeg -i FdaVGRew.mkv -vn -c:a libmp3lame -ab 320k -ac 2 -y /thumbdrive-A/The_Smiths/MP3/FdaVGRew.mp3 ffmpeg version 3.0.2-static http://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.3.1 (Debian 5.3.1-16) 20160424 configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --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-amrwbenc --enable-gray --enable-libopenjpeg --enable-libopus --enable-libass --enable-gnutls --enable-libvidstab --enable-libsoxr --enable-frei0r --enable-libfribidi --disable-indev=sndio --disable-outdev=sndio --enable-librtmp --enable-libmfx --enable-libzimg --cc=gcc libavutil 55. 17.103 / 55. 17.103 libavcodec 57. 24.102 / 57. 24.102 libavformat57. 25.100 / 57. 25.100 libavdevice57. 0.101 / 57. 0.101 libavfilter 6. 31.100 / 6. 31.100 libswscale 4. 0.100 / 4. 0.100 libswresample 2. 0.101 / 2. 0.101 libpostproc54. 0.100 / 54. 0.100 FdaVGRew.mkv: No such file or directory On a side note, you seem to be getting a very verbose console display which might be confusing matters. I think some keyboard shortcut causes this to happen - it's happened to me by accident a few times. Best, Kieran. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Converting mkv to mp3 failures
On 07/12/2017 10:01 PM, Tim Hiles wrote: On Wed, Jul 12, 2017 at 7:54 PM, JD wrote: I just wanted to point out that 99% of files I download as mkv, and then try to convert them to mp3 with the command: ffmpeg -i somefile.mkv -vn -c:a libmp3lame -ab 320k -ac 2 -y somefile.mp3 fail to convert, with huge amount of error messages output. PS: Using ffmpeg version 3.0.2-static The conversion to mkv is done by youtube-dl automatically. So, is youtube-dl the culprit by creating bad mkv output? Would love to hear how I can make this work. Please post full uncut command output. Out of 214 mkv videos, only 21 mp3 files were created. I uploaded the full screen out put to: https://www.sendspace.com/file/l5jdvs it is called FFMPEG_ERRORS ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Converting mkv to mp3 failures
On Wed, Jul 12, 2017 at 21:01:21 -0700, Tim Hiles wrote: > On Wed, Jul 12, 2017 at 7:54 PM, JD wrote: > Please post full uncut command output. > > fail to convert, with huge amount of error messages output. And if the output is too long, give us approximately the first 50 and last 50 lines. (The rest is probably repetitions of similar warning/error messages, right?) Thanks, Moritz ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Converting mkv to mp3 failures
On Wed, Jul 12, 2017 at 7:54 PM, JD wrote: > I just wanted to point out that 99% of files I download > as mkv, and then try to convert them to mp3 with the command: > > ffmpeg -i somefile.mkv -vn -c:a libmp3lame -ab 320k -ac 2 -y somefile.mp3 > > fail to convert, with huge amount of error messages output. > > PS: Using ffmpeg version 3.0.2-static > > The conversion to mkv is done by youtube-dl automatically. > > So, is youtube-dl the culprit by creating bad mkv output? > > Would love to hear how I can make this work. > > Please post full uncut command output. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
[FFmpeg-user] Converting mkv to mp3 failures
I just wanted to point out that 99% of files I download as mkv, and then try to convert them to mp3 with the command: ffmpeg -i somefile.mkv -vn -c:a libmp3lame -ab 320k -ac 2 -y somefile.mp3 fail to convert, with huge amount of error messages output. PS: Using ffmpeg version 3.0.2-static The conversion to mkv is done by youtube-dl automatically. So, is youtube-dl the culprit by creating bad mkv output? Would love to hear how I can make this work. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".