Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [video-conversion]

The video-conversion tag covers software & formats related to converting videos from one format or container to the other.

0
votes
0answers
35 views

How Handbrake calculates width in “1080p30” preset

I have a video: Resolution: 1920*1080 PAR: 65536/65536 Rotation: 90° In Fast 1080p30 preset, The default value for Anamorphic option is Automatic and Modules 2. What I'm curious about is the ...
0
votes
0answers
18 views

Need to add the same voice tag at specific offsets on a batch of videos

I have a batch of videos, all in MP4 with different lengths. I would like to insert a specific audio file exactly at the 30 second mark on ALL of the videos. For example. if the video file were 1 min ...
1
vote
2answers
70 views

How do I convert 10-bit H.265 videos to H.264 without quality loss?

My laptop can't handle 10bit H.265 / HEVC videos, so I'm looking to convert them to 10bit H.264. How do I do this using, say, ffmpeg, with the least quality loss? And how can I convert 10-bit H.265 to ...
0
votes
0answers
14 views

Adding letterboxing with Handbrake

My TV has a resolution of 1920 x 1080. I want to convert a movie that is 1920 x 800 px. If I leave it as is, then the TV stretches it out to 1920 x 1080, so the picture is stretched vertically. It ...
0
votes
0answers
22 views

convert mp4 file to y4m keeping audio stream

I'm trying to convert an mp4 file into y4m to use with Chrome as a webrtc fake device. (using --use-file-for-fake-video-capture=path/to/file.y4m as described in https://webrtc.org/testing/) I'm using ...
0
votes
1answer
28 views

How can I create a stream of my screen on a Windows computer for another device on my network?

I want to view what is seen on my Windows laptop screen on my tv, which is connected to a device running enigma 2, "screen mirroring". There are no software or plugins that will work on the device for ...
0
votes
1answer
31 views

What's the difference in FFMPEG between using -c:v libx264, -c:v copy and -vcodec copy?

I'm trying to record video and audio from an IP Camera streaming in H.264. I found these different options: -i "camera_url" -c:v libx264 -acodec copy "out.mp4" -i "camera_url" -c:v copy -acodec ...
0
votes
1answer
35 views

ffmpeg stills to GIF: workflow streamlining

I'm having a great time revisiting ffmpeg and tinkering about, but can anybody assist me with streamlining the 'still image/add cross-fade/save as gif' process, please? I'm trying to eradicate the ...
0
votes
0answers
28 views

ffmpeg - waveform.png: Invalid argument

I'm trying to use ffmpeg on Synology NAS with DSM 6.2 to create waveform of my mp4 files. ffmpeg -i aaa.mp4 -lavfi showwavespic=split_channels=1:s=1024x800 waveform.png [NULL @ 0x24271e0] Unable to ...
0
votes
0answers
20 views

How to convert raw pixel data stream to AVI video?

I have digitized video data from interlaced PAL TV-camera and I want to convert it into AVI video format. I have a long .bin file with each pixel color data (8-bit grey-scale) written in. I know exact ...
0
votes
1answer
51 views

Why does ffmpeg extracts a lot more frames than the actual?

I'm using ffmpeg to extract frames from a gif file. When I use python PIL it shows that the file has 135 frames. Even the properties window in the mac shoes the same number of frames. However, ffmpeg, ...
2
votes
1answer
112 views

FFMPEG: x265 video encode options

There's quite a bit of info about using ffmpeg (more) to encode with x265: HEVC. However, when I try to encode my video from x264 to x265 with scaling to reduce overall bit rate in order to save even ...
0
votes
0answers
14 views

Is it possible to merge two video signals ( Endoscopes which output to micro usb) and two audio signals L/R into one micro usb output?

Is it possible to merge two video signals ( Endoscopes with cables that have micro usbs) and two audio signals L/R into one micro usb output? I am trying to record two things at once into a single ...
1
vote
0answers
37 views

Create thumbnail images at some interval from a video without reading whole video [FFMPEG]

Short Problem: I want to take some screenshots image from a video url at some specific times but I don't want to read the whole video. Let's say I have a video stored in some url (like https://www....
1
vote
1answer
49 views

How can I batch process Camtasia Studio's .camrec files?

I have several Camtasia Studio's .camrec files. I would like to convert each of them to a .mp4 file, using the same conversion settings (audio/video encoding parameters, etc.). How can I achieve that ...
1
vote
2answers
44 views

How can I batch convert videos into 4:3? [closed]

I've got about 112 videos, each ~240MB. All of them are in 16:9 and I'd like to change them to 4:3. What's the most nonresource-intensive and convenient way I can accomplish this without losing any ...
1
vote
2answers
63 views

Extracting audio from mp4 has less bitrate

I'm using ffmpeg -i input.mp4 -c:a copy -vn -sn output.m4a to extract audio from an mp4 file. However, when I open the mp4 in Spek, it shows 255kbps AAC and the extracted file is only 200kbps. Also, ...
0
votes
0answers
27 views

FFMPEG: After inserting multiple subtitle files into a MKV, it only saves the language metadata of the first 4 files

I know this is a very specific question, I've spent the entire morning figuring out how to insert srt subtitles into a mkv file using FFMPEG And I sort of figured out how to do it and it works. I'm ...
0
votes
1answer
77 views

I need to make a .MP4 file with the XVID codec. and i simply can't find a way to do it

My client wants 2 files: .avi and .mp4 in 1080p with the XviD codec. The .avi was easy, I installed the XviD codec from the official website and exported the .avi using After Effects. The .mp4 on ...
0
votes
0answers
20 views

Using FFmpeg, convert multiple .mov files to .png files [duplicate]

Very new to linux so apologies in advance for this! I want to use ffmpeg to extract .png files from each .mov at a rate of 3 frames per second and create a new file for each set of extracted .png ...
0
votes
1answer
26 views

HDMI to S-Video converter and Linux produced green glitches when recording with mencoder

I have HDMI to S-Video converter: Mini Portable USB 2.0 Port HD 1 Way HDMI 1080P Video Capture Card For PC Laptop. So it has: HDMI input (connected to computer so I'm willing to record video output ...
0
votes
1answer
154 views

How to increase video's FPS and speed correctly with ffmpeg?

I have a 5 fps video with keyint 120 2.5 hours long that I want to speed up 6 times, making its fps=30 I did it with this command that I found somewhere on this website ffmpeg -i "...local_Record....
0
votes
1answer
36 views

Decode/encode 4:2:2 with a 4:2:0 decoder/encoder

Similar to Reinterpret AVC bitstream as HEVC. Some hardware codecs support 4:2:0 for 4k but not don't support 4:2:2 even for SD, with far less data. Can you trick a codec to encode 1920x1080 4:2:2 ...
1
vote
0answers
49 views

Reinterpret AVC bitstream as HEVC

I understand HEVC to be a superset of AVC. HEVC allows more 'tools' to extract more compression out of a video sequence. Is there a tool that converts an AVC stream to HEVC, completely ignoring the ...
1
vote
1answer
35 views

Efficently join audio tracks from avi to mp4

I have around 100 videos (episodes of a series) twice. [avi] 720p video resolution with my preferred audio tracks [mp4] 1080p but the wrong language Obviously, I ...
0
votes
1answer
158 views

HLS vs HTTP format codes in youtube-dl

I am using youtube-dl on windows 10 64 bit. I am new to this program. I checked the available formats for a video from dailymotion like this: youtube-dl -F "http://www.dailymotion.com/video/". In the ...
2
votes
1answer
150 views

Getting an “ignoring title (too short)” error when using Handbrake to convert multiple files

I am trying to use Handbrake to convert multiple videos files to mp4. I have turned on "Automatic File Naming", set the default path and changed thhe file format to {source}. Adding an entire folder ...
0
votes
1answer
68 views

Why is FFmpeg video splitting of 595-600 seconds slow compared to 0-5 seconds? [duplicate]

I have to split a 4K 10 minutes video into 120 small video files, each containing 5 seconds of duration. I'm using ffmpeg for splitting the video. The splitting take a very very long time and the ...
1
vote
1answer
139 views

Converting bgra stream to mp4

I am trying to record video of iOS simulator using the following command; ./fbsimctl stream --bgra --fps 12 - | ffmpeg -f rawvideo -pix_fmt bgra -s 414x736 -framerate 12 -i - -f h264 -r 12 - | ...
0
votes
0answers
292 views

FFMPEG - convert WMV to MP4 Fails

I tried some other recommended conversion commands but none of them worked. Here's the basic command: ffmpeg -i wmvfile.wmv somefile6.mp4 Output: ffmpeg version N-91548-g481741ece0 Copyright (c) ...
0
votes
1answer
19 views

How to open and edit .wlmp video

I have made a video using Window Movie Maker. I have formatted my computer and lost the program installation files. Now I found that Microsoft stopped supporting movie maker and it is no longer ...
0
votes
0answers
68 views

VLC record button saves in ASF! How to get back to MP4?

VLC record button saves in ASF! How to get back to MP4? Using v. 3.x latest offering. ASF is horrible :/
0
votes
0answers
40 views

Convert video file using format from another file

To eliminate XY problem, here is what's my situation. I have source YouTube videos in MP4 container. I create voiceovers for them using Sony Vegas on Windows machine and then export them as WAV file, ...
0
votes
0answers
161 views

Is it possible to pipe and filter the HandbrakeCli output or silence it in Windows

I have a video archive of personal memories organized into lots of folders. The video files have multiple filetypes and the quality to size ratio is terrible (some are even 20mb/s for a 720p video. I ...
0
votes
1answer
164 views

height not divisible by 2 (176x99)

I am trying to convert a .avi file into a .mp4 one using FFMPEG using the libx264 codec. This is the command I am running: ffmpeg -i filename.avi -c:v libx264 -crf 19 -strict experimental ...
0
votes
0answers
51 views

ffmpeg create gif for multiple videos in a folder

I have hundreds of videos in a folder /home/videos/ and I would like to create a gif for each video. The gif should be comprised of 10 different screenshots across the videos length. So for example ...
2
votes
1answer
134 views

How can I convert an mp4 file to a m2v file using FFMPEG that is compatible with Windows Media Player?

I tried doing this but Windows says the file isn't playable. Playing it in VLC does work. ffmpeg -i in.mp4 -f mpeg -vcodec mpeg2video out.m2v
0
votes
1answer
195 views

Is ffmpeg's ssim not doing what it should be doing?

Just out of curiosity, I checked two versions of a video file that were NOT re-encoded, just re-muxed. I was expecting ssim scores to be 1.0. Instead, I'm seeing scores of <1.0. How to repeat: ...
0
votes
2answers
184 views

Explicit timebase with ffmpeg and variable framerates in mp4s

I need to concatenate a number of video files with different framerates to play them with OMXPlayer on a Raspberry PI (the concatenation is also done on the PI). Both the originals and the ...
0
votes
1answer
126 views

FFmpeg ProRes interlacing artifacts horrible compared to Apple Compressor export

I've been importing my family videos recently. I'd like to archive these videos using ProRes 422. Compressor works. The videos pop out with hardly ANY visual difference. FFmpeg, however produces ...
0
votes
0answers
35 views

FFMPEG outputting a timelapse video without any frames

I'm new to FFMPEG but have created three timelapses on it (I forgot the commands I used to make them though). I have ~400 images with consecutive numbering from IMG_1744_EDITED.JPG. I edited the RAW ...
2
votes
1answer
302 views

FFMpeg Video Overlay with Delayed Audio and Video in Background Video

I am attempting to create the appearance of a picture in a picture video using multiple video files. I've created a .mp4 file using FFMpeg. The video displays correctly in Windows "Movies & TV" ...
2
votes
0answers
33 views

Is there a way to programmatically read the contents of a subtitle text stream embedded in an mkv file without extracting the track altogether?

Extracting a subtitle track from an mkv would take a bit of a long time, well over a few minutes in the case of huge video filesizes (>10GB), and I think analyzing the text contents of a subtitle ...
0
votes
0answers
49 views

Media Player Classic (MPC-BE) showing reds different in transcoded video

With Media Player Classic (MPC-BE) I'm getting reds rendered differently after transcoding a video. These crops show the first frame using. If you look closely the last picture is more orange-y ...
0
votes
0answers
74 views

What is the difference between these video codecs?

I'm familiar with general digital video formats, but I'm trying to record my first Patreon videos - which are long (59min) and I'm finding myself completely baffled by format filesizes. I could really ...
0
votes
2answers
176 views

Why do MPG files take up so much space? Is it an outdated format?

I tried googling this but I didn't actually find any conclusive evidence to sustain this so I'm going to present my case. A couple of years ago I took the time to convert all our family video tapes ...
0
votes
2answers
93 views

ffmpeg used to extract audio track, video track and then merge them, produces smaller mp4

Here is what I did with "original.mp4" (00:15:22 duration, ~80MB filesize): Extracted video stream from mp4 ffmpeg -i original.mp4 -c copy -an vid_only.mp4 Extracted audio stream from mp4 ffmpeg -i ...
0
votes
0answers
48 views

Can ffmpeg be used to reduce encoded file size back to original after OBS+VLC workflow?

Wondering if ffmpeg could help me reduce the size of the resulting file called "OBS_VLC_replay.mp4" which is produced as a result of using VLC to playback a video at x1.3 speed (with audio pitch ...
1
vote
1answer
421 views

How to efficiently create a best-palette gif from a video portion straight from the web

I've been using for some time this couple of commands to convert a video segment to an animated gif, having ffmpeg calculate the best palette for it: ffmpeg -ss $START -i $IN_FILE -t $LENGTH -vf "fps=...
0
votes
1answer
69 views

How can I add watermark and set the output bitrate and video size, also doing bulk using ffmpeg?

I was able to add watermark to multiple video using for %%a in ("*.ts") do ffmpeg -i "%%a" -i logoCopy.png -filter_complex "overlay=main_w-overlay_w-40:40" "Logo\%%~na.mp4" And now I'm trying to ...