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
0 answers
16 views

verify lossless in H.264

i've transcoded an interlaced JPEG2000 video file to H.264 using ffmpeg. following the guidelines, i constructed the following command line: ffmpeg -hide_banner -i $input \ -vf tinterlace=0 \ ...
david furst's user avatar
0 votes
0 answers
34 views

Kdenlive VFR to CFR

When using videos taken on my phone (Pixel 4a) kdenlive reports variable framerate and asks to transcode with several options, Lossless (huge files) Intermediate DNxHR HQ (large files) x264 I frame ...
qwr's user avatar
  • 226
1 vote
0 answers
64 views

ffmpeg QP: AMD Radeon (Vega7) hevc_vaapi results in lager files than hevc_nvenc - why?

I've switched from an RTX 3070 to an AMD Radeon Vega7 APU (4600G/5600G). I'm trying to tweak the ffmpeg parameters, so that the transcode output results in a similar quality AND file size. hevc_vaapi ...
Jaek Farce's user avatar
0 votes
1 answer
209 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 ...
E. T.'s user avatar
  • 101
2 votes
1 answer
176 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?
Running Man's user avatar
0 votes
0 answers
259 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 ...
Mary's user avatar
  • 101
0 votes
1 answer
261 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 ...
OuttaControl's user avatar
0 votes
1 answer
364 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 ...
Richie Bendall's user avatar
1 vote
1 answer
1k 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 ...
Danny's user avatar
  • 113
1 vote
1 answer
651 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....
losing_my_marbles's user avatar
1 vote
1 answer
85 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 ...
user610620's user avatar
1 vote
1 answer
70 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 ...
brubsby's user avatar
  • 133
1 vote
2 answers
551 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 ...
Tobia's user avatar
  • 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 ...
mustafa candan's user avatar
0 votes
1 answer
205 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. ...
ljwobker's user avatar
  • 103
0 votes
1 answer
1k 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" ...
javier41's user avatar
0 votes
1 answer
1k 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 ...
John Sohn's user avatar
1 vote
1 answer
598 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 ...
Ben Hardy's user avatar
0 votes
0 answers
64 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 ...
invider's user avatar
  • 101
1 vote
2 answers
2k 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=...
london_utku's user avatar
0 votes
0 answers
175 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 ...
london_utku's user avatar
1 vote
2 answers
3k 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 ...
hasielhassan's user avatar
1 vote
1 answer
264 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 ...
Ben Hardy's user avatar
0 votes
0 answers
1k 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 ...
Dennis's user avatar
  • 31
0 votes
1 answer
101 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/...
MartinW's user avatar
  • 105
3 votes
1 answer
5k 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 ...
Raulo1985's user avatar
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 ...
Raulo1985's user avatar
1 vote
2 answers
4k 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 : ...
BowPark's user avatar
  • 111
1 vote
0 answers
233 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, ...
eybmv's user avatar
  • 11
0 votes
0 answers
575 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 ...
joejoejoejoe4's user avatar
0 votes
1 answer
531 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 ...
HDL's user avatar
  • 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 ...
DiB's user avatar
  • 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 ...
Khoa Tran's user avatar
2 votes
0 answers
325 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 ...
user3105173's user avatar
0 votes
1 answer
588 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 ...
Augusto's user avatar
  • 141
0 votes
2 answers
49 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 ...
tomh's user avatar
  • 7,585
0 votes
0 answers
211 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 ...
user3450548's user avatar
  • 1,606
1 vote
1 answer
2k 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, ...
user3450548's user avatar
  • 1,606
0 votes
1 answer
333 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 ...
user3450548's user avatar
  • 1,606
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% ...
Ryan's user avatar
  • 245
2 votes
1 answer
4k 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 ...
burnersk's user avatar
  • 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. ...
chew socks's user avatar
1 vote
1 answer
997 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 ...
hedgar2017's user avatar
1 vote
0 answers
48 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 ...
Miguel's user avatar
  • 11
0 votes
1 answer
313 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 ...
Vlastimil Burián's user avatar
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 ...
user3450548's user avatar
  • 1,606
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....
Tibor Nagy's user avatar
2 votes
1 answer
4k 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 ...
user3450548's user avatar
  • 1,606
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) ...
mjktfw's user avatar
  • 191
2 votes
1 answer
2k 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/...
mike's user avatar
  • 157