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
12 views

FFMPEG: How to convert 24 bpp MP4 to 16 bpp AVI that has rgb565le format?

SUMMARY: I'm trying to figure out (get an example, I guess) how to use the scaler src_format/dst_format tags to convert to a specific 16 bpp RGB format for a target device. I'm dealing with some ...
2
votes
2answers
2k views

How to delete a single metadata item from an MP4 file

Context and question I recorded a video with my MotoG3 phone Android phone and the resulting video (perhaps due to shaking the phone) plays rotated, that is, vertically, which is not something that I ...
3
votes
2answers
2k views

Video converter with directory watcher

I have a windows 7 ultimate PC setup as my media server which uses media center to push video/music/tv/etc. to different extenders including dma2100, dma2200. I was trying to find a video conversion ...
0
votes
0answers
24 views

ffmpeg 4.1 not setting i-frame/keyframe on start of segment

I'm trying to build a few automation scripts to transcode videos using ffmpeg and I'm the keyframes end up in the wrong places when the format is set to HLS. This happens with different sources (one ...
0
votes
1answer
70 views

Can ffmpeg detect the best settings for a given input file?

I have a view Videos (flv,rm,avi) an I like to convert them to mp4. But I like to have the smallest File-Size with the "same visual quality" Is there a "automatic" that can convert the Videos and ...
1
vote
1answer
3k views

Transcode Multiple Video Files at a Time in VLC

I am using VLC to transcode video files, in the convert/save menu it lets you select multiple files, but when you click Convert, it just converts the first file in the list. Ideally I would be able to ...
0
votes
0answers
14 views

Is it possible to download a video presentation that was recorded using “BigBlueButton” [closed]

From what I see in the source page of the Recording Playback, it uses canvas and more particularly the whole video is just a list of slides and an ogg audio file. So there might also be some kind ...
42
votes
2answers
155k views

Handbrake settings to convert MKV to MP4 while retaining the original quality

I have a ton of MKV files I need to convert to MP4 and my chosen software is Handbrake. I'm stuck on which settings would be best for the conversion. I want to retain full quality. Do I just convert ...
-2
votes
0answers
56 views

When I combine two video using ffmpeg with C# then Duration is greater then addition of both video's duration? [closed]

I have two file one has video length is 00:02:18 and second videos duration is 00:01:25 then I combined both video using ffmpeg command in c# then after combine video's length should be 00:03:43 but ...
-1
votes
2answers
39 views

Why is the FPS in Handbrake's status bar so low relative to the FPS of the output video?

I'm using Handbrake to re-encode an MKV video with the goal of shaving a hundred or so megabytes off it to keep it under FAT32's 4.2GB file size limit. During encode, Handbrake's status bar shows a ...
0
votes
1answer
82 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 copy not recognized streams on conversion with FFmpeg?

I am trying to compress some Videos using FFmpeg, that contain multiple streams, some of them not recognized by FFmpeg: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'GX010686.MP4': Metadata: ...
0
votes
1answer
85 views

Most efficient way to re encode H.264 10-Bit to High profile or HEVC 10-Bit

For an odd reason my OLED TV can play HEVC 10-Bit files but only H.264 non-10-Bit. This output (video stream) from ffmpeg is played fine with HEVC 10-Bit: Stream #0:0: Video: hevc (Main 10), ...
0
votes
0answers
12 views

FFMPEG How to extract frames of a video at a certain time frame? [duplicate]

I am working on laying out video stills in a book. I am pretty new to using the command line and discovered ffmpeg just yesterday. Right now, I want to extract 8fps from a video between, for example, ...
0
votes
1answer
29 views

How to discard a part of a MP4 with ffmpeg

Is there a way to slice out a 5 minute portion of an MP4 file with ffmpeg? My attempt at running the following gives me the section I want to remove in hateley2.mp4. ffmpeg -ss 01:02:00.000 -i ...
1
vote
1answer
41 views

How to convert (broken) MPEG1 video to format that can be viewed by most people

I found this old (possibly broken) MPEG1 video that I'd like to share. MPC-HC manages to play it, but most players cannot render it. How can I fix and/or convert it to a format that most people can ...
0
votes
1answer
144 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 ...
-1
votes
0answers
19 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 ...
0
votes
1answer
4k views

Sound out of sync after merging multiple mp4 files with Avidemux

I am trying to join (merge) two or more .mp4 files together, without re-encoding. Here is what I did: Started Avidemux 2.5.5. With File->Open, selected Input1.mp4. I received this message - "H.264 ...
1
vote
1answer
161 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 - | ...
1
vote
2answers
182 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 ...
7
votes
2answers
3k views

Change rotation flag in MP4 video (without losing metadata)

I just want to change the rotation flag in a .mp4 video file. Many similar questions exist, most answers suggest using ffmpeg -i input.mp4 -map_metadata 0 -metadata:s:v rotate=90 -codec copy output....
2
votes
1answer
3k views

How to generate thumbnail image from HandbrakeCLI command during conversion?

I have ffmpeg command line that creates thumbnail image from a video. This works nicely as I can choose the timestamp and the size of the image that I want. -r 1 -t 1 -ss 2 -s cga "%2/%32.jpg" This ...
0
votes
2answers
1k views

How to add a png logo to mp4 video with ffmpeg which can be resize dynamically and cover the whole video

I want to show a logoon a video when the video starts. I already found this command : ffmpeg -i input.mp4 -framerate 30000/1001 \ -loop 1 -i test.png -filter_complex "[1:v] fade=out:st=30:d=1:alpha=1 ...
0
votes
0answers
20 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
31 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
34 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 ...
-3
votes
1answer
2k views

Converting images into video using FFMPEG using a Batch script [closed]

I'm using ffmpeg to convert a list of image into a video, I write a batch script to to the job, but it didn't works ffmpeg -f image2 -start_number n -i "IMG0%%.jpg" video.mpg -vcodec mpeg4 test.avi ...
0
votes
1answer
36 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 ...
35
votes
7answers
56k views

Use ffmpeg copy codec to combine *.ts files into a single mp4

I've got a bunch of ts segments described by a single index.m3u8 file: index.m3u8 segment1_0_av.ts segment2_0_av.ts segment3_0_av.ts segment4_0_av.ts segment5_0_av.ts I know they are ...
0
votes
1answer
54 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, ...
36
votes
2answers
77k views

Converting video from 1080p to 720p with smallest qualiti loss using ffmpeg

I stack with my high quality movie: 1080p with 60fps. The trouble is lags while playing. I tried to convert it to 720p with ffmpeg: ffmpeg -i MyMovie.mkv -r 60 -s hd720 MyMovie_720p.mkv But I ...
0
votes
1answer
40 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
171 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
0answers
26 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
188 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
1answer
511 views

Convert SWF to MP4 and maintain Captions

I have a large number of SWF files that must be converted into MP4 format. In addition to that I need to retain the captions that are currently embedded/accessible via a button click within the SWF ...
2
votes
1answer
256 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 ...
3
votes
1answer
9k views

ffmpeg warning: “Timestamps are unset in a packet” when converting H264 to mp4

I am getting the following warning message when executing ffmpeg: [mp4 @ 00000000025c00a0] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. ...
30
votes
5answers
50k views

What is the CORRECT way to fix keyframes in FFMPEG for DASH?

When conditioning a stream for DASH playback, random access points must be at the exact same source stream time in all streams. The usual way to do this is to force a fixed frame rate and fixed GOP ...
0
votes
1answer
327 views

How to convert ts files to avi in OSX

I have tried both mencoder and ffmpeg. With ffmpeg the sound was fine but there was no picture. With mencoder the video moved at half speed so the length was doubled. How can this be done right?
27
votes
4answers
19k views

Lossless extraction of streams from WebM

I would like to extract streams from WebM video files without converting them (re-compression), can somebody recommend any software that can allow this?
10
votes
2answers
37k views

What's the difference between FFmpeg's “-vcodec copy” and “-sameq”?

What is the difference between using -vcodec copy and -sameq with FFmpeg? Do they do the same thing?
1
vote
1answer
58 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
0answers
59 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....
19
votes
2answers
52k views

How to cut at exact frames using ffmpeg?

I'm trying to use ffmpeg to cut video files at precise times. The ffmpeg help shows an option -timecode_frame_start to specify the starting frame but I am unable to get this command to work. The ...
0
votes
1answer
298 views

How to save compressed (batch processed) video files to the original folders using handbrake?

I use handbrake to compress/encode video files and I'm quite happy with the results. It gives me smaller file size with no quality loss. The problem is that when I batch convert multiple files from ...
8
votes
6answers
29k views

Can VLC crop black borders on the fly?

Many recordings have black bars either on top and bottom or at the left and right side due to the various aspect ratios used, resulting in a 4:3 coded 16:9 movie showing black borders on all four ...
4
votes
3answers
3k views

FFmpeg - trim beginning AND end fixed amounts

Professional video editor here who isn't skilled at FFmpeg, so bear with me. I have a large batch of videos, all different lengths, and I would like to trim them by 10 seconds at the beginning AND 10 ...
1
vote
0answers
1k views

How can I increase volume for HD mp4 files with ffmpeg?

I am converting videos using FFmpeg on Linux. Videos are 1080p at first and I convert 1080p to h264 720p and 360p. Also if videos are 360p I`m converting them to h264 360p. The problem is when ...