Questions tagged [video-conversion]

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

333 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4 votes
0 answers
6k views

How do I continuously stream multiple .mp4 files with ffmpeg to an rtmp server?

I am an Software Engineering trainee and I need to make a video stream that continuously streams several videos on repeat. I have made an rtmp server using nginx and their rtmp module and as ...
JDMB 's user avatar
  • 41
4 votes
0 answers
7k views

How to remap channels of AC3 stream within .mkv or .mp4? (ffmpeg, 3f2m/lfe - > 3f2r/lfe)

So this is my problem, I've backed up quite a number of DVDs and a few Blu-Ray discs to .mkv files for archival purposes, and for my plex server. I used: x264 for video ac3 for audio (for ...
Vlad's user avatar
  • 41
4 votes
0 answers
2k 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: ...
LukeLR's user avatar
  • 1,523
4 votes
1 answer
2k views

Why does avconv change the fps when deinterlacing?

I have a .MTS 1080i of 25fps (mediainfo) that I deinterlaced with avconv -i input.MTS -vf yadif -c:a copy output.mp4. As the wiki says, the default value for yadif is 0 which "outputs one frame for ...
Wantoast's user avatar
4 votes
0 answers
4k views

FFMPEG fade between images

I need to do cross fade transition between two images and followed this link which works perfect for two images. ffmpeg -loop 1 -i input0.png -loop 1 -i input1.png -filter_complex "[1:v][0:v]blend=...
2vision2's user avatar
  • 203
4 votes
0 answers
715 views

Accurate and reliable movie editing with avconv

I'm trying to perform movie editing in an automated way with avconv. It is made in two steps: extract some parts of an input movie: concatenate the parts to form an output movie: I tried some ...
erdavila's user avatar
  • 163
4 votes
1 answer
693 views

How can I backup a movie DVD with a good quality, and keep the menu structure?

I'm backing up my DVD movie collection in a portable HDD, both to have a better access to them, and preserve it over time (I've experienced some problems when reading some of them, luckily after ...
Sekhemty's user avatar
  • 9,396
3 votes
0 answers
370 views

ffmpeg remove parts without motion and cut the video

I am an Artist and I do very long drawing timelapses. I want to collapse my timelapses and cut everywhere where I don't move. I want to shrink a 5 hour video to a few minutes video without speeding up ...
Ziva lamif's user avatar
3 votes
0 answers
4k 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 ...
user2987504's user avatar
3 votes
0 answers
4k views

ffmpeg stream video file to fake webcam

I'm trying to set up ffmpeg to forward video stream from file to dummy video device created by v4l2loopback My command looks like following: ffmpeg -re -i video.mp4 -c:v rawvideo -pix_fmt yuv420p -f ...
Igor Piddubnyi's user avatar
3 votes
0 answers
819 views

Converting video int Webm using ffmpeg, file size

I have found this article from google describing how to convert video into webm https://sites.google.com/a/webmproject.org/wiki/ffmpeg/vp9-encoding-guide I used following command to convert video ...
bkdaaqra's user avatar
  • 131
3 votes
0 answers
1k views

FFMPEG: Convert while file is being uploaded (an incomplete file)

I am designing a media upload function using HTML5. My design looks like this at the moment: User selects a file for upload FileApi (JS) reads this file chunk by chunk and uploads it to the server ...
Luke Madhanga's user avatar
3 votes
0 answers
13k views

FFMPEG Lossless Video Output Options

I am looking for lossless video output options from FFMPEG that can be viewed without any special codecs or special players such as VLC. I want a basic use to be able to open up the video with a ...
Nicholas Ng's user avatar
3 votes
0 answers
557 views

FFmpeg cuts off ~50ms when I extract+convert audio from video

I want to extract the audio stream from many .MOV files with ffmpeg. The goal is to have output files with small file size and perfectly equal sound to the input file. Currently I'm using this ...
Marco's user avatar
  • 131
3 votes
0 answers
4k views

stream byte arrays to a video using ffmpeg

This is what I am trying to do: I receive jpegs from an IP camera. If motion is detected I want to upload the jpeg still shot to my server. To save on bandwidth I save each jpeg to a file on my ...
Andrew Simpson's user avatar
3 votes
0 answers
398 views

Keeping Text Sharp whilst shrinking video size - Handbrake

I've recorded a bunch of videos using a high def webcam, and with a website overlay (think of a sports broadcast, with the score on the bottom of the screen). These videos are 720p avi's, but have a ...
Richard's user avatar
  • 472
3 votes
0 answers
4k views

Fixing ffmpeg latency accrued over time

I have ffmpeg/ffserver running in the following setup: 10.1.2.2 captures from video capture cards (16 channels) and streams them to an ffserver as mpeg1video 10.1.1.1/10.1.2.1 (two NICs) hosts the ...
CoryG's user avatar
  • 314
3 votes
0 answers
760 views

Ffmpeg sync error, first image showing really fast

I want to converting my images with mp3 to videos... but first slide is showing up really fast. I want to each slide duration 5-7 seconds or so RAW material MP3 Files My list Images FFmpeg git-...
radiaku's user avatar
  • 91
3 votes
0 answers
2k views

Avconv increases file size

I am using the version of avconv in Ubuntu 12.04 to archive videos. I would preferably use some kind of lossless video compression (e.g., huffyuv or FFV1), but using the original video stream (copy ...
Daniel H's user avatar
  • 1,624
2 votes
0 answers
309 views

Facing delay in audio while using ffmpeg with h264_nvenc encoder

I am trying to capture my windows10 desktop with desktop duplication api and on-gpu D3D11 textures, in the form of ffmpeg D3D11VA frames @60 fps. Required command is given here. On top of that I am ...
Aniket Bose's user avatar
2 votes
1 answer
298 views

how to remove SVT AV1 information from FFMpeg output

I can't find how to remove SVT AV1 information, like the ones I report below, from the FFMpeg output. Command : .\ffmpeg.exe -loglevel error -hide_banner -stats -hwaccel auto -i .\in.mp4 -c:V ...
Ma.S.Caos.-'s user avatar
2 votes
1 answer
191 views

Different brightness merging multiple BMP files into MP4 using ffmpeg

I want to edit a small video frame/image by image without losing quality (or without losing much of it). I have used ffmpeg to split into images using the following line: ffmpeg -i test.mp4 $filename%%...
jamana's user avatar
  • 45
2 votes
1 answer
2k views

Only convert codecs(preserve audio and subtitles)

I have a video file h265 mkv which has dual audio and multiple subtitles. I want to convert it to h264 since it doesn't require further transcoding on my jellyfin server. But I haven't been able to ...
fx_32's user avatar
  • 21
2 votes
0 answers
2k views

ffmpeg: How to generate alpha channel MOV from mp4 matte/webm

I have two mp4 files, one file is alpha channel(matte key) and the other is original video, I convert them to .webm like ffmpeg', '-i', './files/video.mp4', '-i', './files/video_matte_key.mp4', ...
John's user avatar
  • 121
2 votes
0 answers
12k views

What is the difference between Lavf58.29.100 and Lavc58.134.100 eac3 encoding using H265 in ffmpeg?

What is the difference between Lavf58.29.100 and Lavc58.134.100 eac3 encoding using H265 in ffmpeg? I created a mkv file using ffmpeg and handbrake software but both using different encoding, ...
kup's user avatar
  • 121
2 votes
0 answers
1k views

FFMPEG warning pkt->duration = 0

I'm facing a strange WARNING message in the logs of FFMPEG when trying to capture an HLS stream. This is the log with some information changed to avoid problems with my boss: [info] Input #0, hls, ...
Vinícius Gajo's user avatar
2 votes
2 answers
3k views

ffmpeg reducing frame rate doesn't decrease file size

My goal is to reduce the overall file size of a video without quality loss. The source video is at 30fps with keyframes every 90 frames. For our purposes we only need the video to be at 3fps and ...
Gcoop's user avatar
  • 121
2 votes
0 answers
266 views

How can I (re-)import the exported queue into Handbrake?

I had a queue in Handbrake, it was pointing at files on my D-drive in the NEW Movies folder. Now I want to make it point at video files on my E-drive, in the Old Videos folder. I exported the queue ...
GngrWtch's user avatar
  • 111
2 votes
0 answers
935 views

How to concatenate 360° videos with FFmpeg?

I have some video mp4 files that I need to concatenate. I'm working with FFmpeg (self-built version N-93863-g58d167b) under Ubuntu Linux 18.04. I found a lot of information about this, but nothing ...
Andyc's user avatar
  • 121
2 votes
0 answers
2k views

Lossless convertion of a set of png images into an H.264 mp4 video with FFmpeg for future editing

I have an animation rendered as a series of png images, and I want to convert it losslessly into an H.264 mp4 video. The images are in the RGB color space. I tried these options: ffmpeg -framerate ...
and his dog's user avatar
2 votes
0 answers
357 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 ...
IdontLikeSand's user avatar
2 votes
0 answers
255 views

BASH FFMPEG SUB HARDCODING;)

I've been working with FFMPEG to hardcode subs. $for i in *.mkv;do ffmpeg -i "$i" -map 1 -filter_complex subtitles=video.ssa -vcodec libx264 -acodec aac -copy_unknown -map_metadata:s:v 0:g "../../A/...
croakouttatune's user avatar
2 votes
0 answers
273 views

Adapting video for LaTeX with ffmpeg does not produce the expected result

I have been trying for weeks to embed some videos (created with python-Matplotlib) in my Latex/Beamer presentation according to examples like this one, which use a package called media9. Document ...
TomCho's user avatar
  • 131
2 votes
0 answers
1k views

Using a RCA-to-USB capture device on Linux

I've been handed down a Lexus UR-19 capture/converter device: It has RCA (and S-Video) inputs, connected to some dongle with a USB A male output. I'm guessing it does some sort of simplistic A/D ...
einpoklum's user avatar
  • 9,423
2 votes
0 answers
4k views

How to get rid of stuck ffmpeg "pts has no value" error

I am trying to convert an AVC file from Sony Vegas into an MP4 file for use in DaVinci Resolve (which does not support .avc). Because I don't want to spend hours re-encoding the video I wanted to use ...
adamantium's user avatar
2 votes
0 answers
2k views

ffmpeg: convert mjpeg fifo into mp4 stream - on the fly- to render in chromium

I have a mjpeg stream in a fifo (comes from gphoto2 --capture-movie) and I want to play that stream in chromium. To capture the mjpeg stream I use: gphoto2 --capture-movie --stdout> fifo.mjpg ...
pixelbash's user avatar
2 votes
1 answer
5k 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 ...
Matthew's user avatar
  • 228
2 votes
0 answers
3k views

How do I use FFmpeg to convert .264 CCTV footage files to mp4 with h.264 codec?

I get the following error when I try to convert my test.264 file to mp4 using FFmpeg: Log C:\ffmpeg\bin>ffplay -f h264 test.264 ffplay version N-29947-gcd244fa Copyright <c> 2003-2016 the ...
Ishan jain's user avatar
2 votes
0 answers
6k views

using ffmpeg to repair corrupted MP4 video files from Xiaomi Yi

did not know wether to create a new thread or to post in an existing one. Decided for the first option, as my case seems to be a little different as I do not have one video corrupted but plenty of ...
sp00n's user avatar
  • 31
2 votes
0 answers
2k views

F4V to MP4 via FFMPEG (Bitrate viewer)

I have a several F4V that I've captured using Flash media Live Encoder and I need to convert them to MP4s. As I understand F4V are fairly identical to the MP4 format so we used "copy" for the video ...
Abel's user avatar
  • 21
2 votes
0 answers
3k views

Resume transcoding a video with ffmpeg

I have a node server that uses child-process to use ffmpeg to convert a video to mp4. However if the server crashes while transcoding, then I'd like to resume transcoding the file (similar to -C with ...
Jonathan.'s user avatar
  • 2,614
2 votes
1 answer
3k views

FFmpeg unable to find a suitable output format when run from script

I'm trying to write bash script, which I can use to start encode of my video for web player, and also log to file when it started / finished. It looks like this: #!/bin/bash >/var/www/stat/encode....
Cernokneznik's user avatar
2 votes
0 answers
576 views

No video is written in for some part of video as the segmentation from FFmpeg

I am segmenting a 20 minutes long video to hundreds of small clips . The command is like ffmpeg\\ffmpeg -i nx_1.avi -ss 399.37 -t 1 ka1_2.avi The ffmpeg is in a subfolder. It works very well for ...
Russj's user avatar
  • 121
2 votes
0 answers
310 views

FFmpeg audio disappears in the middle of the video

I've been trying to convert a sequence of PNG files to a video with some sound (mp3 or wav). It pretty much works with different codecs and quality settings for both video and audio.But the audio ...
Denis's user avatar
  • 21
2 votes
0 answers
7k views

How to convert/transmux ismv to mp4 or wmv?

How can I convert/transmux Smooth Streaming ismv files to mp4 or wmv? I've often read about mp4split but it doesn't seem to be freely available any more.
TheLostOne's user avatar
2 votes
0 answers
669 views

Prepend AAC file to MP4 causing audio to get out of sync

I have an application that handles the normalizing and combining of audio and video files from many different sources. All incoming audio is normalized as follows: ffmpeg.exe -i "...
Bill Bonar's user avatar
2 votes
1 answer
1k views

How to recover broken MJPEG AVI file after a camera crash

I was recording a video when my KODAK EASYSHARE M531 Digital Camera fell to the ground and turned off. When i turned it on nothing happened to the camera but the video file is somehow broken. ...
Jam K's user avatar
  • 21
2 votes
0 answers
9k views

Converting DVDs to Precisely Sized XviDs like “The Scene”

I am hoping to finally watch the Star Wars movies (yes, yes, I know) and intend to watch them all in a row as a marathon. I would prefer not to have to constantly get up and change discs, so I thought ...
Synetech's user avatar
  • 68.8k
2 votes
1 answer
2k views

Using Handbrake with Dropfolders to add subtitle automatically

I am using Handbrake GUI version and Dropfolders to execute Handbrake. I was able convert video files successfully without any parameter. It uses default preset I downloaded from lifehacker.com. Now I ...
Forethinker's user avatar
2 votes
1 answer
9k views

How to simply remove subtitles and language streams from TS videos with Handbrake?

I use Handbrake to transcode some of my MPEG-2 Transport Stream videos, but I'm not pleased with the resulting quality, even if set to high bitrates. So my idea is to simply remove unwanted audio ...
Sebastian P.R. Gingter's user avatar

1
2 3 4 5
7