Newest 'ffmpeg' Questions - Stack Overflow
Les articles publiés sur le site
-
no audio properties when converting with ffmpeg
11 septembre 2014, par UkemiI made a simple wrapper around ffmpeg, but I found out when i use ffmpeg like this:
ffmpeg -i input.flac output.mp3
the output.mp3 wont have any audio properties. I'm not an audio guy so im not sure whats going on or how to fix it, but if I right click my output mp3, and go to the audio properties tab, there's no info listed there. Is there anything i can do to retain that info?
-
Ffmpeg does not correctly defines FPS
11 septembre 2014, par MrNikobrazI have 2 videofiles with different resolution CIF(352*288) and D1(704*576), both with 6fps. When converting video with CIF resolution duration is 15:00. And when converting video with D1 resolution duration is 3:36. I.e. ffmpeg does not understand framerate D1 video and compresses 6fps to 25fps without loss of frames.
Mediainfo D1 video: Format : AVC Format/Info : Advanced Video Codec Format profile : Baseline@L3.0 Format settings, CABAC : No Format settings, ReFrames : 2 frames Width : 704 pixels Height : 576 pixels Display aspect ratio : 1.222 Standard : PAL Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Mediainfo CIF video: Video Format : AVC Format/Info : Advanced Video Codec Format profile : Baseline@L2.0 Format settings, CABAC : No Format settings, ReFrames : 2 frames Width : 352 pixels Height : 288 pixels Display aspect ratio : 1.222 Standard : PAL Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits
Why? And how to fix it?
-r 6 -filter:v "setpts=4.166*PTS"
not to offer.I use the Google translator.
-
Writing video files with dynamic image watermarks on Android
11 septembre 2014, par mrmomentI want to add dynamic watermarks (images, not texts) on video files on Android. For example, a user selects a video file on his phone, after processing, when the video is played, the watermarks are shown. And on different frames the watermark position and image is changing. Is it possible to realize this?
-
Splitting video to frames using avconv/ffmpeg
11 septembre 2014, par user44551Ive been trying to use ffmpeg/avconv to split a 6s video into frames every 100ms using this commands
ffmpeg -i Video.mp4 -r 10 ./frame-%04d.png avconv -i Video.mp4 -r 10 ./frame-%04d.png
But avconv only take 29 frames that take 4.3s (which is not the whole video and not in the desired framerate) and ffmpeg takes only 42 frames that take 4.2s (Not splitting the whole video)
Any ideas why that could happen?
-
How to Install ffmpeg on Wamp Server 2.2
11 septembre 2014, par PreeTI try all the links available on the Internet for the Proper Instructions for installing ffmpeg on the wamp server 2.2
OS is Window 7 64bit
Please help me for installing the ffmpeg on wampserver. Php version: 5.3.13 apache: 2.2.22
What i was trying.
- download http://quezar.ro/php_ffmpeg/php_ffmpeg.zip
- unzip
- move php_ffmpeg.dll to php extension dir
- move all other files to Windows\System32
- add extension=php_ffmpeg.dll to php.ini
- restart apache