Questions tagged [encoding]

The process and techniques used when storing moving images, sound, metadata and other streams as a digital file.

Filter by
Sorted by
Tagged with
0
votes
0answers
32 views

FFMPEG - Nero and Quicktime Format Chapters

Ok, I'm usually really good at finding the answers to my FFMPEG questions myself but I'm a bit stumped. I've got this file, an MP4, here is part of the MediaInfo: Menu 00:00:00.000 ...
0
votes
4answers
31 views

Re-encoding Lossy formats with Lossless formats

I was re-encoding videos downloaded from YouTube with Lossless H.264 (using FFmpeg) because I'm experimenting with CRF=0. I found that resulting videos are much bigger (1 gigabyte) than the original ...
1
vote
1answer
38 views

Prores ffmpeg questions

I am trying to understand how to use Prores Kostya with FFmpeg, and I have a few questions regarding this: I have a Panasonic G85 and Gopro Hero 7 black which I used to shoot 4k in. For 4k footage, ...
0
votes
1answer
16 views

Compile FFmpeg example code

I was trying to compile an FFmpeg example code HERE that illustrates how to use filters using it's C APIs. I compiled the code (throuh a universal make). As the usage suggests, I'm doing this: ./...
-1
votes
0answers
12 views

Licensing for AV codecs

I am building a decoder that is able to decode all the codecs used in VoIP( voice, video and text). I have seen that some of the codecs used are open source like G711 etc. but some are proprietary ...
0
votes
1answer
14 views

How can I change/reduce the bitrate of AVI files using Adobe Premiere Pro CC or other tools?

I'm using Eprime and Experiment Builder which requires files in AVI format (AVI-XVid). The files are quite small already (various 2 second clips under 1mb), but are still too large which crash the ...
0
votes
1answer
11 views

What is the proper terminology for a device that can accept IP video streams and output that to RF as used by consumer televisions?

More a terminology question than anything. As described in the headline, I want to locate a piece of hardware that can accept arbitrary IP streams (be they MPEG-TS, H264, etc - the exact input ...
2
votes
0answers
18 views

Is there any query language or CLI tool to analyze encoded bitstream?

I'm learning codec, but most of the video analyzer tools are GUI and windows based. I'm wondering if there is a bitstream query tool to find the info I'm seeking for. Using SQL for example: select ...
0
votes
0answers
20 views

FFmpeg Throws Errors When Converting 7.1 TrueHD (Blu-ray Audio) To PCM Or FLAC

I have attempted to convert a TrueHD stream to PCM as well as FLAC. Throughout the encoding process, errors occur: "lossless check failed" and others. The same set of errors occurred when converting ...
0
votes
1answer
25 views

Errors in converting mp4 to ts with FFmpeg

I was trying to convert a caption-embedded .mp4 file into a .ts file. Only command found after some search was this which uses FFmpeg: ffmpeg -i 1559066401592889640.mp4 -c copy -bsf h264_mp4toannexb ...
0
votes
1answer
28 views

Objective video quality assessment

I'm trying to develop a tool that given a video (without a reference video), it can measure the quality. Basically given some thresholds, it assigns them a rating (I just need 4 classes 1-4). Since we ...
0
votes
1answer
54 views

Call FFmpeg filter from source code (C API)

I'm trying to find out how to call a FFmpeg filter (freezedetect) from within FFmpeg's source code. I see the filter's file is under libavfilter/vf_freezedetect.c, but I don't know how to use that ...
0
votes
0answers
41 views

FFmpeg loop filter doesn't work

This is a follow-up from my previous question here. Basically, I'm trying to use FFmpeg's loop filter to freeze some frames and insert black frames. It's very weird; I swear it was working a few days ...
1
vote
3answers
51 views

Some H.264 videos that I have seem to have excessive bitrate, is there a way to determine/find their recommended bitrate?

So I have some videos that are Full HD, h264 but they have over 30M bitrate at 30 FPS, they are SDR and their quality is not very impressive so it seems excessive and unnatural for such unimpressive ...
0
votes
1answer
36 views

What happens when you use a specific CRF value on a already encoded x264 video?

If there is a h.264 video, and I use -crf 17 I sometimes I get a lower bitrate, but the weird thing is - most of the time get a higher ones. I am trying to get this setting because I think some ...
0
votes
0answers
34 views

How to delete the very last frame of a video using ffmpeg / mencoder / transcode or any other?

I am trying to delete the very last frame of a video using ffmpeg / mencoder / transcode / or any other free linux application. Here is what I have so far, and it's only extracting it, it's not ...
-1
votes
1answer
19 views

Maximum YouTube video stream audio bitrate

I know that YouTube no allows 96kHz audio. But I also worry about second thing the bitrate. How much is possible maximum to get from YouTube stream? I'v only found recommended value of 384kbps, but I ...
0
votes
1answer
54 views

Where are the Source Scaling Options in Adobe Media Encoder CS6?

In Adobe Media encoder CC, the Settings in the drop-down menu have a Match Source option that will preserve the pixel size of the file. In this Adobe Help article, the authors of the page state that ...
0
votes
0answers
18 views

correct OpenShot settings to avoid the jitters

This video with spaceship building instructions was made with OpenShot. It is jittery. It was shot with a Samsung Galaxy S9. Here are the details I dug up from the source and final video: | Thing ...
3
votes
2answers
77 views

4:3 video has 720x480 resolution

I was trying to do some video editing and encoding. I have a so-called SD video that should supposedly be in 4:3 aspect ratio. But instead of 640x480, it is 720x480. Interestingly, when I play it with ...
1
vote
1answer
90 views

How to split video in small clip?

I'm trying to split a video (50-100Mo) into several small clips of a few seconds each. I don't need re-encoding, hence my use of codec copy. However some of the resulting clips don't have any video. ...
0
votes
1answer
169 views

Fast VP9 still image encoding

I use this command to create "myFile.webm", a VP9 video with one still image : $ ffmpeg -i myOriginialPureAudioFile.opus -loop 1 -i myAudioFile_640x360.png -shortest -threads 4 -speed max -c:a copy ...
0
votes
1answer
270 views

What are the WebM (VP9+opus) encoding settings compatible for YouTube import for a video with a still image?

What are the WebM (VP9+opus) encoding settings compatible for YouTube import for a video with a still image ? I tried PAL and NTSC framerates with 48kHz stereo and and image size of 640x360 and kept ...
1
vote
1answer
105 views

Concat two MP4 files (side by side) with FFmpeg

I'm trying to concat two videos, side by side, using ffmpeg. One of them is 1280x720, and the other 1920x1080. One will be left, one will be right side. The higher resolution will be resized to the ...
0
votes
2answers
227 views

ffmpeg for m2t and Sony Bravia - no working

-f mp4 -c:v libx264 -preset veryslow -tune grain -profile:v high422 -flags +ildct+ilme I am preparing video to be streamed (DLNA) from my NAS to an older Sony Bravia. I have successfully created ...
1
vote
1answer
176 views

How to combine and optimize ffmpeg filters to avoid encoding multiple times?

I never worked with ffmpeg before and I'm wondering which optimization I can take for my situation. In a loop I have multiple input.mp4 files which I first convert one by one to have a common scale ...
2
votes
1answer
102 views

What does the `-context` parameter mean when using FFV1 in ffmpeg

In the docs for FFV1 there's a parameter -context, which can be set to 'small' or 'large'. That's all the documentation I can find. While I'm at it, what are the relative benefits of the different ...
1
vote
2answers
159 views

How to optimize already-encoded videos of still images (e.g. presentation slides)?

I have a H264 video that is, for the most part, just a video of presentation slides. It doesn't seem to me that it's as well-compressed as it could be. Given that it's a video of presentation slides, ...
1
vote
0answers
165 views

FFmpeg NVENC rtsp stream encoding freezes randomly

In some executions of the following command, ffmpeg freezes at certain time and after some minutes starts to encode the stream again. The problem don't happen always. The stream server is an avigilon ...
3
votes
1answer
42 views

H.265 disadvantages with video dimensions not multiple of 8

Are there any disadvantages (like worse image quality/more compression artefacts) when encoding a video in H.265 with dimensions that are not a multiple of 16 or 8, but instead a multiple of 4 or 2? ...
0
votes
1answer
203 views

Setting different resolution for encoding and display when encoding in ffmpeg

I'd like to encode a video, say, in 960 x 720 but have video players automatically play it in 1280 x 720. I know how to do this in 2 steps, by first encoding in 960 x 720 (ffmpeg with -vf scale=960:...
1
vote
1answer
42 views

Problem setting different framerates with ffmpeg map option

I am facing a problem to set video streams framerates with FFmpeg when using the map option. Here is what I want to do: Given an input video file of 60fps, I want to generate an output file ...
4
votes
1answer
684 views

Using ffmpeg to add height (as black bars) to video file without quality loss

I have a file of resolution 3840x1632, but my TV stretches the picture vertically to fill up all 2160 pixels of height. Is it possible to use ffmpeg to add blank / black height, while preserving the ...
0
votes
2answers
391 views

Is it possible to use 2-pass encoding to create vp9 / webm videos from an image sequence?

I'm currently creating webm videos using ffmpeg to encode an image sequence. My command is: ffmpeg -framerate 30 -f image2 -i frames/%04d.png -i my_audio.flac -c:v libvpx-vp9 -pix_fmt yuva420p -b:v 0 -...
1
vote
1answer
774 views

Is it safe to use the yuva420 pix_format option with ffmpeg to encode webm videos?

I am encoding png image sequences to both webm and mp4 formats using ffmpeg. My goal is to achieve perceptually lossless videos, with the smallest file size I can reasonably achieve. The webm videos ...
0
votes
1answer
42 views

Video cam with poor compression ratio (H.264 produces videos at 2.9MB/sec)

I just purchased a cheap dashboard video-camera that is advertised to have a H.264 codec inside. However, after the first video test I have seen that a 43sec movie takes 123MB! How is this possible. I ...
2
votes
1answer
1k views

How to encode for YouTube with ffmpeg?

I just read Recommended upload encoding settings article from official google support. I think this is the best settings for encoding my youtube videos. Can you help me find out how to encode that ...
1
vote
1answer
25 views

codec/container with additional reconstruction information for archival?

Are there (open source) codecs that support additional recovery information to be added during encoding to allow for an improved recovery from corruption? Application would be data archival of videos ...
1
vote
0answers
11 views

Is removing an audio segment on YouTube a lossless operation?

YouTube marked part of a video I uploaded as containing copyrighted audio. When I remove that audio segment on the YouTube website, does YouTube re-encode the audio of my whole video? Or is the ...
1
vote
0answers
199 views

Jetson Xavier and 16 12MP cameras

I recently saw the Jetson Xavier from NVIDIA (https://developer.nvidia.com/embedded/jetson-xavier-faq). I need to connect 16 12MP cameras like this one: https://www.baumer.com/it/en/product-overview/...
3
votes
2answers
270 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
1answer
32 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 ...
0
votes
1answer
69 views

Different rate distortion curves for two videos encoded with same parameters in FFMPEG

I encoded two videos (ParkJoy and Sintel) in FFMPEG by H.264 with same parameters (GOP size, QP, frame rate, resolution etc.) and obtained rate-distortion plots (mean PSNR of Y channel vs bitrate). I ...
3
votes
1answer
700 views

Digitize a VHS tape with FFmpeg and get a live preview

Digitize a VHS tape with FFmpeg On this thread, I found a perfect command to digitize a VHS tape with FFmpeg using a USB video grabber. All good with that; it works like a charm. Acceptable bitrate, ...
0
votes
1answer
29 views

If I encode a video above source and then later do a final encode, will I lose extra quality vs the final encode directly?

I am very happy with my Handbrake settings for my final encodes but I have a video that needs to be edited first. I intend to use Vegas Pro to do this but the default encoding settings create terribly ...
0
votes
0answers
406 views

Replacing I-frames in h265 stream

I'm trying to follow this tutorial: https://www.reddit.com/r/brokenanimegifs/wiki/tutorial Everything works perfectly. On the basis of this tutorial, I even created my own little tool. It just ...
1
vote
2answers
1k views

Hardware acceleration in Adobe Media Encoder vs ffmpeg

On macOS, Adobe Media Encoder has options for hardware-accelerated rendering utilizing OpenCL, which seems to speed up encoding time. On the other hand, according to the ffmpeg wiki, ffmpeg's ...
0
votes
2answers
1k views

How do I avoid objects having flickering edges when I encode a screen recording to mp4 using x264 and ffmpeg?

The Goal I'm creating short tutorials by recording my screen (720p30fps). The content is just a recording of using some desktop software - so mouse moving and opening dialogs, typing, drawing shapes, ...
1
vote
1answer
916 views

stream with ffserver without encode-decode

I have static file on my disk I want to stream it with ffserver . The problem is that ffserver is decode and encode my file. I know how to pass decode and encode when I save stream to file ffmpeg-i ...
1
vote
1answer
484 views

FFmpeg - how to adjust video (clip) duration to sound duration if sound is longer, possible without re-encoding it with mp3 file?

I have a problem. I have recorded my videos separately, and then added sound to it. Sometimes, sound is longer or less in duration compared to video duration. Usually sound is longer, sometimes around ...