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.

6
votes
0answers
1k views

FFMPEG: Windows binaries with globbing (libavformat) support?

I am struggling to get ffmpeg to combine a bunch of images in to a video which have a format with a full 17 digit timestamp. 17 digits is well beyond what -i %d will support. So I want to use ...
4
votes
0answers
691 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 ...
3
votes
0answers
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 ...
3
votes
0answers
1k views

Using ffmpeg, can I burn in subtitles directly from an mkv subtitle track instead of a subtitle file?

I have an mkv with multiple subtitle streams. I know I can use mkvextract to extract one of those subtitle streams to a file, for example, sub.srt. I can then burn those subtitles into the new video ...
3
votes
0answers
3k views

Convert stream file (mux) to mp4 gstreamer

I used a program to capture my screen (called Kazam for linux). My computer crashed and I lost my screen capture which I cannot recreate. I found two files that seem to hold my video, a .mux and ....
3
votes
0answers
3k 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 ...
3
votes
0answers
682 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-...
3
votes
0answers
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 ...
2
votes
0answers
35 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 ...
2
votes
0answers
123 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/...
2
votes
0answers
89 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 ...
2
votes
0answers
299 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 ...
2
votes
0answers
1k 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 ...
2
votes
0answers
548 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 ...
2
votes
0answers
4k 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 ...
2
votes
0answers
7k 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 ...
2
votes
0answers
262 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 ...
2
votes
0answers
1k 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 ...
2
votes
0answers
1k 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 ...
2
votes
0answers
2k 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 ...
2
votes
0answers
155 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 ...
2
votes
0answers
3k 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=...
2
votes
0answers
450 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 ...
2
votes
0answers
5k views

Handbrake output directory to include Title folder

I am using handbrake to convert my DVD's to .MP4 and have set the default output path Tools -> Options -> Output Files In here there is Default Path: which I have pointing to my Movies folder ...
2
votes
0answers
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.
2
votes
0answers
569 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 "...
2
votes
0answers
1k 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 ...
2
votes
0answers
3k views

Convert compressed SWF to AVI (or MPEG etc) via FFmpeg

ffmpeg -i compressed.swf out.avi gives the error [swf @ 0x10180b000]Compressed SWF format not supported so I tried swfcombine -d compressed.swf -o decompressed.swf ffmpeg -i decompressed.swf ...
1
vote
0answers
63 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
0answers
62 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
0answers
810 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 ...
1
vote
0answers
425 views

Why a MP4 H.264 video looks fuzzy on Google Chrome but sharp on Firefox?

This is the file I am trying to open directly into Chrome (It happens on websites but it seems the problem is with the rendering engine) http://wikisend.com/download/914020/pipe-handbreak.mp4 It ...
1
vote
0answers
614 views

ffmpeg conversion to MP4 not working

I am sort of a newbie when it comes to FFMPEG (with php) but I have have been studying up on it for the last couple of weeks. when i use shell commands like: echo shell_exec('ffmpeg -i input.3gp ...
1
vote
0answers
2k views

Unable to parse option value “-1” as pixel format when transcoding mp4 to mp4 using ffmpeg

I was trying to debug an issue where my mp4 file fail to upload to youtube (with "Upload failed: Can't process file" error). The video plays normally in vlc player and is able to be loaded in Vegas ...
1
vote
0answers
72 views

Merging two videos while skipping common parts

A customer has a collection of tutorial videos, all of which have the following structure: preview (or recap) intro (always identical) repeated part from previous video (optional) new content outro ...
1
vote
0answers
248 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 ...
1
vote
0answers
830 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 ...
1
vote
0answers
698 views

Unable to convert .ts file with the mime type video/MP2T to .mp4

I want to play a bunch of .ts files. Most websites mention that users can usually play these files directly in vlc but I couldn't. There was no error. It is just that the file would not open at all. ...
1
vote
0answers
56 views

Adding YouTube-compatible chapter marks to video (using console tools)

I've created an mp4 video file that I want to upload to YouTube. The video gets correctly processed by YT. Because it's a long video, I'd like to add chapter marks to allow skipping ahead to specific ...
1
vote
0answers
1k 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 ...
1
vote
0answers
197 views

Windows Movie Maker file size

I'm using ShareX to make x.264/MP4 tutorial videos in which there is very little motion. Most of the time I'm just typing and highlighting text. I'm getting reasonable file sizes. I edit the videos ...
1
vote
0answers
414 views

Why When I transfer video from my canon camera to my computer the quality is bad?

I have a canon EOS 700d and I record HD 1080p video at 25fps on it but when I transfer it to my computer via usb cable the quality is terrible. I use Sony movie studio platinum to edit my videos. When ...
1
vote
0answers
486 views

FFmpeg dropping frames of second input file while using concat

I am currently trying to take a video file and split it into pieces that can then be encoded and pieced back together later. As a test I am trying to split a video into two pieces and then stitching ...
1
vote
0answers
429 views

ffmpeg truncates output files without return an explicit error

I am transcoding a file with a duration of 1:42:92 using an ffmpeg pipeline. The output file is truncated (its duration is 30 seconds) without any warning about the output file is shorter than the ...
1
vote
0answers
278 views

(FFMpeg) Split the video by size after conversion

I have a 5,000MB long video in .mp4 format. I would like to split the video into segments by the size. For example, I set the size to 1,024,000KB, or simply 1,024MB, because I want it to be accurate. ...
1
vote
0answers
90 views

Handbrake: Best IPhone playable Settings for a 2:1 Aspect Ratio Video

Original Video Settings (360 Panoramic video): H264 Bitrate: 15000 kbps FPS: 48 Resolution 3820 x 1910 My current settings in handbrake are: Apple TV3 Preset Width: 1920 Height: none Anamorphic: ...
1
vote
0answers
133 views

Why concating two videos with ffmpeg (5s and 33s) produce 4m34s video in slow motion

I am developing a service to concat a video (mine) with a another from a user (he/she upload it) and return to user. First I tried to use Concat demuxer because I don't want to re-encode videos if it ...
1
vote
0answers
810 views

Corrupt MP4 file: ffmpeg codec, global header, and dvvideo errors. Can it be repaired?

So, I have a number of corrupt MP4 files (some corrupt AVI files, too, but I believe that's a different problem). They seem to have gone corrupt when I had an external hard drive that they were on ...
1
vote
0answers
76 views

Getting same quality with “baseline profile”?

I have a couple of videos taken in H.264 using the high profile and I want to convert them into a baseline profile while keeping the same quality and size so, that they can be easily played on an ...
1
vote
0answers
1k views

How can I make a video “seekable” using ffmpeg when played in VLC player?

I have a .mkv video with the following properties: Input #0, matroska,webm, from 'DEMO.mkv': Metadata: ENCODER : Lavf56.4.101 Duration: 00:00:56.37, start: 2.333000, bitrate: 2032 kb/...