Ubuntu Multimedia :: Ffmpeg To Resample Audio But Leave Video Unchanged?

Mar 1, 2010

I'm trying to write a bash script for gpodder to automatically convert video podcasts to play on my media player. I'm using ffmpeg for the conversions (compiled myself with all codecs enabled). I'd like to avoid resampling the video or audio whenever it's unnecessary but ffmpeg seems to want to resample my video even if I only give it audio parameters to change.For example I have a test video with the following parameters:

Code:
Stream #0.0(eng): Video: h264, yuv420p, 640x480, 1394 kb/s, 29.97 fps, 29.97 tbr, 2997 tbn, 5994 tbc
Stream #0.1(eng): Audio: aac, 44100 Hz, stereo, s16, 159 kb/s

[code]...

View 2 Replies


ADVERTISEMENT

Ubuntu Multimedia :: Convert Video To Audio Use Ffmpeg?

Jul 15, 2010

I want to convert all video file in folder a become audio file in folder b use ffmpeg, how to type it in terminal?

View 7 Replies View Related

Ubuntu Multimedia :: User Friendly Video Converter - Ffmpeg Cannot Convert A .avi To .3gp With Audio Working

May 15, 2011

i am using Ubuntu 11.04 on my computer system. I urgently need a good video converter for converting videos.I have already installed FFmpeg and men-coder,Winff etc. The problem is each has its own drawback.For instance ffmpeg cannot convert a .avi to .3gp with audio working. My preferences are the converter should be user friendly, should support all popular video formats.

View 2 Replies View Related

Ubuntu Multimedia :: Ffmpeg Audio Merge With Video Merge

Feb 22, 2011

I am using ffmpeg for merge wav files to a mov video. My doing is below

1. First extract audio (wav file) from video
2. Create wav file from mp3 track 1
3. Create wav file from mp3 track 2
4 Merge extract audio from video with track 1 and track2.
Now finally create a new video with original video's video stream and merged audio stream.

Process is working. However final video is 3-4 times greater than original one. I want that final video should be near about size of original video. As I understand, all three wav files (created from ) make video larger.

Example commands i using is as below:

View 6 Replies View Related

Software :: FFMPEG Encoding WMV3 Audio And Video To FLV

Feb 19, 2010

I'm trying to encode a wmv file to flv with ffmpeg. The video codec is WMV3 and the audio codec is wmap (Windows Media Audio Professional). The command I use is:

Code:
/usr/bin/ffmpeg -i <input file>.wmv -s 640x350 -b 1024k -r 25 -ar 44100 -ac 2 -y <output file>.flv
Output:

Code:
FFmpeg version 0.5-svn17737+3:0.svn20090303-1ubuntu6, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --extra-version=svn17737+3:0.svn20090303-1ubuntu6 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --disable-stripping --disable-vhook --enable-libdc1394 --enable-shared --disable-static .....

Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
[wmv3 @ 0xb32c00]Extra data: 8 bits left, value: 0
Unsupported codec (id=86056) for input stream #0.1

As you can probably see the audio codec is not supported. Is there a way to encode WMV3+wmap with ffmpeg or any other tool in Linux? Windows Media Encoder in Windows is able to encode such files to a supported codec. For example: WMV3+WMA2/WMV2+WMA2, I could then encode it in Linux. I'm trying to find a way to directly encode WMV3+wmap in Linux.

View 14 Replies View Related

Software :: Ffmpeg And Mencoder Slice Mp4 Video Audio Out Of Sync

Jan 7, 2010

I am trying to use ffmpeg and mencoder to slice a portion of my video out but the audio is always 2 seconds out of sync.

ffmpeg -i bird.avs.MP4 -acodec copy -vcodec copy -ss 00:08:40 -t 00:01:00 test.mp4
mencoder -ss 00:08:40 -endpos 00:01:00 -oac copy -ovc copy bird.avs.MP4 -o test.mp4
mencoder -ss 00:08:40 -endpos 00:01:00 -oac copy -ovc copy -noskip bird.avs.MP4 -o test.mp4

[Code]....

View 5 Replies View Related

Ubuntu Multimedia :: Record Audio Desktop With Ffmpeg?

Mar 22, 2010

I creating a mini soft for screencast (audio + video) with ffmpeg.For the video,it's ok.For the sound, the capture of sound of my webcam (/dev/dsp1) it's ok.

Code:
ffmpeg -f oss -ar 44100 -i /dev/dsp1 -acodec mp2 -ab 128k test.mp3
But for my audio desktop :

[code]...

View 8 Replies View Related

Ubuntu Multimedia :: FFMPEG Audio Capture With Jack Or OSS

Apr 18, 2011

I'm looking for configuring a Ubuntu box, we need to capture alsa output into ffmpeg with jack or OSS but not pulseaudio, as that tends to glitch badly. We have things working, but we are sort of hacking around in the dark, we play music, but as we aren't linux audio experts ourselves.

View 1 Replies View Related

Ubuntu Multimedia :: Ffmpeg / Avc / Mp4 - Video Not Working On HTC G1?

Aug 31, 2010

I'm having trouble to find the right ffmpeg options to encode a video that can be read on a htc G1 cell phone. I have used several codecs and formats but none is working.

I have followed these instruction to install ffmpeg and x264 [URL]

Here is my ffmpeg config :

Code:
FFmpeg version SVN-r24953, Copyright (c) 2000-2010 the FFmpeg developers
built on Aug 27 2010 22:44:01 with gcc 4.4.1
configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-

[Code].....

View 3 Replies View Related

Ubuntu Multimedia :: Getting Video Info With Ffmpeg / Mplayer?

Feb 19, 2010

I am trying to get a listing of video information using ffmpeg or mplayer. I have found a way BUT it is only returning 1 piece of info..

Here is what I'm doing in PHP:

print exec("/usr/local/bin/mplayer -identify file.flv -ao null -vo null -frames 0 2>/dev/null | grep ^ID_");

But this will not provide an entire listing, it will only print out 1 thing such as:

ID_AUDIO_CODEC=mp3

I can specify what exactly I want to know something like:

print exec("/usr/local/bin/mplayer -identify file.flv -ao null -vo null -frames 0 2>/dev/null | grep ^ID_VIDEO_WIDTH");

but I want to just have all the info available at once instead of having to loop through like 20 times..

View 3 Replies View Related

Ubuntu Multimedia :: Ffmpeg Command To Make A Video From One Mp3 And One Png?

Jun 5, 2010

is there a command to create a video from a mp3 and a png suitable to upload on ..... if anybody knows?

View 4 Replies View Related

Ubuntu Multimedia :: Ffmpeg Video Capture - From A Webcam ?

Aug 30, 2010

Anybody had any success in getting ffmpeg to work as advertised with video capture from a webcam? I really want to convert the webcam output to VP8 or H264, but apparently ffmpeg can't even capture the webcam with a video4linux device.

Code:

View 9 Replies View Related

Ubuntu Multimedia :: Trim Video In FFmpeg Is Not Accurate?

Aug 13, 2011

I tried to trim a video in FFmpeg using this command:

Code:
ffmpeg -ss 00:20:48.500 -t 00:01:00 -i INPUT.mp4 -acodec copy -vcodec copy OUTPUT.mp4

But FFmpeg is not accurate and it started the video from a nearby point instead (from 00:24:46~). I tried to add 2 seconds to my starting point and it took another frame (not what I wanted).

The video source is H264 video with AAC audio.

View 8 Replies View Related

Ubuntu Multimedia :: Lossless Padding Of H264 Video With Ffmpeg?

Mar 11, 2011

I have some videos in an mkv container that are 1920 pixels wide, but less than 1080 pixels high. This causes problems when playing the videos on a PS3 (after converting to an AVCHD system), because the PS3 won't centre the video, leaving a very large black bar at the bottom but none at the top. Is there a way to use mencoder or ffmpeg to losslessly add padding to the top and bottom to make the video 1920x1080?

If I use

Code:

ffmpeg -i video.mkv -acodec copy -vcodec copy -scodec copy -padtop 132 -padbottom 132 out.mkv

then ffmpeg won't do the padding, and the resulting file is basically exactly the same. If I use

Code:

ffmpeg -i video.mkv -acodec copy -vpre libx264-lossless_fast -scodec copy -padtop 132 -padbottom 132 out.mkv

I get

Code:

Output #0, matroska, to 'anr.mkv':
Metadata:
encoder : Lavf52.64.2

[code]......

View 1 Replies View Related

Ubuntu Multimedia :: Make Exact Video Quality Conversion With Ffmpeg?

Jan 3, 2010

I spent about a half hour wrestling with different website tutorials about how to convert a file with ffmpeg and figuring out how to get all the video quality options right. Then I discovered you can just use the -sameq option and it figures it all out for you if you don't want to change the vid quality but just want it in another format. Thought I'd leave this on the site in case anyone else finds himself in the same boat.

View 1 Replies View Related

Ubuntu Multimedia :: Loop A Video A Number Of Times In Ffmpeg Or Mencoder?

Jun 5, 2010

How do you loop a video a number of times in ffmpeg or mencoder? I made a ogv out of a gif. It loops 1 time, so it's less than a second.

View 4 Replies View Related

Ubuntu Multimedia :: Ffmpeg And How To Convert Video To Nokias 5800 Phone Format

Jul 31, 2011

command line option in ffmpeg to do this

I am told I need the output file to comply with this

Video Resolution: 480*320
Video Bitrate: 768 kbps
Audio Bitrate: 128 kbps
Video Format: MPEG-4 (be sure not to use H264, as it�s not supported in the current firmware)

[Code]....

View 3 Replies View Related

Ubuntu Multimedia :: Separate The Audio And Video Streams, Speed Up The Video?

Apr 20, 2011

I have a video file in which the audio runs faster than the video, so they quickly go out of sync. The way to fix it would be to separate the audio and video streams, speed up the video (the audio is FINE, it's the video that's wrong), and then recombining them. What is the easiest way for doing that?

View 7 Replies View Related

Ubuntu Multimedia :: Flv Video + Audio To Ogg Audio Only?

Dec 22, 2010

Is there an application that anyone knows about that I can use to convert either an .flv or .ogg file that contains both audio and video to just an audio .ogg file (preferably vorbis+theora) without audacity? I'm fairly certain audacity could accomplish this but it seems like overkill for what I'm trying to do and the computer I'm trying to use does not run it so well.

::EDIT:: I should also mention that I've tried looking on google. I did find downloadhelper extension for firefox which uses ffmpeg to convert the files but I don't see any obvious way to strip the video.

View 2 Replies View Related

OpenSUSE Multimedia :: Capturing Video Stream From Webcam - FFmpeg Relocation Error

Jul 24, 2011

I am having problems with ffmpeg. My goal is to capture a video stream from my webcam and feed that into a webcam-capturing program. But to get that to work, I will need ffmpeg to work. I need the following command to work, but I get an error:

Code:
$ ffmpeg -b 100K -an -f video4linux2 -s 320x240 -r 10 -i $device -b 100K -f image2pipe -vcodec mjpeg - | perl -pi -e 's/\xFF\xD8/KIRSLESEP\xFF\xD8/ig'
ffmpeg: relocation error: /usr/lib/libavfilter.so.2: symbol avformat_find_stream_info, version LIBAVFORMAT_53 not defined in file libavformat.so.53 with link time reference

View 1 Replies View Related

Ubuntu Multimedia :: FFMPEG Scaling - Get Some Weird Green Band At Bottom Of Frame In Converted Video

Jan 14, 2011

I've got a 1920x1080 video I've edited and rendered with Cinelerra, and I'm trying to use ffmpeg to transcode it to something smaller. However, when I use a command like this, for instance:

Code:

I inevitably get some weird green band at the bottom of the frame in the converted video. I know that there's some weird pixel stretching going on here, because the NTSC standard for 16:9 is 720x480 with rectangular pixels, and the 1080 version has square pixels, so I'm guessing the green band is an artifact of that process?

View 2 Replies View Related

Ubuntu Multimedia :: Ffmpeg 6 Is Out For Some Time When Will Lucid Afford Such A New Ffmpeg?

Jul 20, 2010

Since ffmpeg 6 is out for some time, when will Ubuntu Lucid afford such a new ffmpeg package from its repository?

View 2 Replies View Related

Fedora :: 11 Multimedia - Video Players Doesn't Play Video - Show Only Black Window And Play Audio

Aug 23, 2009

To get multimedia working, or explain what I'm doing wrong.

The problem is that none of the video players doesn't play video, they show only black window and play audio.

I have Fedora 11 Leonidas, fully up-to-date.

I have installed rpmfusion and livna repository.

I have installed following packages:

When I try to play video with totem, it doesn't output any error, but just doesn't play video.
with mplayer:

xine and kaffeine just say:

vlc:

I tried several different files, which works perfectly in windows and ubuntu.

I installed windows binary codecs for mplayer to /usr/lib/codec/

View 2 Replies View Related

Ubuntu Multimedia :: Extract Audio From Video?

Feb 23, 2010

I have a video file I wish to extract the audio from .... its a seminar that was recorded in mpeg but all i need is the audio into mp3 .

View 9 Replies View Related

Ubuntu Multimedia :: Separate Video And Audio?

Jul 9, 2010

I want to separate video and audio from movie file, how to do it in Ubuntu? And how to combine video and audio in Ubuntu?

View 2 Replies View Related

Ubuntu Multimedia :: No Audio When Playing Mp4 Video

Dec 11, 2010

I'm not getting audio when I play a video file.

Code:

mplayer Naruto/Naruto Shippuuden - 185 v2.mp4
MPlayer 1.0rc4-4.4.5 (C) 2000-2010 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory

Failed to open LIRC support. You will not be able to use your remote control.

Playing Naruto/Naruto Shippuuden - 185.mp4.
libavformat file format detected.
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang und

[code]...

View 2 Replies View Related

Ubuntu Multimedia :: Play MP3 Audio & MP4 Video In 10.10?

Jan 7, 2011

What program can i download & install to play my MP3 Audio files & my MP4 Video files in Ubuntu 10.10?

View 3 Replies View Related

Ubuntu Multimedia :: 9.10 - Video Working But Audio Does Not

Jan 20, 2011

I have ubuntu 9.10. Video is working , but sound not working. When I type, sudo aplay -l, a message **** List of Playback Hardware Devices **** shown. But there is no list. My computer is Intel 810 onboard sound AC '97 (codec ) system. More information in this page: [URL]

View 1 Replies View Related

Ubuntu Multimedia :: How To Fix A Video's Audio Track

Mar 22, 2011

I've recorded some video in the field, i.e. outside, windy, noisy, etc. I would like to strip out the audio, clean it up in Audacity and then repatriate it back to the video. Video is in .mp4 format.

View 9 Replies View Related

Ubuntu Multimedia :: .box .idx Video - Audio Files

Apr 18, 2011

My work just installed a new surveillance system and it uses .box video files and .idx audio to go along with it. They have a windows program to view them but I would love to keep on using my Ubuntu laptop.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved