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.

179 questions
4
votes
5 answers

How can I convert a movie into .MP4 from .MOV using a PHP upload script?

I am trying to upload a movie onto a site and then automatically convert it into .mp4 format from the .mov iPhone format. Is there a php conversion library or tool that would help me do this? Thanks.
willpots
  • 235
  • 3
  • 11
4
votes
1 answer

What are the implications of selecting a pixel format for video encoding?

I have a tool that converts videos of various formats to mp4 in baseline profile. It uses ffmpeg under the hood. The profile is explicitly specified as baseline. However pixel format is not specified. Once I stumbled upon a video in the avi…
Gherman
  • 6,768
  • 10
  • 48
  • 75
4
votes
2 answers

Ffmpeg converts video of double size of original video with second part without audio

I am converting some videos with below command in ffmpeg ffmpeg -y -i source.mp4 -c:a libfdk_aac -ac 2 -ab 128k -c:v libx264 -x264opts keyint=24:min-keyint=24:no-scenecut -crf 18 -b:v 4000k -maxrate 4000k -bufsize 4000k -vf "scale=-1:1080"…
mridul4c
  • 8,197
  • 3
  • 19
  • 28
4
votes
2 answers

how to name the output file same as input file but different extension after video conversion?

I am using this line to batch convert mp4 files to webm files. For all mp4 files i need the output files to be of same name but .webm extension. For example if i have video1.mp4 and video2.mp4 then after conversion i need two files i.e video1.webm…
kofhearts
  • 3,607
  • 8
  • 46
  • 79
4
votes
2 answers

How to convert first few seconds of a video to multiple output formats using ffmpeg

I want to convert first few seconds (say 5 seconds) of a video to multiple output formats using ffmpeg. when I Use this syntax to convert whole video, everything goes ok: (to be simple, i left all options to be default) ffmpeg -i input.flv…
Hadi
  • 43
  • 1
  • 3
3
votes
1 answer

Video Transcoding/Conversion using Java

I would like to convert a video from one format to another. Initially, I want to convert MP4 to AVI or any other more suitable video format. Came across the ffmpeg library. Is is the best solution? Came across Xubber and Jave for the same? Any…
MalTec
  • 1,350
  • 2
  • 14
  • 33
3
votes
1 answer

How can I use libx265 (H.265) in the ffmpeg-python package?

How can I use libx265 (H.265) in the ffmpeg-python package? I tried using: ( ffmpeg .input('0.mp4') .filter('fps', fps=25, round='up') .output('out.mkv', format='h265') .run() ) But it is throwing an error: format is not…
kup
  • 731
  • 5
  • 18
3
votes
1 answer

Adjusting watermark according to video resolution using ffmpeg

I have a question related to video conversion I am trying to add watermark to different high resolution videos using ffmpeg and its getting added pretty fine but the issue is same watermark gets bigger on low resolution videos which was looking fine…
Awais fiaz
  • 351
  • 1
  • 5
  • 20
3
votes
2 answers

How to use MeidaToolkit.NetCore to convert videos in Asp Core 2

I'm using MediaToolkit.NetCore which is in an early stage in order to convert videos into mp4 format but I have not been able to get it to work on ASP Core 2. With MeidaToolkit.NetCore I tried this: var inputFile = new MediaFile {Filename =…
AlTheSwede
  • 59
  • 6
3
votes
2 answers

ffmpeg output video size limits to 4GB

I have a video file of .mp4 format. I want to convert it into .mpeg. But when the output file size reaches 4GB, the conversion stops with a message something like "av_interleaved_write_frame() file too large" My file system is ext4. The commands I…
rajendra332
  • 41
  • 1
  • 4
3
votes
0 answers

Realtime video conversion using nodejs and ffmpeg

I'm trying to create very simple server-side video conversion using ffmpeg and nodejs. So far, I have 2 UDP servers, one for converting video input and second one for listening for converted video and passing it to websocket. I've created one UDP…
LadislavM
  • 414
  • 1
  • 6
  • 22
3
votes
2 answers

Video Processing Library on Windows Phone 8

Are there video processing library on Windows phone 8? I am trying to convert very short videos from one format to another. From what I searched, FFMPEG is not available for windows phone: Using FFmpeg in .net? Is there an SDK support for video…
ssk
  • 9,045
  • 26
  • 96
  • 169
3
votes
0 answers

How to extract elementary video from mp4 using ffmpeg programmatically?

I have started learning ffmpeg few weaks ago. At the moment I am able to transcode any video to mp4 using h264/AVC codec. The main scheme is something like that: -open input -demux -decode -encode -mux The actual code is below: #include…
epipav
  • 339
  • 2
  • 14
2
votes
2 answers

Error while transcoding video from one format to another

I am using xuggler API to transcode Video from one format to another. Following the example, provided by http://wiki.xuggle.com/MediaTool_Introduction & http://www.javacodegeeks.com/2011/02/xuggler-tutorial-transcoding-media.html public void…
MalTec
  • 1,350
  • 2
  • 14
  • 33
2
votes
2 answers

Change text in aepx file programmatically

I am trying to develop an API using PHP, Which will receive Text from user as Input. I need to change text inside the aepx file. On my research I found tag and contains text value and corresponding its hexadecimal value…
1
2
3
11 12