Stack Exchange Network

Stack Exchange network consists of 175 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 [transcoding]

The process of converting a media file from one format to another or changing the compression settings used.

9
votes
3answers
5k views

OGV Format plays properly on my computer but transcoding drops (duplicate?) frames

I've made a set of screencasts using recordmydesktop on ubuntu 12.10. The output is an ogv file. When I watch the ogv file using the default movie player (totem) it looks fine - the audio and video ...
7
votes
1answer
9k views

Video converted by FFMPEG has a different duration, why?

I convert videos using FFMPEG. My goal is to convert them to the MP4 container format (MPEG-4 Part 14) with AAC-encoded audio stream and MPEG-4 part 10-encoded video stream. I use the following line ...
7
votes
1answer
16k views

What CRF or settings I should choose for h265 in order to achieve a similiar quality of h264?

I'm doing some experiments with HEVC x265. I have a raw footage and the quality of details of h264 with same CRF setting looks better than h265. Shouldn't be the opposite? Maybe my setup isn't the ...
7
votes
2answers
10k views

Combine video and audio TS segments coming from HLS stream

Apple HLS streams MPEG-2 TS files containing video and audio data in packetized elementary stream format. These segments (.ts files) can be joined in order to build final video. Recent version of HLS ...
6
votes
2answers
16k views

FFMpeg Encoding and Core Usage

We have developed an application to transcode source .mov files into .ogg, .mp4 and .webm output. It is currently running on AWS EC2 instance g2.8xlarge. It is working (yay!). My question: Even ...
6
votes
1answer
14k views

How to force ffmpeg to insert keyframe at first frame when downsampling a framerate of a video with x264 vcodec

I have a mpeg4 video at 25fps. This video contains just one static frame. I'm trying to downsample the frame rate to 1fps and convert the video to x246 (mp4). I ran the following ffmpeg command: ...
6
votes
2answers
6k views

what graphics card features effect NVIDIA NVENC hardware encoding speed?

I have a web project I am working on that requires transcoding of multiple short video clips (6-10 seconds) uploaded by users into a web friendly H.264 format on my linux server. I have been able to ...
5
votes
2answers
530 views

Web Videos via Watch Folders Transcode

What I am looking to do is fairly simple, however seems complicated in theory. What I need to do is be able to have a folder where all video files placed in the folder, are transcoded to all ...
5
votes
2answers
2k views

How many NVIDIA NVENC engines a particular GPU have?

There is a NVIDIA VIDEO CODEC SDK APPLICATION NOTE - ENCODER in which we can read the following: While Kepler and first generation Maxwell GPUs had one NVENC engine, certain variants of the ...
5
votes
2answers
644 views

Does mjpeg handle interlaced video correctly?

I'm using mencoder/libav to capture an interlaced source to mjpeg. Now, my hunch is that mjpeg is a codec that handles only full-frames, progressive video - because I assume it compresses single (...
5
votes
1answer
2k views

How to get closed captions to appear on a live stream

I want to be able to stream live TV but also include the closed captions. My workflow is to use a Blackmagic Designs Decklink card (video source is SDI) and use VLC to capture and transcode the video,...
4
votes
1answer
8k views

Can I get Handbrake to apply additional filters such as brightness/contrast?

I have some scripts which pass video into Handbrake to transcode it for the web. What's the easiest way to apply additional filters for things like brightness/contrast? (ie. things not covered by the ...
4
votes
2answers
2k views

Convert .WMV using FFmpeg

I'd like to use FFmpeg on the Mac Terminal command line to convert a .WMV file. I'm familiar with the syntax: ffmpeg -i /path/OriginalMovieFile.wmv /path/NewMovieFile.??? However, my recent attempt ...
4
votes
0answers
404 views

GStreamer mpegtsmux produces empty output file

I'm trying to construct a GStreamer pipeline to transcode MPEG2 video and MPEG1 audio in a MPEGTS container to H.264 and AAC and output to a filesink. The problem is: the output file is empty. If I ...
3
votes
3answers
17k views

How do I specify baseline H264 profile using FFmbc?

I am using FFmbc (a FFmpeg derivative) to transcode some video files to H264 (in a mov wrapper). I want to specify baseline profile (to reduce CPU usage) but can't figure out how. There doesn't seem ...
3
votes
2answers
878 views

restart ffmpeg job from failure

Is there a common technique or some sort of strategy for restarting a failed transcoding job from where it had left off when it crashed (or stopped for whatever reason)? For example, if I have a 2 ...
3
votes
3answers
184 views

How do I know if a video file is encoded perfectly or not?

I have to encode (transcode) many video files (usually from AVI to MP4). But to see if the encoded files are correct or not I will play all the files manually, which is rather tedious. Is there any ...
3
votes
1answer
163 views

Converting WMV to MP4

I just joined this community and hope my question is acceptable since it is quite "noob" like. I have a .wmv video file that is 1280x720 and causes windows media player to abort after excessive ...
3
votes
1answer
451 views

FFMPEG standard transcoding settings

I am working on a project that provides video streaming to the users over the internet on web-browsers as well as mobile devices. I am using following sample FFMPEG command to transcode the video: ...
3
votes
2answers
249 views

How should I interpret the results from Netflix VMAF

I've been encoding some clips and then analyzing them with the VMAF tool from Netflix, but I don't know how to understand the results. This is the overall mean section of one of my tests. ...
3
votes
1answer
134 views

How do I prevent Quality loss in the beginning of a video?

My company transcodes videos sent in by users (recorder by our own screenrecording software) I use FFMpeg to do the work using this command: /ffmpeg/ffmpeg -i in.mov -vcodec libx264 -fpre /ffmpeg/...
3
votes
1answer
246 views

Netflix encoding system - MAPLE

I understand that Netflix does all their encoding in AWS using EC2. They have a custom encoding software called MAPLE that chunks all source video into 2-3 second chunks and encodes in multiple codec ...
3
votes
1answer
2k views

Troubleshooting XDCAM import into Premirere Pro CC 2014

I am in the middle of editing a TV spot we create bi-weekly and therefore on a tight timeline. I am using Premiere Pro CC (2014) just upadted last week on Win8.1, 4790k, 16GB, OS SSD 256GB, Project ...
2
votes
3answers
297 views

Video Encoding - Wasting Space

I am facing a common issue that I cannot find a term to describe: I have a few low quality VHS rips that were encoded with a certain Apple ProRes codec (irrelevant in the context of this particular ...
2
votes
2answers
80 views

How can I efficiently convert MOV / MPEG-4 files for long term storage?

I have a Canon 6D DSLR that I am shooting video on. The camera is set to capture 1280x720 60fps IPB MOV / MPEG-4 files. The video files are in the range of 250MB per minute of recording. I have ...
2
votes
2answers
1k views

How is possible for YouTube and Vimeo transcode so fast?

For the bit I read YouTube and Vimeo rely on servers powered by some modified libs i guess like libavcodec and tools like ffmpeg in a serious custom build. Let's assume a transcode to h264 but the ...
2
votes
1answer
5k views

ffmpeg transcoding H264 interlaced and keep interlacing via H264_NVENC codec

I have the following interlaced H264 file: Stream #0:0[0x335]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, bt470bg, top first), 720x576 [SAR 16:11 DAR 20:11], 25 fps, 50 tbr, 90k ...
2
votes
3answers
220 views

Is there a video container which is able to handle segments of different video quality (or even size)?

Let's assume I have a video of 10 minutes length. And I want to reduce its size by having some parts in high bitrate, while other less important parts can be low bitrate. For this I'd cut the original ...
2
votes
4answers
4k views

What is the most lossless way to rip a laserdisc to a Mac?

I want to rip a LD to my Mac as a digital video file. I will create a DVD from this file eventually, but I'm primarily interested in playing it on my laptop. What video output from the Laserdisc ...
2
votes
1answer
2k views

Compress or convert .mov to lighter format

My camera records videos in .mov format, what can I use to edit out the audio and lower it's size in a Windows environment?
2
votes
1answer
1k views

ffmpeg transpose=clock rotates 180 degrees instead 90

I have 2 similar videos created on the same mobile. The first one can be downloaded here. If I'm using the following command the result is correctly rotated by 90 degrees: ffmpeg -i 20180114_193135....
2
votes
1answer
125 views

Recover mangled VirtualBox-generated WebM video

When being called by the Indian "Microsoft" department I let them join in on my VirtualBox virtual machine, and started a video capture to catch any details on them. Doing so, VirtualBox creates ....
2
votes
1answer
1k views

ffmpeg stream options for mp3, cover art of mp4

I have potentially millions of HLS streaming videos to create from cover art and mp3s. Obviously, I'd like to keep the resulting bandwidth to a minimum. I tried various ffmpeg flags specifically ...
2
votes
2answers
178 views

How to convert 25p to ntsc dvd?

I need to build a ntsc dvd from a 25p movie. I've read about different solutions: Using twixtor to get ntsc framerate Using DGPulldown to flag it up to 29.97fps What is the most professional way ...
2
votes
1answer
4k views

Improving frame/image quality on Handbrake?

I created a .cdr file from a DVD and converted it to an .mp4 with Handbrake. My only issue is Handbrake's default settings create a somewhat grainy picture. The file size went from 1.24Gb to ~100Mb so ...
2
votes
1answer
101 views

What's the right setup for recording programming talks?

I go to lots of monthly developer meetings, and there are many requests that the talks be recorded. I have no idea what kind of camera or setup is right for this. Recordings are always indoors, ...
2
votes
2answers
4k views

Why when you specify a video bitrate with ffmpeg does the resulting files displayed bit rate differ?

I'm fairly new to transcoding.I've been generating some mp4's from mxf files. I've been playing around with some settings on ffmpeg and been specifying various bitrate's for audio and video with the -...
2
votes
1answer
287 views

Transcoding AVCHD To Something That Isn't Choppy In Adobe Premiere Pro CS6

I'm recording with a Sony camera that records with the AVCHD codec. Unfortunately, as others have also observed, this format is choppy when trying to edit in Adobe Premiere Pro CS6. What is the best ...
2
votes
1answer
923 views

using -force_key_frames in ffmpeg with libx265

I'm trying encode a video stream using HEVC with ffmpeg and create a MPEG-TS file. I need to be able to insert IDR frames to certain locations in the stream. I came across the flag -force_key_frames ...
2
votes
1answer
333 views

Is it possible to raise H.264's QP without fully re-encoding the video?

Is it possible to lower the H.264 video quality and bitrate without fully decoding and encoding it? Are there H.264-specific algoritmhs that can create a video with higher QP based on encoded video ...
2
votes
1answer
107 views

What is a good lossy format for storing DV

I have 60Gb of DV footage that I need to store, but 60Gb is WAY too big. I need to transcode it to a lossy format, but I need the resulting video to be robust such that it can be easily edited with a ...
2
votes
1answer
11k views

how to get vdpau hardware acceleration using ffmpeg?

I am developing a multimedia player using ffmpeg. I am trying hard to get hardware acceleration through ffmpeg using vdpau hardware accelerator. I didn't get any success so far. Below I have mentioned ...
2
votes
0answers
3k views

Fast encoding with ffmpeg

I know about presets but faster presets lose the video quality. Are there any hardware requirements I need to consider? Or are there any settings that I need to tweak? And lastly where do I place the -...
2
votes
1answer
776 views

ffmpeg encoded videos are not playing on mobile browser

I have set up a server to upload and play videos. I used django/python as the scripting language, and nginx and gunicorn as the webserver. I am using videojs as the video player. For h264 mp4 I tried ...
1
vote
2answers
93 views

cross platform software to convert video to image sequence

I'm looking for a piece of software I'm even sure it exists. Here's what I would like this software to do: be free (ideally open source, but free and closed source is also fine) be cross platform (at ...
1
vote
1answer
246 views

Questions on workflow: 12G-SDI to 500Mbps to RTSP stream

(Background: I'm relatively familiar with using ffmpeg and libx264 to produce videos on demand, but I'm quite new to live streaming) I'm currently tasked with a project to compress a 4K camera's raw ...
1
vote
1answer
3k views

Encoding DNxHD using ffmbc

I have decided to re-encode my footage as DNxHD for editing. I am using ffmbc (downloaded here) to do the encoding. My source footage is HDV 1080i50. Therefore I think the best format to trancode ...
1
vote
2answers
405 views

How to concatenate 2 MP4 videos to output of certain bitrate?

I've already read the other articles about concatenating but couldn't find any that discuss specifying the output bitrate. I have 2 MP4 videos. What I want to do is speed up the first video to 110% ...
1
vote
1answer
391 views

How to choose the right bitrate, H.264 profile and level for Web Video presentation?

I want to start producing videos and looking around the internet for usual bitrate ranges (VBR) and H.264 profiles and levels for Web Video exports. I found some guides with Vimeo and YouTube and ...
1
vote
3answers
65 views

What codec should I edit in on Premiere Pro?

I have a MacBook Air (13-inch, Early 2014) with base configuration. I have a bunch of footage off a Canon 700D which is in a H.264 codec. Now obviously, a MacBook Air does not have an external ...