Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [video-encoding]

The tag has no usage guidance.

-1
votes
1answer
28 views

Accelerating Video Conversion

I like to compress large video files before storing them to hard disk. In Fedora-29-bash, I currently use the following ffmpeg command for re-encoding; it balances compression with quality: ffmpeg -...
0
votes
1answer
62 views

Cannot send desktop capture to ffserver?

I am simply trying to send a ffmpeg stream consisting of a desktop capture to a local ffserver: # ffserver >/dev/null 2>&1 & # ffmpeg -video_size 1600x900 -framerate 25 -f x11grab -i :...
1
vote
1answer
264 views

Stream/broadcast live video to local network (without VLC)

I am trying to make a perfect mobile webcam fitting my needs with the RPI and camera module I have here already. I run Arch both on the RPI and on the Laptop I intend as the "client". I have the cam ...
2
votes
0answers
164 views

trim video files via audio track information

Is there a way to pass a folder of .mp4 files and trim them by audio track? Say the first 20 seconds has no loud audio and the last 20 seconds has no loud audio, is there a way to remove the first and ...
1
vote
1answer
55 views

Split 4 Track WAV file into 2 stereo WAV files

The audio recorder my friend has can record 4 tracks at the same time, but unfortunately i records into a 4-track WAV file. The problem i have is that the DAW i use only accepts mono or stereo WAV ...
0
votes
0answers
102 views

h.264 video codec in konqueror

Visiting the page https://www.youtube.com/html5 from within konqueror I saw that the H.264 video codec is not supported. My question is: Is it possible to enable it for konqueror in any way? I'm ...
0
votes
1answer
442 views

H.264/MPEG-4 from PNG frames: how to, and how to tune compression

I often create digital animations by preparing all the frames in .png format (with minimal compression), that I need to convert to video format for upload to websites such as reddit, instagram, gfycat....
1
vote
0answers
231 views

Patching fourcc code INZI

I am using Ubuntu 16.04 64 bit to try to capture RGB and Depth images from a Realsense SR300 depth camera. I have installed the appropriate SDK etc, and the camera is being recognised and producing ...
1
vote
1answer
171 views

Create CBR TS file from MXF file

I am looking for a way to create CBR TS file from a high bitrate MXF input file. I have tried to use ffmpeg, but apparently it doesn't do a good job of creating CBR output file so right now I am a bit ...
0
votes
0answers
96 views

Convert corrupted VideoCD for uploading to YouTube

I have some home videos on VideoCDs and I would like to transfer to YouTube so I can share them with family. I backed up the CD images on my drive with dd and playing back those images with mplayer ...
3
votes
1answer
555 views

Hardware accelerated h.264 transcoding on i.MX6

Preface: I have a lot of .mts video recordings (mainly 576 to 720 lines) I need to cut and transcode to lower bitrate h.264. Nowadays I do this on with an all-in-one tool on my 2009 Core2Duo MacBook, ...
1
vote
1answer
515 views

Find all videos by codec (and not by container formats or MIME type)

How can I get the list of all my videos with the used video codec? I found some intersting commands like mediainfo, ffmpeg or exiftool but they giving a lot of informations only by one video. The ...
6
votes
1answer
967 views

Handbrake new VP9 codec is grayed out

Handbrake new VP9 codec is grayed out and could not be used. I installed Linux Mint fresh from ppa repo that is referenced on their homepage. libav and the vpx-tools are installed. What have I ...
1
vote
1answer
676 views

Adjusting keyframe rate ffmpeg/v4l2 Logitech C920 to YouTube Live

I am trying to stream video from a Logitech c920 to YouTube live via ffmpeg. I have a setup that works in Twitch, but YouTube rejects the stream with the message: Please use a keyframe frequency ...
3
votes
1answer
1k views

CUDA Context for NVENC not found after system suspend

Context I recently updated my nVidia drivers to 375.26 and recompiled FFmpeg N-83180-gcf3affa and OBS 17.0.2-5-g43e4a2e (sorry if these numbers don't mean anything, I'm not quite sure what version ...
1
vote
1answer
409 views

FFMPEG glue MPEG TS

I have movie split in many parts with duration 10-30 seconds. All movies are MPEG TS files. I want to merge them. I try to make following: ffmpeg -f concat -i join.txt OUTPUT.TS and ffmpeg -i "...
0
votes
1answer
3k views

“MPEG-1/2 does not support 3/1 fps” when sending webcam to ffserver

I am unable to send a stream to my ffserver. I started the server with ffserver -f /etc/ffserver.conf & where ffserver.conf has not been modified. I tried sending a webcam stream with ffmpeg -...
0
votes
1answer
938 views

What is the format name to have a MP4 video as output in ffmpeg?

The following command ffmpeg -f alsa -ac 2 -i plughw:0,0 -f video4linux2 -s vga -i /dev/video0 -f ogg - > video.mp4 Does not produce a .mp4 video. I want to replace -f ogg with -f <mp4 ...
4
votes
0answers
737 views

Don't wait for audio stream with ffmpeg/avconv using named pipes

I have two named pipes, audio_conv and video, for s16le and h264 streams, respectively. I want to convert them to webm format on fly. Data to these pipes proceeds from my application, that parses ...
1
vote
0answers
100 views

Encoder to msrle format with FFMPEG

I need to create some files for an old windows API, for a video playback. The native windows files which works with this old API have the format of MSRLE. They are used as small animations during copy,...
2
votes
1answer
665 views

Handbrake on Debian not aware of x265 despite installed

I am about to convert a lot of old MKV files encoded with x264, which at the moment are un-downloadable, to more efficient HEVC (x265, H.265) format, using HandBrake software. My system being Debian ...
1
vote
1answer
476 views

Add filters to ffmpeg presets

I would like to add filter parameters under ffmpeg preset (e.g. -spre directive). Suppose a simple test.ffpreset under ~/.ffmpeg like this: vcodec=h264 bitrate=1200 acodec=copy How do we add hqdn3d=...
0
votes
1answer
418 views

ffmpeg bash script segment template

I was trying to control ffmpeg file segment function through a bash script to cut a large movie file into smaller pieces. I took a look at the documentation here but this doesn't really cover what I ...
3
votes
1answer
4k views

Convert image based subtitle to text based subtitle inside MKV file

How do I convert a hdmv_pgs_subtitle (which is image based) to a text based subtitle in a MKV file? I have tried ffmpeg -i in.mkv -c:v copy -c:a copy -c:s mov_text out.mkv but that results with the ...
1
vote
1answer
1k views

Convert .264 to .mp4 using avconv

I have a video file (with no audio stream) taken from a Lorex CCTV DVR. The video file has a suffix of ".264" which I assume means its format is raw h264. I cannot play this video on certain media ...
1
vote
2answers
1k views

avconv commandline for downsampling HD video to SD

I'm trying to downsample a HD video recorded by TVheadend to SD size using the following command: avconv -i infile.ts -map 0:v -map 0:a:0 -map 0:a:1 -c copy -c:v mpeg2video -r 25 -qscale:v 2 -s:v ...
0
votes
0answers
2k views

How to re-encode file A.mp4 with the same settings as B.mp4?

I have a MP4 file with AAC audio and H264 video, let's call it B.mp4. I also have file A.mp4 with the same picture resolution, but: different FPS possibly different audio/video bitrate different ...
0
votes
1answer
583 views

gstreamer dependencies in HandBrake on fedora

I'm running HandBrake on Fedora 23. The "show preview" feature is not able to actually play video, raising two popups: "Missing GStreamer plugin: MPEG-4 AAC Decoder" and "Missing GStreamer plugin: H....
2
votes
2answers
4k views

ffmpeg: nvenc mit crf option - very low bitrate

I bought a new computer some time ago.. I installed nvenc for ffmpeg to encode my videos with the h264 codec. To optimize i used the -crf option but something went wrong.. I want to encode a full ...
1
vote
1answer
864 views

ffmpeg output.mp4 with size 0

I have a video upload script in php where I exec the following command: exec("/usr/bin/ffmpeg -i ".$folder."/".$filenameIn.".mp4 ".$folder."/".$filenameOut.".flv 2>&1", $output); And the ...
1
vote
0answers
72 views

What's the canonical way to get individual stream size in a video file?

I have a video file. It contains a video stream, and a couple of audio and subtitle streams. I want to get the size of each of these streams. I've already looked at ffprobe/avprobe and mediainfo, to ...
1
vote
0answers
222 views

Convert video with broken codec information

I downloaded using youtube-dl from https://www.dr.dk/tv/live/dr2#!/ The saved file is .flv, but it does not play with vlc/mplayer. avconv cannot convert it: $ avconv -i hl.flv hl.mp4 avconv version 9....
2
votes
1answer
1k views

avconv “Error while opening encoder for output stream” for subtitles?

I'm trying to convert a video changing the audio codec from aac to ac3_fixed: avconv -i input.mkv -c:v copy -c:a ac3_fixed output.mkv However this commands aborts after showing the following output: ...
37
votes
3answers
75k views

Re-encoding video library in x265 (HEVC) with no quality loss

I am trying to convert my video library to HEVC format to gain space. I ran the following command on all of the video files in my library: #!/bin/bash for i in *.mp4; do #Output new files by ...
0
votes
1answer
2k views

Convert files from .iso using Linux

I have a number of .iso video files 4.7GB is size. I'd like to convert them to perhaps .avi or .mpg4 format to reduce the size and for playing on equipment that likes files not DVDs. Running Linux ...
2
votes
1answer
4k views

how to convert MOD video file without loosing quality to modern popular format for TV

I have MOD video file. My LG TV doesn't support MOD. How can I convert MOD video file without loosing quality to modern video format to watch it on different modern TVs?
3
votes
0answers
283 views

Encoding a video from Unix Timestamps + ms

I have a sequence of images that were taken from a camera that have been saved in a naming convention that contains the unix timestamp as well as milliseconds. For instance, 1333351808430.jpg (I typed ...
1
vote
1answer
437 views

Avconv creates 0 byte outputfile after applying frame rate reduction

I installed avconv because I am too stupid to install ffmpeg, now I realized I am even more stupid. I tried to reduce the framrate from 30 fps to 24 fps following a very straigtforward tutorial: # ...
17
votes
4answers
35k views

Convert a video to a fixed screen size by cropping and resizing

I've tried to figure this out myself, but the myriad of options just baffles me. I want to use ideally either ffmpeg or mencoder (or something else, but those two I know I have working) to convert ...
2
votes
0answers
405 views

mplayer couldn't find audio filter 'resample'

I've been converting a bunch of mp4 files to dvd format with movie-to-dvd (from videotrans). Most of the converting went fine, but some files can't be converted and fail with the following message: ....
0
votes
0answers
3k views

How to record video from an old webcam using ffmpeg on Linux?

After couple of hours I'm finally ready to accept my absolute lack of knowledge in that topic and decided to post this question here. I've been trying to record video from an old external USB webcam (...
6
votes
4answers
13k views

FFMPEG - Interpolate frames or add motion blur

I just watched the trailer for the hobbit, and a trailer for the avengers which both feature an increased framerate. A lot of the comments state that this isn't "true" 60fps since it was not shot at ...
2
votes
2answers
15k views

FFServer streaming H.264 from Logitech C920

I'm having some trouble trying to implement a web live stream from my Logitech C920 webcam w/ H.264 encoding using ffmpeg/ffserver. Here is the configuration file I'm using for the ffserver: # Port ...
1
vote
1answer
1k views

Convert video changing only bitrate

I have a mediaplayer program which lags playing one specific file. My assumption is that it is because of too high video bitrate (41.3 Mbps) and too slow CPU (it is embedded system). So, I want to be ...
5
votes
5answers
13k views

H.264 support in Firefox (Iceweasel) 24

I am using Firefox (Iceweasel) 24 in Debian Wheezy. When I go to https://www.youtube.com/html5 it shows me that my browser does not support H.264 When I go to the same URL with Chrome, it shows H.264 ...
1
vote
0answers
199 views

How can I add a still image inside a video with avconv or opensource software

I would like to add a still image inside a h264 video following an in and out point in time. I would like to use only opensource/free Linux/Debian packages. I tried a lot of things with avconv like ...
2
votes
0answers
1k views

avconv error: av_interleaved_write_frame

I use avconv to cut a video and to remove subtitles. Depending on the length of the output video, I get a success or and error. The input video has the following information: avconv -i video.mkv ...
9
votes
2answers
17k views

Interactively concatenate video files

How to concatenate (join) multiple MP4 video files into one file interactively? There are a lot of programs that do this for two files from the command line. For instance: ffmpeg avconv MP4Box ...
5
votes
1answer
2k views

Is there a way to mix between two RTMP streams (depending on which is up) using something like FFMPEG?

(Apologies about the question title, not quite sure how to word it) So I'm working on a turnkey streaming solution / server for a local LAN party, using the fantastic nginx-rtmp to handle incoming ...
10
votes
3answers
21k views

How to convert a VOB file to avi?

I am trying to convert a VOB file copied from a DVD into an avi in Ubuntu 13.10. I tried dvdrip, which failed due to a frame count error or something. I tried acidrip as well, but it always choose an ...