2011-07-04
2011-06-28
Extract mp3 from flv script
I have a video course. But there's only a Shon Harris (poor presentation materials), I thought it better to listen to this course on the player. The problem is that the player does not properly sort numeric file names (100 is earlier than 50). I wrote a little script on WSH, which solves these problems.
Source: SSCP_01.00.00.flv, SSCP_01.01.100.flv
Result: SSCP_0001.0000.0000.mp3, SSCP_0001.0001.0100.mp3
Command line: cscript /nologo list.wsf <folder path> > extract.bat
FFmpeg for Windows can be downloaded from http://ffmpeg.zeranoe.com/builds/
Source: SSCP_01.00.00.flv, SSCP_01.01.100.flv
Result: SSCP_0001.0000.0000.mp3, SSCP_0001.0001.0100.mp3
Command line: cscript /nologo list.wsf <folder path> > extract.bat
FFmpeg for Windows can be downloaded from http://ffmpeg.zeranoe.com/builds/
Labels:
javascript
2011-02-01
Chrome console.groupEnd bug
// 1
console.group('group 1');
console.group('group 2');
console.groupEnd('group 2');
console.log('end'); // console.groupEnd don't work without this log
console.groupEnd('group 1');
console.log('ready');
// 2
console.group('group 1');
console.group('group 2');
console.groupEnd('group 2');
console.groupEnd('group 1');
console.log('ready');
How can I close group without log?
Labels:
chrome,
javascript
Subscribe to:
Posts (Atom)