0
votes
0answers
5 views

FFMPEG Dump From Webcam Without Encoding

My webcam is capable of outputting h264 video. I would like to dump this directly to a file with no further encoding, lowering cpu usage. using ffmpeg -f v42l -vcodec h264 -framerate 24 -video_size ...
2
votes
2answers
54 views

Is there any equivalent to the atempo ffmpeg audio filter but for avconv to speed up video(and audio)?

As noted here, we could speedup audio with ffmpeg using ffmpeg -i input.mkv -filter:a "atempo=2.0" -vn output.mkv But on Ubuntu, ffmpeg is replaced by avconv, and the atempo filter is not available ...
0
votes
0answers
100 views

avconv stops streaming after some time

I am using raspberry-pi board and a usb camera attached with it. i use avconv tool to capture live video from camera and streaming it on network using rtp protocol. My command on server(raspberry-pi ...
0
votes
0answers
32 views

Apply fadeout effect to video at multiple places

I have a video of 12 seconds, frame rate is 30 frames per second. I want to apply fade out effect to video on multiple places, for example from second 3rd to 4th and from second 7th to 8th. Have a ...
1
vote
0answers
158 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 ...
5
votes
2answers
3k 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 ...
2
votes
0answers
92 views

Libav: Find out the exact time that the first frame coming from an RTSP stream was dumped into a file

I am dumping an RSTP stream from a web camera into a file using avconv: avconv -f rtsp -rtsp_transport tcp -i rtsp://user@password/ 192.168.1.4/stream.cgi -t 100 -c:v libx264 -s 1024x768 -an ...
2
votes
1answer
199 views

Remove nth frames of a gif (remove a frame every n frames)

I've recorded a .gif of the screen with ffmpeg. I've used gifsicle and imagemagick to compress it a bit, but it's still to big. My intent is making it small by removing, say, a frame every 2 frames, ...
1
vote
0answers
577 views

Rotating a video (ubuntu 12.04)

I have a video, shot on my android phone, which I want to rotate 90 degrees clockwise for computer viewing. Here's what I expect should work: ffmpeg -i infile.mp4 -vf "transpose=1" -an -vcodec mpeg4 ...
3
votes
1answer
177 views

Need script: latest JPEGs to video, then delete old JPEGs

I have an IP cam which uploads JPEG pictures to an FTP folder on my Arch Linux box whenever it detects movement in the room it is looking in. It uploads a JPEG every second until all motion activity ...
1
vote
2answers
7k views

How to stream video from webcam to network with ffmpeg?

I'm trying to stream h264 video from my Logitech C920 webcam. I'm using such ffserver.conf: Port 8099 NoDaemon BindAddress 0.0.0.0 RTSPPort 5004 RTSPBindAddress 0.0.0.0 MaxClients 10 ...
5
votes
2answers
6k 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 ...
2
votes
2answers
2k views

Mass deinterlacing with FFmpeg on Debian

I have about 300 videos, on a Debian server, stored in the following manner: /mediaroot/1/m32.mp4 /mediaroot/2/m421.mp4 /mediaroot/n/mx.mp4 They all need to be deinterlaced, and I want to do it ...
1
vote
1answer
1k views

Ffmpeg problems on centOS 5.8 64 bit

I did install ffmpeg with winff, unsuccessfully when I try converting avi to x264, it says I don't have it. When I try to convert mp4 to Xvid I get unknown encoder 'libxvid'. It's like nothing really ...
3
votes
2answers
3k views

How do I convert a MKV file to H.264/AVC with a resolution of 640x360 using FFMPEG?

I have a MKV video which I want to put in my mobile (a Nokia XM 5800) and based on this I can play H.264/AVC format videos on it. Based on what I have read, the container should be MP4 and I can ...
11
votes
1answer
27k 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 ...
2
votes
1answer
1k views

Is there a way to demux a h264 video stream from an flv (h264, aac)?

Using ffmpeg to demux an h264 stream from a .flv video always gives me a stream which I cannot remux into a .mp4 container (using either MP4Box from package *gpac), or ffmpeg). Here is the demuxing ...
4
votes
3answers
17k 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?
1
vote
1answer
381 views

ffmpeg could not open file.mpg

When I want to convert a video with the following command: ffmpeg -i file.wmv -sameq file.mpg it ends with this error message: FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1.1, Copyright (c) 2000-2009 ...
11
votes
4answers
6k 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?
4
votes
3answers
2k 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 ...