video-conversion

Convert compressed swf to mp4

前提是你 提交于 2019-11-30 10:41:35
问题 I'm looking for a batch script to convert swf to mp4, lossless. I tried using both ffmpeg and handbrake, but apparently swf is compressed and I can't convert them this way. ffmpeg -i input -c:v libx264 -preset ultrafast -qp 0 output.mkv HandBrakeCLI -i source -o destination I know I acn use a tool like xilisoft, but I've more than 3000 videos and would need to run this automatically. Is there a script/ algorithm that can help me automate this process? 回答1: Get gnash: git clone git://git.sv

Server-side video conversion and compression

孤街醉人 提交于 2019-11-30 05:24:35
问题 I want to provide an automatic video-converter for my CMS-customers. They should be able to upload their "untouched" video-files (MP4, VMV, AVI, ...) and my server compresses and converts it to a Web-friendly MP4-file (exactly like YouTube makes it). The result is clear: Web-friendly MP4-format Compressed to tolerable file size So I'm looking for a PHP-API or Linux-shell-script to realise this. Is there a easy way to handle this? Edit : YouTube-embedded videos are not a solution for me. 回答1:

Convert compressed swf to mp4

拈花ヽ惹草 提交于 2019-11-29 21:49:31
I'm looking for a batch script to convert swf to mp4, lossless. I tried using both ffmpeg and handbrake, but apparently swf is compressed and I can't convert them this way. ffmpeg -i input -c:v libx264 -preset ultrafast -qp 0 output.mkv HandBrakeCLI -i source -o destination I know I acn use a tool like xilisoft, but I've more than 3000 videos and would need to run this automatically. Is there a script/ algorithm that can help me automate this process? Get gnash: git clone git://git.sv.gnu.org/gnash.git You'll need a bunch of dependencies before you can build it (should be able to apt-get them

Can I set rotation field for a video stream with FFmpeg?

两盒软妹~` 提交于 2019-11-28 03:34:57
I have a video file. I open it with MediaInfo utility and I can see a video stream in this file having attribute Rotation 90 (along with other attributes such as CodecID, bitrate etc). Now I have another video file which does not have that attribute Rotation 90, it does not have the Rotation attribute at all. Can I use ffmpeg.exe so that it produces output file with Rotation 90 attribute added and with no other changes? I don't really want to do any transform, just want to set the Rotation attribute. I've tried the -metadata option to no avail. slhck This works with recent FFmpeg: ffmpeg -i

video captured from iphone gets rotated when converted to .mp4 using ffmpeg

馋奶兔 提交于 2019-11-27 18:12:14
When I try to upload videos captured from my iPhone in my app, the server performs a conversion from .mov to .mp4 so that it can be played in other platforms. However the problem is that when I shoot the video (in portrait orientation) and it is converted (using ffmpeg) and then played back from the server, it appears to be rotated. Any idea? Depending on which version of ffmpeg you have and how it's compiled, one of the following should work... ffmpeg -vfilters "rotate=90" -i input.mov output.mp4 ...or... ffmpeg -vf "transpose=1" -i input.mov output.mp4 FFMPEG changed the default behavior to

Can I set rotation field for a video stream with FFmpeg?

爷,独闯天下 提交于 2019-11-27 00:07:01
问题 I have a video file. I open it with MediaInfo utility and I can see a video stream in this file having attribute Rotation 90 (along with other attributes such as CodecID, bitrate etc). Now I have another video file which does not have that attribute Rotation 90, it does not have the Rotation attribute at all. Can I use ffmpeg.exe so that it produces output file with Rotation 90 attribute added and with no other changes? I don't really want to do any transform, just want to set the Rotation