Questions tagged [video]

related or about the video issues, the range varies from playing a video file, the formats, tools to work with it in *nix operatin systems up to issues surrounding it in specific environment (ie. console, framebuffer, X11 ...)

Filter by
Sorted by
Tagged with
187
votes
8answers
267k views

How can I reduce a video's size with ffmpeg?

How can I use ffmpeg to reduce the size of a video by lowering the quality (as minimally as possible, naturally, but I need it to run on a mobile device that doesn't have much available space)? I ...
107
votes
4answers
36k views

Watch YouTube videos in terminal

I'm looking for a way to watch YouTube videos in terminal (not in a browser or another window, but right there, in any bash session). Is there a simple way to do this? I imagine something like this: ...
73
votes
5answers
76k views

How to do I convert an animated gif to an mp4 or mv4 on the command line?

What command would I use to convert an mp4 or mv4 video file to an animated gif, and vice versa. That is, convert a animated gif to a mp4 or mv4.
54
votes
5answers
25k views

GIF screencasting; the UNIX way

To take a static screenshot of a selected part of my screen, I often use scrot with -s shot.png. This is great for adding illustrations to StackExchange posts. I even found this script to ...
41
votes
3answers
79k 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 ...
40
votes
4answers
14k views

Convert OGV video to GIF animation?

I created OGV videos with the gtk-recordmydesktop screencasting program, trying to tackle this problem here with bruteforce over X. I can view the videos with VLC. Now, the task is to find some ways ...
37
votes
4answers
49k views

Merge two video clips into one, placing them next to each other

I have two video clips. Both are 640x480 and last 10 minutes. One contains background audio, the other one a singing actor. I would like to create a single 10 minute video clip measuring 1280x480 (in ...
31
votes
10answers
72k views

Streaming to an Apple TV (3) from Linux

Alright, here is the setup: One apple tv 3 in the living room, connected to the network (wired). One pc running Linux (Arch Linux x64, AMD), containing all music, movies and series (wired). Now I ...
28
votes
3answers
147k views

How to set the resolution in text consoles (troubleshoot when any `vga=…` fails)

It is a common way to set the resolution of a text consoles (that are usually available by Ctrl-Alt-F1 thru Ctrl-Alt-F6) by using a vga=... kernel parameter. I'm using Ubuntu 10.04 Lucid, output of ...
28
votes
5answers
36k views

How to record Skype video calls on Linux?

I'd like to conduct recorded video interviews with Skype and am looking for a reliable tool to accomplish that. Is there anything out there that's not slow or buggy? I'm running (K)Ubuntu.
27
votes
9answers
19k views

Get total duration of video files in a directory

I have a list of .ts files: out1.ts ... out749.ts out8159.ts out8818.ts How can I get the total duration (running time) of all these files?
26
votes
5answers
24k views

Can I pipe /dev/video over ssh

I have two computers, a desktop in my office ( with a webcam attached ) and a laptop somewhere else on the network. Usually I take a look at my office through my webcam by running ssh Office -Y "...
23
votes
2answers
21k views

Command to extract audio from video without conversion

I know that flv and mp4 files contain aac audio, while avivideo usually mp3 audio streams. What command (avconv, ffmpeg) would extract the audio without transcoding it?
23
votes
9answers
16k views

What software can I use to do live screen-casting in linux?

I'm looking for a software to do live screen-cast of our local user group meeting. What software can I use to do that? Ideally I'd like to capture the computer screen and speaker's audio and stream it ...
22
votes
5answers
21k views

How do I merge two *.avi files into one

I have two *.avi files: sequence1.avi sequence2.avi How do I merge these two files using a command-line or GUI?
21
votes
3answers
22k views

Pull Metadata from a video in the terminal

I am writing a bash script that I want to echo out metadata (length, resolution etc.) of a set of videos (mp4) into a file. Is there a simple way to get this information from a MP4 file?
20
votes
2answers
10k views

Manipulating /dev/video

I'd like to take the video stream from /dev/video0, apply some effects or changes and make the result available on /dev/video1. /dev/video0 ---> Apply Effects ---> /dev/video1 For example, mplayer ...
19
votes
4answers
36k 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 ...
14
votes
4answers
11k views

How to rip a scratched DVD-Video? (a “cdparanoia for DVDs”)

I usually use the very nice and simple dvdbackup program to rip and backup my DVD-Video. However some of my DVDs have a few scratches and my DVD drive has some trouble reading a few sectors. So, is ...
13
votes
5answers
22k views

How do I watch my webcams feed in linux

In windows I can open "My Computer" and click on the "Webcam" icon to get a feed from my webcam. I can also take snapshots of that feed. Can I do the same in Ubuntu? Without installing any extra ...
13
votes
8answers
295 views

Record screen in X

How can I record all activity on the screen for a certain amount of time? I know about tools like xwd that capture a still image; can they be extended to record video? I'd prefer not using any fancy ...
13
votes
6answers
7k views

Can I see images and watch movies inside the terminal emulator

Can I see images and watch movies inside the terminal emulator? In case of virtual console I can do it via framebuffer, but what about terminal emulators?
12
votes
9answers
39k views

Fast tool to generate thumbnail video galleries for command line

I use gframecatcher to generate thumbnail video galleries, i.e. something like this: However this is a GUI tool and I want to create recursively a gallery for every video in a directory structure, so ...
12
votes
3answers
22k views

How to extract images from video file?

I mean, how to generate images files from a video like screenshots.
11
votes
2answers
7k views

How do I merge two *.srt files

Please see this question. I have just merged two avi files cd1.avi and cd1.avi into movie.avi using: avimerge -o movie.avi -i cd{1,2}.avi Problem is that I had to subtitle files linked to the first ...
11
votes
2answers
5k views

How to set a video mode in linux with kms/drm?

How can I set the video mode in Linux the low level way? As far as I know the lowest layer in userspace would be to request KMS via DRM. Is this correct? And if so, how could I achieve a mode switch ...
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 ...
10
votes
4answers
2k views

Video playlists with start and end times

Is there a good GUI-application (for example an mplayer GUI or something like banshee) for linux which allows to make and edit playlists (for video files) with different starting and stopping times ...
10
votes
4answers
747 views

How can I watch Netflix on Linux?

I recently installed Fedora 14 on my home PC so I have a dual boot system running windows and linux. I probably would primarily use Linux on that machine as its older and Linux manages its resources ...
9
votes
5answers
13k views

How can I reverse a video clip?

My OS is Debian 8. I have a file named clip01.mp4 that I would like to reverse, so it plays backwards. Audio can be discarded or reversed as well, doesn't matter. Apparently ffmpeg is deprecated in ...
9
votes
3answers
9k views

Making subtitles (.srt) bigger or smaller with mpv

How do I make subtitle appear larger or smaller with mpv ? The subtitles are in .srt format most of the times but sometimes also in the movie itself ? Is there a way to do that ? Also is there a ...
9
votes
3answers
12k views

Disable Composite without restarting X

In order for me to watch HD videos without tearing, I need to disable my Composite setting in xorg.conf Section "Extensions" Option "Composite" "Disable" EndSection But I love my transparency, ...
9
votes
3answers
32k views

How can I embed subtitles into videos with ffmpeg?

I'm told it's possible to embed subtitles (.srt) into video files (.avi) using ffmpeg, but I can't find any mention of it in the man page. Is this possible? What command do I use?
9
votes
3answers
12k views

Trouble getting VLC to record from the webcam via command line

my ~/.bashrc contains the following function webcamrecord () { vlc v4l2:// :v4l-vdev="/dev/video0" :v4l-adev="/dev/audio2" :v4l-norm=3 :v4l-frequency=-1 :v4l-caching=300 :v4l-chroma="" :v4l-fps=-1....
8
votes
4answers
47k views

How to play RTSP stream under Linux for the BOSCH AutoDome Junior HD IVA camera?

I have a AutoDome Junior HD IVA camera. How do I play RTSP stream in my Linux distro? I tried VLC but it fails. Is there any other reliable tool? Follow up: Try 1: fail $ mplayer rtsp://192.168.1....
8
votes
3answers
9k views

Transcoding MJPEG Stream to FLV or MP4

I want to transcode MJPEG stream that comes from IP camera (http://xx.yy.zz.tt:8080/video.cgi) to FLV or MP4 stream under Linux OS so that users can play the file using a web based Flash player such ...
7
votes
3answers
8k views

How to check if a video is completely downloaded?

I have a bunch of videos which I want to check if they are complete or not. Some of them may be downloaded partially, but they are not faulty. How can I efficiently check if these video are completely ...
7
votes
3answers
14k views

How to get mplayer to play from stdin?

Why doesn't this work? cat /dev/video1 | mplayer - If I could get that to work, then I could play & record video at the same time using 'tee' to feed mplayer and mencoder. I want to play live ...
7
votes
1answer
19k views

No video with HTML 5 player in YouTube under Iceweasel

Today I noticed that I get no video (the audio is there) when watching an YouTube video using the HTML 5 player (enabled on http://youtube.com/html5). If I use the Flash player, all works correctly, ...
7
votes
1answer
4k views

Is there a way to find out the frame-rate of a subtitle file?

While I can find the frame rate of movie via - $ mediainfo $somemovie.$format | grep Frame rate Is there anything which tells the frame-rate of a sub file, (.srt) ?
7
votes
4answers
2k views

Is it possible to view media on the console?

I know the console (outside X11, e.g. /dev/tty1) works in text-mode, but I think if it is possible to play music using programs like cvlc and mplayer, it should be possible to view pictures and watch ...
7
votes
1answer
5k views

Can the focus of a Microsoft LifeCam HD-5000 be fixed at infinity under linux?

I have two Microsoft LifeCam HD-5000 webcams which I am using as a home security system with the Motion package for linux. One problem I have is that because these webcams have auto-focus, sometimes ...
7
votes
2answers
3k views

How to keep YouTube video fullscreen after moving mouse to other screen in Awesome WM?

I've managed to get YouTube Flash videos fullscreen by using two tips, but whenever I move the mouse pointer to a different screen (thereby changing the application focus) the fullscreen mode is ...
7
votes
1answer
5k views

Webcam on Angström

I am running Angström on my BeagleBoard-xm. I want to use a webcam (I have Microsoft LifeCam Cinema and Logitech C310). I installed v4l-utils, libv4l-dev and kernel-module-uvcvideo with opkg. But the ...
7
votes
2answers
12k views

Downsampling a video with avconv / ffmpeg

I know really little about encoding and using avconv / ffmpeg. I am trying to downsample a video as follows: avconv -i blah_in.avi -s 640x360 -pass 1 blah.avi avconv -i blah_in.avi -s 640x360 -pass 2 ...
7
votes
1answer
5k views

VDPAU library not found

I want to try this VAAPI backend for VDPAU. I have compiled mplayer with vdpau in Gentoo Linux (amd64) but I get this error: Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object ...
6
votes
2answers
11k views

How to bind v4l2 USB cameras to the same device names even after reboot?

I have 3 USB cameras on single PC, one camera will be unused and can be ignored. I need to force two identical cameras to be mapped to constant device names (like /dev/video1 and /dev/video2 ). The ...
6
votes
3answers
4k views

Obtain .avi file info from command line

What is the best way to obtain information as bitrate, framerate, width/height of an movie file (in my case .avi) from the command line? I am looking for a basic tool that works similarly as ...
6
votes
2answers
3k views

How to re-encode a DVD into a single file?

A DVD file layout has a directory named "VIDEO_TS" which contains a variety of files. These files can include multiple video and audio channels, subtitles, and menu structure (UI). Is there a format ...
6
votes
4answers
10k views

How can I restore file timestamps of video recordings using the embedded metadata?

I'm looking for a command that will read the metadata of a ‘*.mp4’ file and touch the file's timestamp with the creation time of the video. The command should be read-only with respect to the file ...