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 blah.avi
I am aware that this is very simplistic, yet I can't figure out what the problem is.
I'm using aconv to extract audio from some videos, but some weeks ago, the MP3 seems to be ok, but when loaded into my iPhone 4, I can't fast forward or rewind the current track. It only happens with recent aconv created MP3's.
Any idea why?
avconv version 0.8.3-4:0.8.3-0ubuntu0.12.04.1
Here is the command I use
avconv -i video.mp4 -ab 192k audio.mp3
Thanks a lot!
In Feb 2011 I had a similar question: ffmpeg and libmp3lame produces bad audio quality?
Now I'd like to know if it is possible to the get the original audio quality from a (flash) video? Every time I convert a video, the quality is worse than the original quality, not much worse but you can hear the difference.
I have figured out so far that you can cut a section from a video with avconv with a command like this (cuts from 1:00-3:00):
avconv -ss 00:01:00 -i "input.avi" -t 00:02:00 -c:v libx264 -crf 23 "output.mp4"
But how would I cut two (or more) sections from the video and combine them into one video?
I want to make a CD using the audio tracks of some video clips. I was thinking of using avconv to convert the files. As far as the other steps go, I found some instructions on the Arch Wiki.
I'm trying to stream the video and audio a USB webcam using avconv (or ffmpeg) using just port 8080 over a network.
I can successfully stream audio using the following command:
Code:
avconv -f oss -ar 8000 -ac 1 -i /dev/dsp1 -acodec mp2 -f rtp rtp://172.17.2.2:9090
and VLC will read it just fine, with maybe a 1 second delay.
I can successfully stream video using:
Code:
avconv
I've recently upgraded to Ubuntu 12.10 and am attempting to use avconv (in place of ffmpeg) to extract a clip from a longer video.
The command syntax that I am using is
avconv -ss <start-time> -t <duration> -i input-video.mp4 -codec copy output-clip.mp4
So as I want a 1 minute clip starting 30 seconds into an AVI file
avconv -ss 00:00:30 -t 00:01:00 -i input.avi -codec copy
My command:
Code:
sudo avconv -f video4linux2 -i /dev/video0 -r 25 -pix_fmt yuv420p -bt 512k -f flv http://localhost:8090/feed1.flv
Output:
Code:
avconv version 0.8.2-6:0.8.2-1+rpi1+b1, Copyright (c) 2000-2011 the Libav developers
built on Jun 27 2012 01:07:05 with gcc 4.6.3
[video4linux2 @ 0x111b2e0] Estimating duration from bitrate, this may be inaccurate
Input #0, video4linux2
Hello, everyone.
I'm trying to do a live stream of video from an NTSC output, live video that passes through a DVD player before being sent to my computer. I have a em28xx device, and audio recording works fine. The problem is with the video.