Newest 'ffmpeg' Questions - Stack Overflow
Les articles publiés sur le site
-
How can I convert all video type to flv video type by using ffmpeg in c# ?
7 septembre 2012, par user1575609This is part of my C# code.
if (fileExt != ".flv") {// file extension string SaveADDConvertVideo = Server.MapPath("~/videoFile/Video/") + filename;
ffmpeg.StartInfo.Arguments = " -i " + video + " -ar 22050 -ab 32 -f flv -s 320×240 " + SaveADDConvertVideo + ".flv";
ffmpeg.StartInfo.FileName = Server.MapPath("ffmpeg.exe"); ffmpeg.Start();
}
I want to convert any video format to .flv format. But this code doesn't work. I also debug my code very well and there isn't any error. Can any one help me? Tq very much :)
-
Use sox to combine audios
7 septembre 2012, par user1622115I have three 3gp file,and I use sox to combine them
sox --combine sequence C:\1.3gp C:\2.3gp C:\3.3gp C:\newaudio.3gp
but It's show that "FAIL formats:no handler for file extension
3gp
"Its means that I have to install some extension?
I'm trying to do it with sox,Can anybody give me any suggestions ?
Or It's possible do it with ffmpeg ?
-
Subtitles and audio track option for Android Native player
7 septembre 2012, par Balwant Kumar SinghHow Can I provide the subtitle and audio track change option with Android native player? Do I need to Integrate FFpmeg with the native player? If yes then how I can do this?
The android version is 3.2
Kindly reply...
-
Node.js Child Process Issue with Args - Quotes Issue ?, FFMPEG issue ?
7 septembre 2012, par BradI need to be able to execute FFMPEG from my Node.js application. I believe this problem likely has to do with properly specifying command line arguments, and not specific to FFMPEG, but as I have been unable to narrow down the issue, I present my entire problem.
I can execute the following command from the command prompt successfully:
C:\Brad\ffmpeg.exe -f dshow -i audio="Microphone (SoundMAX Integrated" testaaa.mp3
FFMPEG starts as expected, records audio from my audio device, and writes an MP3 file. Now, I try to do the same thing within my Node.js application:
childProcess = child_process.spawn('C:\\Brad\\ffmpeg.exe', ['-f', 'dshow', '-i', 'audio="Microphone (SoundMAX Integrated"', 'testaaa.mp3']); childProcess.stderr.on('data', function (data) { console.log('StdioSource received data from STDERR: ' + data); });
From within Node.js, FFMPEG fails! The error is simply:
[dshow @ 0000000001eded80] Could not find audio device. audio="Microphone (SoundMAX Integrated": Input/output error
Thinking that maybe for some reason this was a weird permissions error, I decided to run FFMPEG with
-list_devices true
from within my Node application, and sure enough, the device in question is listed:[dshow @ 000000000228ecc0] DirectShow video devices [dshow @ 000000000228ecc0] Could not enumerate video devices. [dshow @ 000000000228ecc0] DirectShow audio devices [dshow @ 000000000228ecc0] "Microphone (SoundMAX Integrated"
Any thoughts as to why I cannot properly specify the audio input device in the arguments for FFMPEG, or why FFMPEG does not recognize my audio input device when running as a child process to Node.js?
Any hints would be most appreciated.
-
Android video don't work - ffmpeg [closed]
6 septembre 2012, par user1439500I have two videos, the first video work in android the second one no, why ?
(WORK)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'out.mp4':
Metadata:
major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf52.48.0 Duration: 00:00:30.00, start: 0.000000, bitrate: 854 kb/s Stream #0.0(eng): Video: h264, yuv420p, 800x800 [PAR 4:3 DAR 4:3], 722 kb/s, PAR 533:400 DAR 533:400, 25 fps, 25 tbr, 25 tbn, 50 tbc Stream #0.1(eng): Audio: aac, 44100 Hz, stereo, s16, 127 kb/s
(DON'T WORK)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '2u72rNckWqq.mp4':
Metadata:
major_brand : qt minor_version : 537199360 compatible_brands: qt encoder : MEncoder Sherpya-SVN-r30075-4.2.5 Duration: 00:00:30.01, start: 0.000000, bitrate: 857 kb/s Stream #0.0(eng): Video: h264, yuv420p, 320x240 [PAR 1:1 DAR 4:3], 724 kb/s, 25 fps, 25 tbr, 1k tbn, 50 tbc Stream #0.1(eng): Audio: aac, 44100 Hz, stereo, s16, 128 kb/s