Questions tagged [transcoding]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
12 views

How to fix a presumably HDR video file that displays super washed out in all video players?

How do I fix a presumably HDR video file that displays super washed out in the Linux video player totem, the cross-platform player VLC, and also in Handbrake's video preview? All colors are extremely ...
  • 101
2 votes
0 answers
53 views

How to know which ffmpeg encoders are hardware accelerated?

On any given build of ffmpeg, ffmpeg -encoders will list which encoders can be used for encoding video. Of the encoders listed, how can I tell which ones use hardware acceleration?
0 votes
0 answers
103 views

Is it possible to avoid washed out colors when converting from H.265 yuv420p10le to H.264 yuv420p?

I have an H.265 video clip file which I am unable to play on my device because the device only support H.264. So I am trying to transcode it to H.264 but I am having issues getting a good H.264 ...
0 votes
0 answers
191 views

Issues in trimming a video with FFmpeg

I have a .webm video captured through a web browser. Using ffmpeg, I want to trim it into its first 30s without re-encoding and quality degradation. But I have issues doing it and ffmpeg complains ...
  • 101
0 votes
1 answer
145 views

YUV420 to losseless

I am using Raspberrypi HiQ camera to capture High Speed(120fps) videos of planets for astronomy purposes. Using libcamera-vid I can record h264 upto 4.2 but I saw h264 has limitation of 60fps. I ...
0 votes
0 answers
99 views

FFMPEG - AMD GPU Transcoding MJPEG to HEVC provides a skewed split screen video

Trying to use AMD GPU for transcoding MJPEG to HEVC using VA-API. Using this command: ffmpeg -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -c:v mjpeg -f v4l2 -...
0 votes
1 answer
196 views

Manually creating proxy files for Vegas Pro

To prevent lag, I need to create proxy files for each of my videos, but the built-in function is taking too long. Creating a separate file and swapping it in is too inconvenient. I used the built-in ...
1 vote
1 answer
715 views

Parallel throughput of Intel QuickSync (QSV) for real time streams

I'm using Intel QuickSync to lower CPU loading of real time video transcode with FFmpeg. Specifically, qsv is used to deinterlace and decode the input video. A special HW module is used for the ...
  • 113
0 votes
0 answers
27 views

Interesting features to use in FFmpeg

What are some interesting features or filters of FFmpeg that can lead to fun use-cases or used for improved quality? For instance, motion interpolation feature to increase FPS for better quality was a ...
  • 323
0 votes
1 answer
472 views

I want to convert .mp4 to .ts using H264 at constant framerate 25fps

I've been trying to do this conversion for a couple of days reading through forums ffmpeg -i in1.mp4 -vcodec libx264 -s 720x576 -vf "fps=25"-vsync cfr -b:v 2300k -acodec aac -b:a 128k out1....
1 vote
1 answer
68 views

Does transcoding or compression occur when importing and editing .mts (.mp4) video files?

If a .mts video file is opened or imported to a project in a video editor like Adobe Premiere Pro, is transcoding going on? Video or audio compression? If so, why, instead of editing the raw file as ...
1 vote
1 answer
60 views

Does recording desktop audio reduce quality?

If I record audio (say, a 320 kbps mp3) that's playing through my desktop audio (in, for example, Audacity with loopback, or OBS) is the quality going to be reduced if I compare the recording to the ...
  • 133
1 vote
2 answers
408 views

Halve framerate without complete re-encoding

Is there any tool that can manipulate / transcode h264 or h265 video streams throwing away approximately half of the frames, without performing a full re-encode? I'm thinking it would be theoretically ...
  • 111
2 votes
1 answer
3k views

How to preserve colorspace in ffmpeg

I have a x264 video with yuvj420p(pc, smpte170m) color space and i want to convert this video to x265 and reduce its file size. I have used this command ffmpeg -i input.mp4 -vcodec libx265 -crf 20 ...
0 votes
1 answer
147 views

can I use ffmpeg drawtext filter as a passthrough/identity filter? (and/or performance question)

Background: I have a script which needs to apply a variable number (from zero to 'a few') drawtext filters to a base stream, and I'm trying to balance performance and coding/maintenance concerns. ...
  • 103
0 votes
1 answer
986 views

ffmpeg conversion - vp8 with alpha

I'm trying to convert a mov file (with alpha channel) to webm, vp8 with alpha, on windows. ffmpeg -i C0016.mov -s 960x540 -vcodec vp8 -pix_fmt yuva420p -metadata:s:v:0 alpha_mode="1" ...
0 votes
1 answer
783 views

How can one resume an interrupted ffmpeg job or pause by design and save some kind of state file?

Attempting to convert a series of mp4's for the umpteenth fricking time using hvec 265 codec to save a buttload of storage space. And this does indeed work quite well but i do not have the luxury of ...
0 votes
1 answer
480 views

Create 4x2 grid mosaic

trying to create a 4x2 grid from 8 videos using the terminal on a mac. The code I am using is not working: ffmpeg -i input0.mov -i input1.mov -i input2.mov -i input3.mov -i input4.mov -i input5.mov -i ...
0 votes
0 answers
50 views

Post-production editing audio/video out of sync

I am trying to add two videos using ffmpeg and the output video/audio is out of sync (and fast forwarded). Goal is to put intro.mp4 before the original file clip.flv My approach is to Change the ...
  • 101
1 vote
2 answers
1k views

Best strategy to keep aspect ratio consistent for all videos having any resolution

I am using the following ffmpeg command to create multiple resolutions for the same video content. ffmpeg -i ${f} -c:v libx264 -keyint_min 150 \ -g 150 -profile:v main -f h264 -dash 1 \ -an -vf scale=...
0 votes
0 answers
148 views

Best ffmpeg configuration for universal video codec compatabiltiy across browsers

I intend to get a transcoding setting to support all browsers at the same time including, chrome, firefox and safari. Currently I am using following, yet this does not provide a valid video with ...
1 vote
2 answers
2k views

FFMPEG: is it possible to offset output frames from a selection of specific frames?

I'm doing some ffmpeg (4.1.3) transcodings by extracting specific frames from the source, in this case, the source can be either a movie or an image sequence, all working fine with the following ...
1 vote
1 answer
214 views

Create one split screen video, separate audio streams and a thumbnail from the resultant split screen video - all in one pass

I'm using ffmpeg to create several single splitscreen videos out of 2 separate videos. The 2 videos have audio so I want to extract the 2 video's audio streams as 2 separate mp3s and also create a ...
0 votes
0 answers
920 views

FFMPEG -C:V Copy and -C:V Transcode

When I do it like this, -c:v copy -preset ultrafast -cfr 20 -tune zerolatency and it doesn't work I know that this is excpected because the video codec is copied and all the other parameters such as ...
  • 31
0 votes
1 answer
86 views

Recommandation for on-premises video file transcoding server accessible via REST API?

I am looking for a video file transcoding solution that I can run on an on-premises server and access via a REST API. While I found lots of commercial cloud services (e.g. https://www.filestack.com/...
  • 105
3 votes
1 answer
4k views

Intra-frame H.264 / H.265 compared to DNxHR or Prores as intermediate codecs for editing

IMPORTANT: ISSUE SOLVED (STILL A COUPLE OF QUESTIONS, THOUGH), I POSTED SOME INFO BELOW THE ORIGINAL POST AS AN UPDATE IF SOMEONE FINDS THIS USEFUL: Quick question: what are the advantages of using ...
0 votes
0 answers
1k views

FFmpeg: DNxHR 444 10 bits transcoding issue (HDR project). SMPTE2084 unsupported?

I have a couple of questions regarding intra-frame codecs for editing purposes (in Premiere Pro). UPDATE (01/24/20). More details of the original issue after this: I seem to have encountered a dead ...
1 vote
2 answers
3k views

FFmpeg does not preserve colors after resizing

I would like to resize a 4K mkv video to 1920×1080 with ffmpeg version 3.4.6-0ubuntu0.18.04.1 on Ubuntu 18.04. The original file has the following features: Input #0, matroska,webm encoder : ...
  • 111
1 vote
0 answers
218 views

Adobe Encoder Desyncs Video/Audio (MTS to MP4)

I've been trying to transcode an MTS (recorded on a Panasonic) to MP4 with Adobe Media Encoder. The audio/video has consistently gone out of sync. I've matched the source, gone over all the settings, ...
  • 11
1 vote
0 answers
521 views

ffmpeg ProRes to MP4 Alters Colors Slightly

I cannot for the life of me figure out what is going wrong, but I have a ProRes MOV file with the following specifications: And I want to convert it to a 4:2:0 MP4 video file. Every time I attempt ...
0 votes
1 answer
435 views

Can you encode intra-frame videos from inter-frame without loss?

I'm aware of the differences between intra and inter, but I'm not the most savvy about reencoding them after the fact. Is encoding with intra from an inter-coded video the same as if you originally ...
  • 81
2 votes
1 answer
2k views

ffmpeg: Preserve timecode when converting mov to mp4

This seems simple enough. I want to do a basic conversion of a .mov file to a .mp4 file using ffmpeg. The hitch seems to be that I also need to preserve the timecode. I've looked at many posts from ...
  • 141
1 vote
1 answer
2k views

Why does Nvenc Encoder improve decoding speed?

I am trying to improve the speed of decoding H.264 frame to RGBA frame using FFmpeg in C++. I have found a CLI command that can do that but I still do not fully understand the command to reproduce it ...
2 votes
0 answers
320 views

Best way to handle stream with ffmpeg and GPU

So in my project, I need to capture a video stream, decode the video, run the individual frames through an object detection algorithm and then play the output as a video. This whole operation is ...
0 votes
1 answer
460 views

Video Assets to test transcode quality

I was wondering if anyone knows from where I could get a few (short) video assets in high bitrate to check the quality output of a transcoder. Some context: A few years ago I was working on a VOD ...
  • 141
0 votes
2 answers
47 views

How to transcode HEVC footage on a mac if you don't have CC2018 yet [duplicate]

Is there a good free way to convert iPhone HEVC footage to .mov prores or something similar using a Mac (MacOS 10.12) with Premiere CC 2017? Googling provides lots of unreliable looking apps from ...
  • 7,277
0 votes
0 answers
194 views

Improve FrameServer performances

I followed ffmpeg guide to install debugmode frameserver. All works fine except with the fact that the frames served does not goes up to 25 fps. FFmpeg reports a speed of 0.9x.. My initial goal ...
  • 1,494
1 vote
1 answer
1k views

FFMpeg set language as Unknown or unspecified in a QuickTime MOV

I have to transcode with FFMpeg some video with multiple audio where various audio track are not language related, just music and so on. I would like to assing as language something like Unspecified, ...
  • 1,494
0 votes
1 answer
313 views

If I use a normal build of ffmpeg how take advantage of video acceleration for scale?

I generally use ffmpeg for encode in h264 and also resize media My common command is something like: ffmpeg -i in.mov -c:v libx264 -preset ultrafast -b:v 5000k -s:v 1280x720 out.mov I have an ...
  • 1,494
2 votes
2 answers
2k 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% ...
  • 235
2 votes
1 answer
3k 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 ...
  • 123
5 votes
3 answers
2k 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. ...
1 vote
1 answer
893 views

Transcode each stream in a different thread with ffmpeg

Is there a way of forcing ffmpeg to encode each audio stream in a different thread? ffmpeg -i audio1.ac3 -c:a libopus -i audio2.ac3 -c:a libopus -i audio3.ac3 -c:a libopus output.mkv ...
1 vote
0 answers
45 views

broacast tv specs.

can any one help me about how can i deliver this specs for a broadcast tv channel ? : im using fcpx and compressor 4. do i need any other app or can i manage it with those ? which specs i do on fcp ...
  • 11
0 votes
1 answer
274 views

Blu-ray transcode to H.265 using Intel Quick Sync Video

Blu-ray transcode to H.265 using Intel Quick Sync Video I just started a process of transcoding about 100 video discs (with DTS-HD Master Audio on passthrough) from my collection of Blu-rays and want ...
0 votes
0 answers
3k views

Encode or Transcode with ffmpeg and libx264 as fast as possible

I'm trying to tune out ffmpeg to squeeze as much fps as possible from my server machines with lot of cores. Sometimes expecially when there's also a scale (eg: shrinking down from 4k to full hd or ...
  • 1,494
3 votes
1 answer
2k 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
1 answer
3k views

Transcode 5.1 audio in ffmpeg leads to incorrect audio mapping in output

I need to transcode some high res videos (prores or dnxhd files with 5.1 uncompressed 48kHz audio in MOV container) to their low res h264 with AAC keeping the audio still in 5.1 preserving their ...
  • 1,494
4 votes
1 answer
6k views

RTSP to RTMP converting fails after specific time only when IP camera enters night mode

I have bought a cheap IP camera Escam QF002 producing output in RTSP. I'd like to secure it with RTMP or HLS stream served by nginx with nginx-rtmp-module. For this I'd copy the video stream (h264) ...
  • 191
2 votes
1 answer
1k views

How to make ffmpeg flush the subtitles in real time while transcoding?

I'm feeding ffmpeg from stdin and do several transcoding operations in one command only. The issue is that ffmpeg seems to transcode them(or at least write on disk) sequently (i.e. first it transcodes/...
  • 57