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
2answers
24 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 ...
0
votes
1answer
13 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
0answers
18 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 ...
0
votes
1answer
37 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
0answers
15 views

How do i view the size of a stream (audio or video) in a mkv file?

I've been playing around with transcoding my movies to x265 lately, but i haven't found a way to view which size the video stream has compared to the audio stream. I want to make some tests how ...
0
votes
1answer
907 views

How to create MPEG-DASH variants at resolutions where one dimension is not a whole number in pixels?

I've created a bunch of variants and a DASH manifest for Sintel, which more or less works, but does not pass validation. The issue is when I want to scale a video to a specific width, but the height ...
0
votes
0answers
25 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 ...
2
votes
1answer
14k 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 ...
0
votes
2answers
1k views

Transcoding 100+ files from H.264 to H.265

I am in a process of transcoding 100+ High Quality Bitrate 720p MKVs containing H.264 (x264) to H.265 (x265 / HEVC). I do this with HandBrake software under Linux Debian 9 on Intel Xeon E3-1225 v3 3....
1
vote
1answer
326 views

Can't change Handbrake audio bit rate

I'm trying to compress video files using handbrake. While I'm managing to bring the video bit rate down, the audio bit rate is always at around 380kbps, no matter what I set in the audio settings tab....
0
votes
1answer
27 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/...
1
vote
0answers
334 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
0answers
46 views

Sync issues while working with proxies (Premiere Pro 2020)

I'm editing an HDR project in Adobe Premiere Pro 2020 and I'm having issues with preserving the HDR data while transcoding, but that's an issue for another post. The thing is that I edit with proxies, ...
0
votes
0answers
197 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 ...
0
votes
0answers
66 views

Online VPS or Dedicated, Seedbox Video Encoding Help

I have a few questions. When I was younger I use to encode lots of old Animes for fansub teams and do Karaokes on my PC. My PC is currently out dated and do not have the space nor the power to do my ...
0
votes
1answer
306 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
vote
1answer
348 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 : ...
1
vote
0answers
45 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, ...
1
vote
1answer
472 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 ...
3
votes
4answers
19k 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 ...
1
vote
0answers
147 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
0answers
16 views

Building a cloud based video streaming solution

Looking to build an in cloud solution to support a range of customers that want to live stream events. This would involve ingesting RTMP inputs and mixing in graphical overlays such as images and HTTP/...
0
votes
1answer
50 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 ...
0
votes
0answers
79 views

Preparing videos for video machine learning with ffmpeg (equal frame rate, crop, reduce size, strip audio)

I'm working on video machine learning and have a directory with plenty of small (1min up to 14min) *.avi files with different sizes and aspect ratios, slightly different frame rates (e.g. 25 Hz, 22 Hz,...
0
votes
0answers
57 views

How not to lose onFI timecodes on ffmpeg transcode

I would like to transcode my live rtmp stream with resize to rtmp and mp4 smaller size and bitrate. So I do like ffmpeg -i rtmp://my.input/stream -vcodec libx264 -s 640x480 -acodec copy -f flv rtmp://...
0
votes
1answer
761 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 ...
7
votes
1answer
16k 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: ...
2
votes
0answers
235 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
1answer
75 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 ...
1
vote
2answers
145 views

Encoding low bitrate video source file to a higher bitrate

I need to know if there will be any difference in the quality of the encoded video if the bitrate of the source file is, let's say 2000kbps and I encode it to 4000kbps. Any help will be much ...
0
votes
2answers
37 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 ...
0
votes
0answers
65 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
vote
1answer
1k views

Resolve Transcoding Workflow

I'm struggling to find an optimal workflow with Resolve 14 involving XAVC-S video. I need to transcode to ProRes 422 (HQ) to edit and grade within Resolve. At present I am bringing all my source ...
0
votes
1answer
152 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
vote
1answer
415 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 ...
6
votes
2answers
7k 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 ...
1
vote
2answers
989 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
2k 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 ...
3
votes
2answers
440 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
0answers
35 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 ...
1
vote
0answers
109 views

Transcoding AVCHD MTS to Motion JPEG on a Mac

Bigtime video neophyte and I've not been able to figure this out after a day of trying. Hopefully this isn't a big deal - pls assume I know nothing. I have some AVCHD MTS files from my camcorder ...
0
votes
1answer
173 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
0answers
1k 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 ...
0
votes
1answer
1k views

Convert MXF files into CBR TS

I am trying to convert couple of rather large MXF files into TS files preserving the video and audio encoding. The output TS has to be CBR Mpeg-2 TS file, which I know is not possible with ffmpeg. Any ...
4
votes
1answer
4k 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) ...
3
votes
1answer
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....
1
vote
1answer
2k 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 ...
2
votes
2answers
8k 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 -...
1
vote
1answer
780 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/...
1
vote
1answer
2k views

Convert video from 24 fps to 25, shortening length (no frame duplication), keeping audio pitch

I have a .mov video with 24fps and 5.1 audio. Is it possible change the framerate from 24 to 25 fps with no frame resampling (no frame duplication / removal - just new framerate interpretation) and ...