Questions tagged [libav]

Libav is a fork of the popular FFmpeg multimedia tool, best known for appearing in the Ubuntu packages. Include the full, uncut console output when asking for help with a command.

46 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6 votes
0 answers
2k views

Non monotonically increasing dts to muxer in stream 1

I have an error with 1gb videofile and avconv Application provided invalid, non monotonically increasing dts to muxer in stream 1: 177873 >= 177849 av_interleaved_write_frame(): Invalid argument ...
Alex's user avatar
  • 173
4 votes
1 answer
2k views

Why does avconv change the fps when deinterlacing?

I have a .MTS 1080i of 25fps (mediainfo) that I deinterlaced with avconv -i input.MTS -vf yadif -c:a copy output.mp4. As the wiki says, the default value for yadif is 0 which "outputs one frame for ...
Wantoast's user avatar
4 votes
0 answers
715 views

Accurate and reliable movie editing with avconv

I'm trying to perform movie editing in an automated way with avconv. It is made in two steps: extract some parts of an input movie: concatenate the parts to form an output movie: I tried some ...
erdavila's user avatar
  • 163
3 votes
0 answers
5k views

avconv stream video from USB webcam without delay

I need to stream video from USB webcam. I am using avconv, but it has delay min 5s. Is possible to stream in real time without delay? avconv -f video4linux2 -i /dev/video0 -vcodec libx264 -f mpegts ...
martin's user avatar
  • 181
3 votes
0 answers
2k views

Avconv increases file size

I am using the version of avconv in Ubuntu 12.04 to archive videos. I would preferably use some kind of lossless video compression (e.g., huffyuv or FFV1), but using the original video stream (copy ...
Daniel H's user avatar
  • 1,624
2 votes
0 answers
3k views

streaming to rtmp using avconv or ffmpeg

I have an IP webcam HiSilicon Hi3516C that I can successfully access from a raspberry pi. I can get still images by using a command like this: avconv -i "rtsp://192.168.1.10:554" myfile.jpg now ...
Baba's user avatar
  • 121
2 votes
0 answers
3k views

Using avconv to convert an animated gif to mp4 with sound

I want to convert an animated gif and a midi (music) file into a mp4 video. Is it possible? I saw a lot of topics on documentation, foruns and stackexchange sites, but I didn't find. It works with 1 ...
Jonathan Prates's user avatar
2 votes
0 answers
599 views

ffmpeg/avconv crashes when video frame isn't expected size

I'm capturing my webcam using ffmpeg/avconv, but I keep running into this problem: The v4l2 frame is 828212 bytes, but 829440 bytes are expected And then it crashes. It should just skip that frame, ...
Jelle De Loecker's user avatar
1 vote
0 answers
281 views

Why do I run out of memory when streaming video from a webcam to YouTube on a Raspberry Pi?

I am trying to stream video for a YouTube livestream, which I want to stream 24/7 if possible. I have a Raspberry Pi Model 3 Model B with a USB Webcam (Logitech G922). I'm using this command for ...
CamelBlues's user avatar
1 vote
0 answers
53 views

Prevent AVCONV from upgrading A/V quality

I am trying to convert all video files of different formats and qualities into one semi-standard format. Thankfully avconv makes this reasonably easy. This is the command that I am using: IFS=$'\n'; ...
RedHack's user avatar
  • 490
1 vote
0 answers
32 views

libav - readability of text from high resolution to low viewing resolution

Scenario: Trying to create a screencast of a linux system for a tutorial.. The two monitors I have are a combined (3400x1200).. When I play it back on a windows machine, either using VLC or Windows ...
RUERRIC's user avatar
  • 11
1 vote
0 answers
299 views

Cropping with avconv

I am trying to crop a video with avconv avconv -r 25 -i test.avi -vf "crop=out_w=in_w" -b 1024k test2.avi but avconv tells me Invalid chars '=in_w' at the end of expression 'out_w=in_w' whatever ...
Fabio's user avatar
  • 111
1 vote
0 answers
225 views

avconv / ffmpeg covert images to video skips frames when frame type changes

I have an instance of ffmpeg that captures one fps from our home CCTV cameras. At the end of the day I have an ffmpeg script that takes those images and turns them into a video. This is fine with one ...
user3525720's user avatar
1 vote
1 answer
1k views

avconv stream to rtmp via nginx-rtmp-module - convert into html5 file/stream

just keeping things short at the beginning. I stream via rtmp with avconv through a nginx configuration. Catching that stream onto a website is only possible via flash as far as i know. Nowadays it'...
Aim's user avatar
  • 11
1 vote
0 answers
2k views

How do I get avconv/ffmpeg to output video with specific tbn, tbc

My father can only use an old video editor (Pinnacle Studio 12) that is very picky on what video files it imports. Here is the output of avprobe one of the videos it manages to import: encoder: ...
ndemou's user avatar
  • 1,120
1 vote
0 answers
684 views

FFmpeg / libav / Avconv settings to add higher contrast to a video

I successfully convert videos to mp4 from images turning the video black and white, is there a way to add contrast and brightness to balance the higher contrast so that it looks sharper? Here is the ...
Fight Fire With Fire's user avatar
1 vote
0 answers
684 views

Access to IP camera stream

I'm trying to set up three IP cameras I got for using them in ZoneMinder. According to the webinterface of the camera, the stream can be viewed at: http://192.168.47.202:8090/live.asf But, since I'm ...
MrD's user avatar
  • 315
1 vote
0 answers
765 views

Converting RAW Blackmagic Intensity Card frames

I am trying to convert raw video frames that I have captured using a Blackmagic Design Intensity card. The output frames are of the format: YCbCr 4:2:2 packed 8 Bit UYVY Abekas How can I convert ...
Collin Price's user avatar
1 vote
0 answers
969 views

Why can't I seem to get the framerate right when using avconv to convert a sequence of images to a gif?

I need to convert a series of images to gifs. I found three broad ways to do this. One involving ImageMagick, One involving gifsicle and another involving avconv. I can't use Imagemagick because it'...
Nikhil's user avatar
  • 111
1 vote
0 answers
448 views

Piping images to avconv at unknown fps

I am currently reading images from a camera "as fast as possible" (>50fps), outputting them as JPEGs, and piping them to avconv using the image2pipe input. What is a good approach to getting the ...
Nick Spacek's user avatar
1 vote
1 answer
1k views

How to use avconv or ffmpeg to convert any video to an exact size and shape

We have a system that supports streaming video, but we support multiple players. I have multiple systems that I COULD use for this. Currently, I've been using the media server that we use to stream ...
mikecole79's user avatar
1 vote
0 answers
688 views

Use avconv to convert iMovie DV streams to other formats

I have a bunch of DV streams that were imported from a DV camcorder using iMovie. Unfortunately, neither avconv nor VLC seem to be capable of converting these files correctly, whereas QuickTime ...
kapuzineralex's user avatar
1 vote
0 answers
456 views

AVCONV errors while grabbing af stream from an IPCAM

When im trying to grab a stream from my D-Link DSC-932L Cam, using avconv, I keep getting errors. Depending of framerate etc. the proces will terminate whitin a minute. Here is the string and common ...
Jakob Danker's user avatar
1 vote
1 answer
3k views

Encoding multiple video streams with a single avconv invocation

I played with avconv on Ubuntu and I'm now able to e.g. record the desktop with sound from a soundcard. One thing I wanted to do was recording two video inputs at the same time, for instance the ...
automaciej's user avatar
0 votes
0 answers
26 views

Is there a way to increase the visible dimesions of a mp4 video?

I recorded a video on the Kindle and transferred it to the Ubuntu laptop. The mp4 video claims to be 1080x1920 but it is small when run in VLC. Running it in VLC with a crop of 2:21:1 is effective. ...
80432232's user avatar
0 votes
0 answers
236 views

Why is the libvo-aacenc / libvo_aacenc not found?

When using this https://libav.org/releases/libav-12.3.tar.gz library and running in the folder: "./configure --enable-static --enable-version3 --enable-libvo-aacenc" the error "ERROR libvo_aacenc not ...
a a's user avatar
  • 1
0 votes
1 answer
65 views

avconv: create a video from a set of static gifs in a directory

I have a set of non-sequential gif images in a directory and I am trying to combine them into a video using avconv. There are approximately 150 frames of identical size (3400x1600). I would like to ...
timh's user avatar
  • 1
0 votes
1 answer
281 views

hot reload overlay with avconv

I use avconv to encode a rtmp stream. I have a PNG overlay over the video. I would like to, each time the png picture is updated, the overlay is updated to. Si I try to add: -f image2 -loop 1 -i /...
Paul's user avatar
  • 101
0 votes
1 answer
53 views

linux avconv: how to extract a parameter sceme to create new video?

I have different video files, clips. Some are mp4, m4v, flv... withdifferent rates orI don't know which differences more. The point is, I want to merge files, which I created from input files with ...
Linuxwhisperer's user avatar
0 votes
1 answer
879 views

How do I use ffmpeg to increase the framerate of a video without affecting audio quality?

I have a ~30k frame video at 25 fps that I'd like to make 50 fps and keep the same running time. This would probably involve duplicating every frame. However, I'd like the audio track to be unchanged. ...
snazzybouche's user avatar
0 votes
1 answer
828 views

Looping in avconv with -codec copy

This is the command I'm using: avconv -loop -1 -re -i "$SOURCE" -codec copy -f flv "$FACEBOOK_URL/$KEY" I'm struggling with some performance issues when I run avconv on my server to stream a video ...
Justin Powell's user avatar
0 votes
0 answers
221 views

Combining multiple WAV files into a single MP3

I'm trying to combine a number of wav files into a single mp3. The simplest command I can come up with is this: /usr/bin/avconv \ -y \ -i input1.wav \ -i input2.wav \ -i input3.wav \ -i input4.wav \ -...
Luke's user avatar
  • 2,649
0 votes
1 answer
1k views

Specifying icecast protocol options in ffmpeg/avconv on Raspbian Lite

I'm very new at this Raspberry Pi 3 thing, but not afraid to delve into docs and examples. I've cobbled together commands and fixes to record audio from USB device - ultimately trying to stream ...
dbmitch's user avatar
  • 134
0 votes
0 answers
846 views

openRTSP default 25fps encoding (not 24)

I want to capture the RTSP stream from some IP cameras, and after looking around I found 2 great tools to do this: avconv and openRTSP openRTSP -u user password rtsp://10.48.34.125/axis-media/media....
Andrei Tapia's user avatar
0 votes
1 answer
2k views

Basic conversion of sequence of images to avi with avconv

I'm trying to convert sequnce of images to small avi. Each image should be shown 2 seconds. I'm using this basic command sudo avconv -r 0.5 -i test%05d.jpg out.avi I get the output, but it shows ...
Alexander P's user avatar
0 votes
0 answers
841 views

avconv and ffmpeg: errors reading png files

I'm trying to use avconv to overlay data onto a video. I generate PNG files representing the overlay data at 4fps. The PNG files are the 120px wider and 60px taller than the original video, because ...
scottb's user avatar
  • 101
0 votes
0 answers
615 views

Force avprobe format detection

I have a gif file without an extention called loop. the command avprobe loop returns: [mp3 @ 0x7faa59004a00] Format detected only with low score of 1, misdetection possible! avprobe subsequently ...
Tom's user avatar
  • 101
0 votes
1 answer
3k views

Convert mkv with AVC [email protected] to mp4 with ACV [email protected] or higher

I am trying to convert some mkv files I have to mp4 so that they can be played to my chromecast. Here is the information about the video files. mkv file information As you can see that the video ...
Ramis's user avatar
  • 101
0 votes
0 answers
278 views

Ubuntu Screencasting: Libavdevice segmentation fault

I'm trying to stream to twitch a screencast of a remote desktop, but I meet some segmentation fault. The OS is: Xubuntu 14.04 , xfce, x2go I tried with Ubuntu 14.04, Ubuntu 12.04, ffmpeg and avconv, ...
Muad'Dib's user avatar
  • 175
0 votes
0 answers
1k views

FFmpeg/Avconv: Scaling Filter "Error when evaluating the expression"

I'm trying to scale a video with FFmpeg with the following command: ffmpeg -i input.jpg -vf scale="'if(gt(a,4/3),320,-1)':'if(gt(a,4/3),-1,240)'" output_320x240_boxed.png This is taken verbatim from ...
shanet's user avatar
  • 207
0 votes
1 answer
226 views

How can I make the output format of a video the same as the input format?

How can I make the output format of a video the same as the input format for general case? avconv -i source -vcodec copy -acodec copy -movflags empty_moov -f ??? output I would not like to use -f ...
Aftershock's user avatar
0 votes
0 answers
1k views

Understanding avconv console output

I'm using avconv to broadcast a video on justin.tv from my Raspberry Pi. I get it (weakly) working a very few times. Most of the times justin.tv is not being updated and says "disconnected". The ...
PasanW's user avatar
  • 162
0 votes
1 answer
1k views

How do I merge two videos and increase sound volume using Avconv?

I'm trying to merge two cd-s into 1 file and also boost sound volume 200%, I tried this using avconv tool, but I only got cd1 and without an boost in sound: nohup avconv -i cd1.avi -i cd2.avi -vcodec ...
user avatar
0 votes
0 answers
898 views

avconv overlay for live video

I want to combine two stream and I want a single stream with both video in a single stream by simultaniously, both stream want to be visible at a time left half first video should be there and right ...
Thirumalai murugan's user avatar
0 votes
0 answers
808 views

How to loop audio when mixing with longer movie in avconv

Is it possible to loop audio when mixing with longer movie using avconv? I want music to repeat itself through whole movie. In avconv manual i found parameter "-flags loop" but it doesn't work. Music ...
user2123923's user avatar
0 votes
0 answers
3k views

avconv and ffmpeg - drawtext filter text_w evaluates as 0 in Ubuntu Precise

I'm attempting to draw text onto a video using either the avconv or ffmpeg commands. When specifying x= for where on the final video to place the text, the 'text_w' value is evaluating to 0, rather ...
Chris White's user avatar