Questions tagged [video-encoding]

Specific issues with encoding video to a certain format, also related to [video-conversion]

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

Synchronization issues when combining TS and ACC

I have downloaded formula1 races from the F1 TV website because I travel a lot and often have no connection to stream them on the road. The video was downloaded with a TS format and the audio was ...
0
votes
1answer
39 views

Transcoding 1080p h264 to h265 w/ FFmpeg - Unexpectedly Extreme Reduction In Size

I have a collection of h264 videos from a digital camera that I'm re-encoding to h265 (HEVC). The FFmpeg options I'm using are: -c:v libx265 -preset medium -x265-params crf=20:keyint=30 -c:a copy -...
0
votes
0answers
23 views

Second pass while using concat in FFmpeg

I'm converting a list of images to a Webm video using FFmpeg. The current command is this (I'm calling it from my C# application): -vsync 2 -safe 0 -f concat -i ".\concat.txt" -c:v libvpx-vp9 -b:v ...
0
votes
0answers
80 views

Why are video converters turning MKV movies into HUGE MP4 files on conversion?

I have read multiple resources that say the compression ratios are similar (MKV and MP4), and that converted MKV files are actually slightly smaller, because MKVs have items MP4 doesn't support (such ...
1
vote
1answer
66 views

Using ffmpeg to denoise (reduce film grain)

I have a large collection of movies I'd like to re-encode to both reduce size and improve picture quality. A large number are old black and white movies that are pretty grainy, but even titles through ...
0
votes
0answers
38 views

Extending the length of a video and overlaying an alpha PNG image sequence using FFMPEG

I’ve got several videos to which I’d like to add ‘outro’ animations to, using FFMPEG. The outro animation itself is a sequence of 41 frames of alpha PNG images named consecutively, from Outro.00000....
0
votes
0answers
16 views

Is there a way to consolidate two damaged video files with missing data using ffmpeg or another tool?

I have two video files (different bitrate encodes) of the same footage that both got damaged due to a hard disk failure. I have managed to recover both files, but in an incomplete manner, such that ...
0
votes
0answers
53 views

FFMPEG - Why doesn't this ffmpeg converted video play on LG TV while another does?

I have two files created from same big mp4 file. One (A.mp4) plays fine on my LG TV while the TV complains about the other (B.mp4). A.mp4 is of 5 seconds while B.mp4 is of 10 minutes. The first one ...
0
votes
0answers
13 views

Daniel2 codec - not enought RAM after import

I have win7, 10GB RAM, 256GBssd and i7 CPU When I edit videos, I first convert all H.264 to Daniel2 format. This is special codec which allows smooth editing by decreasing weight on CPU. Hovewer, the ...
1
vote
1answer
28 views

How to encode selected frames in new video with fixed framerate?

I want to make a quick encoding of a VOB file to try the effect of applied video filters, so I am encoding only the key frames to a mjpeg video. I am using ffmpeg -i input.vob -vf ...,select=key -...
0
votes
0answers
49 views

ffmpeg reducing frame rate doesn't decrease file size

My goal is to reduce the overall file size of a video without quality loss. The source video is at 30fps with keyframes every 90 frames. For our purposes we only need the video to be at 3fps and ...
0
votes
0answers
25 views

ffmpeg input seeking to zero gives a different result than not input seeking

I'm using ffmpeg with input seeking to get fast results. When seeking using the below 2 commands I get different results although I would expect the same output file ffmpeg -loglevel debug -y -...
1
vote
0answers
89 views

Which versions of ffmpeg support “Encrypted fmp4”?

Using ffmpeg version 3.4.6-0ubuntu0.18.04.1, I think it successfully converted an input mp4 file to encrypted files: list_1080p_0000.m4s list_1080p_0001.m4s list_1080p_0002.m4s list_1080p.m3u8 ...
0
votes
1answer
46 views

Cross-Merge Many Videos

I have one folder with 30 videos, and another with 4. I want to merge the 30 first video as an intro to the 4, in order to create 120 different videos. In other words, imagine letters are intro videos ...
0
votes
0answers
114 views

Clicks and pops on my video's audio

I'm using Shotcut to make a video for my song. It's just a still image and a simple audio visualisation. I'm planning to upload it to Youtube, and need the audio to be as high quality as possible. I'...
0
votes
1answer
141 views

Cannot remove audio from video in FFMPEG (-an or -map doesnt work)

the following dont work ffmpeg -i <input> -an <output>.mp4 ffmpeg -i <input> -map 0:0 -v:c copy <output> The output returns the converted video WITH the audio still included....
0
votes
0answers
27 views

How to keep video codec as original one after adding images?

I use ffmpeg to add subtitles to video. Subtitles are created by imagemagick and I use filter_complex to add these images to video. And I want to keep original video codec. Please help me. The ...
0
votes
1answer
90 views

Phone got hung while shooting a video- How to get the mp4 file from the “.mp4.tmp0” file?

Title says it all, I was shooting a video and suddenly the phone got hung. I waited a few minutes with no avail, then had to reboot the phone. I then went to the Camera folder, and saw a file with the ...
1
vote
1answer
1k views

How to decrypt video using FFmpeg?

I've managed to encrypt my video files using the ffmpeg command below; however, I can't find a way to save the decrypted output. ffmpeg -i {file} -encryption_scheme cenc-aes-ctr -encryption_key {key} ...
0
votes
0answers
779 views

ffmpeg RTSP stream from camera + Alsa audio mux to RTMP destination?

Folks, I have an IP Camera that I want to take the RTSP/H264 stream and use ffmpeg to send this to a youtube Live / RTMP service. The challenge I have is streaming the video with a separate audio ...
1
vote
0answers
123 views

How can I create bookmarks in VLC Player that persist between sessions?

Using VLC Player & pressing Ctrl + B allows me to save a bookmark for a video, but the problem is that it disappears when the video is unloaded. Would be great if some solution existed to this!
0
votes
0answers
41 views

Delay in video transmission UDP

There is no synchronization problem, but the image appears 5-8 seconds after the sound, how can I solve it? ffmpeg -hwaccel_device 0 -hwaccel cuvid -c:v h264_cuvid -deint 1 -y -i http://192.168.5.100:...
1
vote
2answers
63 views

ffmpeg delay in appearing the image

I am using ffmpeg with 264nvenc to transcode streaming channels. the result is very good the channels look great and are very stable, the problem is that when you open the channel, the sound is heard ...
0
votes
1answer
387 views

How do I create CMAF content using Shaka Packager?

I am currently trying to create streaming content for testing and I must create CMAF content. I have this code, but I do not really know it this is creating real CMAF content: IN_VIDEO="$1" FILENAME=$...
0
votes
0answers
31 views

How can I reassemble these video fragments?

The below screenshot shows a Chrome Dev Tools view of some headers representing video fragments of a video I'd like to save. I'm hoping someone can identify what type of fragments these are, and any ...
0
votes
1answer
110 views

Ffmpeg : Overlay 2 images on a video

I currently use OBS to do this and I got to wait til the video has been recorded which can take 20 - 40 min depending on the video length ... It's so long.. What I'm trying to do is this: Background ...
0
votes
1answer
44 views

Are JPEG snapshots of H.264 / MP4 videos lossless?

I have noticed that some apps (namely Firefox and, in default configuration, mpv) save snapshots of MP4 videos in JPEG format. Is this because individual frames can be losslessly extracted as JPEGs or ...
0
votes
0answers
34 views

FFMPEG add chapters entierly through CLI

I've recently gotten into using ffmpeg and was wondering if there was a way of adding chapter markers entirely through the command line interface? I have had success with first writing out a metadata ...
0
votes
0answers
25 views

max audio-video bit rate of “AVCHD 2.0 DVD”

http://www.avchd-info.org/format For AVCHD 1.0, maximum audio-video bit rate is 24 mbps. But for DVD it is 18 mbps. For AVCHD 2.0, maximum audio-video bit rate is 28 mbps. But for DVD it is NOT ...
0
votes
1answer
33 views

ffmpeg: unexpected behavior during extraction of frames with specified interval

I need to obtain snapshots from a video with 30 seconds interval. It is recommended in the Internet to use the following command: ffmpeg -i <video_file_path> -vf fps=1/30 <directory>/%...
0
votes
0answers
125 views

How to scale a video with FFmpeg?

I would like to know how I scale multiple resolutions of the video generating only a single output video. The proposal is to have an input video file: Encode the video in various resolutions. ...
0
votes
0answers
114 views

-b:v above 9.8M for DVD-Video

Details of Nache1080.mp4:- resolution=1920x1080 fps=60 Avg Video Bit Rate=11610 kbps duration=00:00:14 size=19.6 MB I produced mpeg2 video from this mp4 video using below command: ffmpeg -i ...
0
votes
0answers
29 views

caspercg 2.1.0 showing green while playing video

I have used CasparCG Server 2.0.7 which is fine i want to use flash templetes for that trying to use caspercg 2.1.0 but it is not working properly while playing any video through client it showing ...
0
votes
0answers
20 views

How to encode multiple streams once for similar options, then individually for specific options

I am receiving an mpegts stream which has many channels in it. I would like to encode all the channels using libx264 as the video codec and aac as the audio codec. After that, I would like to separate ...
0
votes
0answers
423 views

How to ensure ffmpeg transcodes with a speed above 1x

I am trying to stream tv using hls. My setup is ffmpeg and nginx(with nginx-tx module for hls streaming). I am using the command below to scale the video to a height of 320, and sharpening it using ...
0
votes
0answers
51 views

Changing gamma_r & g in video filter eq (ffmpeg) causes decrease in vmaf score?

I am using ffmpeg video filter -vf eq=contrast=1.1:brightness=0:saturation=1:gamma=1:gamma_r=0.99:gamma_g=0.98:gamma_b=1.1 to reduce red & green colors in a video. But this causes reduction in ...
0
votes
0answers
121 views

I-frames not marked as key frames in ffmpeg

I've come across some weird piece of MP4 video, where I-Frames are not marked as Key-Frames. This is messing with my video exporting script (seeking is way off and the video doesn't start at the right ...
0
votes
1answer
14 views

create a video from stills playable on win7 powerpoint

with respect to image size H x W, and to total size of the video file, and what type of video file what is the best method of taking a bunch of still images to a smooth playable video file that will ...
0
votes
0answers
30 views

Video rendering issue after Windows update

I'm using a GoPro Hero7 Black for making some family and amateur videos, Sometimes I used Quick application for short clips and sometimes I used Davinci Resolve 15 for more complicated things.. ...
0
votes
0answers
53 views

getting started with ffmpeg command line, need assistance

I am using windows 10, ffmpeg version 4.1.3. I am getting getting started with ffmpeg cmdline version i am trying to encode video with 2 Pass with H256 8bit encoding, encode audio to aac 192kbps I ...
0
votes
1answer
58 views

Equivalent FFMPEG command with lossless clip

So, I need to save up a lot of space on my hard drive so I'm encoding PNG files to lossless video so I can delete the PNG files. I'm encoding one at 72fps and one slightly slowed down to 60fps. Let's ...
0
votes
0answers
308 views

Ffmpeg: Only SUBTITLE_ASS type supported. Subtitle encoding failed

I have a video with MediaInfo: General Unique ID : 194272504823943671508252267080776685075 (0x922786003D50C005A20E0EC561081613) Complete name ...
0
votes
0answers
21 views

When encoding a video with FFmpeg, how to select a time range every n seconds? [duplicate]

I have an AVI video which is 10 minutes long and has a frame rate of 60 fps. How do I tell FFmpeg to encode only 20 seconds for every 2 minutes of the video, so that the final length of the encoded ...
0
votes
1answer
2k views

Will I get any visual benefit if I use CRF values below 17/18 in x264 (FFmpeg)?

Will I get any visual benefit if I use CRF (Constant Rate Factor) values below 17/18 in x264 (FFmpeg)? Will there be any differences other than size? CRF 17/18 are visually lossless. CRF 0 means, ...
-1
votes
1answer
95 views

Generate mpeg 4 file with specific format with h.264 codec

I need a specific format in my .mp4 video file: 1. Only I and P frames 2. Each P frame based on only the previous (temporally) I frame 3. An I frame every second or so Is it possible to generate ...
0
votes
1answer
146 views

When required to re-encode video multiple times, is it wisest to use fastest preset until very last re-encode?

If a video requires re-encoding it multiple times with ffmpeg because it needs multiple changes done to it such as crop, resize, convert, compile (concat), convert again, etc... then wouldn't it be ...
0
votes
1answer
721 views

What is the preferred GStreamer pipeline to encode a video for youtube?

I want to record a video in order to put it to youtube. What would be the pipeline that I can strap to my stream to get the best quality for youtube (minimize number of reencodings, etc)? I think it ...
0
votes
0answers
513 views

ffmpeg Non-monotonous DTS Error During Stream copy

I am attempting to stream copy a DTS-HD MA audio stream into the matroska container. ffmpeg throws Non-motonous DTS errors that look like this: [matroska @ 00000294f0f902c0] Non-monotonous DTS in ...
0
votes
0answers
26 views

How to detect Intervals of Frozen Videos [duplicate]

I'm trying to detect intervals where a given video is frozen. Looking at a related post here, apparently FFmpeg has a filter named freezedetect which exactly does this. But the post had no accepted ...
1
vote
0answers
58 views

DaVinci resolve fails to load clips on Linux

I've just installed DaVinci resolve 16 on my Linux Mint 18 computer and cannot load any clips. They show up as -1 second long. I have tried .mkv, .mov, .mp4, .flv and a couple of other formats without ...

1
2 3 4 5 6