Questions tagged [video-conversion]

Video conversion deals mostly with converting videos from one codec to a second one or to resize the image size. It is also possible to change the container format as well.

Videos must be converted for several reasons from one codec to a second one or need to be resized to fit on smaller screens. In some cases devices can record or play just a view formats. With video conversion videos can been converted to be playable on a other device.

156 questions
35
votes
1 answer

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

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…
Alexander Kulyakhtin
  • 45,879
  • 35
  • 103
  • 155
31
votes
3 answers

Post processing in ffmpeg to move 'moov atom' in MP4 files (qt-faststart)

Is it possible to run ffmpeg from the command line which will either place the 'moov atom' metadata in the beginning of the MP4 file or run the qt-faststart as a post processing operation in ffmpeg so the generated file is stream-able through the…
siliconpi
  • 7,593
  • 15
  • 64
  • 105
27
votes
4 answers

Convert compressed swf to mp4

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…
skmvasu
  • 3,048
  • 3
  • 21
  • 29
21
votes
10 answers

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

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…
aqs
  • 5,182
  • 3
  • 22
  • 24
19
votes
3 answers

Convert video with ffmpeg using gpu

I have video sharing site and convert video with ffmpeg but it take a lot of time for converting. how can do it fast and safe? I think when ffmpeg match with GPU it helps me but I find no good reference to use. Which application or reference can…
sdnaghdi
  • 567
  • 2
  • 6
  • 18
16
votes
2 answers

How to expose a virtual camera on macOS?

I want to write my own camera filters for videochat, and ideally apply them in any/all of the popular videochat applications (Zoom, Hangouts, Skype, etc.). The way I imagine this working is to write a macOS application that reads the camera feed,…
16
votes
2 answers

How to Convert Videos on VLC batch/CLI?

I need to do a mass-conversion of videos from a video recorder in the .mod format, to other file formats, e. g. .mp4. How and where can I find detailed specifications and information about VLC's various CLI options and commands, required for…
12
votes
1 answer

Using ffmpeg convert a file from one format to another

I'm new to ffmpeg and I was trying to find out how to convert a audio or video file from one format to another. I don't want to use CLI, I just want to know if I can use ffmpeg as a library and call a function to convert a file from one format to…
Pannu
  • 2,091
  • 2
  • 20
  • 24
9
votes
1 answer

Service to convert video to gif via api

I've been using Zencoder's api to convert videos from one format to another but I now need to convert a video to an animated gif which is not included in the output formats on Zencoder. Anyone know of a service which is able to do this, or…
user1803975
  • 315
  • 1
  • 4
  • 11
8
votes
0 answers

ffmpeg not working with piping to stdin

I want to stream a file that is being uploaded to ffmpeg. I'm using node.js and it's not working! I ended up testing piping an input to ffmpeg from a local file, and this doens't work either. Here's my code: var processVideo = function(videoStream,…
Guig
  • 8,612
  • 5
  • 47
  • 99
6
votes
2 answers

What is the point of encrypting HLS files?

I am currently working on a project of videos on demand where I convert videos to HLS using FFMPEG. Videos are publicly hosted on AWS S3 and there is an API giving the URL of the HLS playlist. Now, I was looking at encrypting HLS files with AES-128…
APE
  • 1,020
  • 5
  • 19
6
votes
1 answer

FFMPEG No such filter: 'palettegen'

I am using windows 10 and FFmpeg 64-bit Shared Version. When I use palettegen effect, returns error. ffmpeg -i input.mov -vf palettegen palette.png returns [AVFilterGraph @ 0228d3c0] No such filter: 'palettegen' Error opening filters! How can I…
tyasird
  • 662
  • 1
  • 9
  • 23
6
votes
3 answers

unknown encoder libvo_aacenc

i am trying to convert a .mov file to an mp4 file using the following command. ffmpeg -i sample_iTunes.mov -c:v libx264 -vb 800k -c:a libvo_aacenc -ab 128k -ac 2 test.mp4 When i run this i get the following error: Unknown encoder…
Marc Rasmussen
  • 17,383
  • 66
  • 172
  • 305
6
votes
1 answer

Server-side video conversion and compression

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…
Luca Nate Mahler
  • 1,072
  • 2
  • 11
  • 24
5
votes
2 answers

how to convert any type of video to mp4?

how can i let users upload video to mp4 using php code? I've been trying to find a code that converts video to mp4 automatically no mater what type of video format it is this possible?
user3076412
  • 103
  • 1
  • 2
  • 9
1
2 3
10 11