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


ADVERTISEMENT

Ubuntu Multimedia :: How To Get File Info With Mplayer

Feb 1, 2010

what do i need to write to get the mediafile info from mplayer?

View 6 Replies View Related

Debian Multimedia :: Up-to-date Binaries Of Mplayer, Mencoder And Ffmpeg

Mar 18, 2010

I'm wondering if anyone distributes mplayer, mencoder, and ffmpeg, up-to-date builds of each and their associated dependencies (x264, faac, xvid, etc).I had to compile all that stuff myself and fought with it, and finally got it working.

If no one distributes latest builds, then I was thinking of going further with what I've done to help others: virtualbox lenny and automated compiles of all packages and putting up the builds, with latest revisions of mplayer and ffmpeg from their source code repos. Using LD_LIBRARY_PATH to isolate the build so any modern linux can run the produced binaries, with only glibc as a dependency.

View 3 Replies View Related

Debian Multimedia :: MPlayer Broken - Incompatible With Version Of FFMPEG

May 11, 2010

I received a few updates today, one of which is mplayer. Now mplayer is broken and from what I can gather it's because it's incompatible with the version of ffmpeg I have installed. But the real problem is that mplayer and ffmpeg were originally installed from the debian-multimedia repo but the update for mplayer is from the debian repo. I can't go back because this new mplayer is dependent on libdirectfb-1.2-9 whereas mplayer from debian-multimedia is dependent on libdirectfb-1,2-0.

In case you want the error from mplayer:
mplayer: relocation error: mplayer: symbol codec_wav_tags, version LIBAVFORMAT_52 not defined in file libavformat.so.52 with link time reference

View 10 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 :: 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 :: 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 :: 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 :: 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 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 :: Video Plays In WMP But Not In VLC / Totem Or MPlayer

Feb 10, 2010

My partner is a teacher and has downloaded some videos from a teacher's resource site but can't seem to play them in Ubuntu. They play fine in Windows XP using Windows Media Player but they only play a few seconds in VLC or Totem and then freeze. The files in question seem to be normal MPG (MPEG-1) video files but somehow VLC and Totem choke on them. I have installed all restricted video formats including w32codecs but still no joy. My partner is threatening to go back to Windows!

View 2 Replies View Related

Ubuntu Multimedia :: Mplayer Save Broadcast Video?

Mar 9, 2010

I would like to save a broadcast video with mplayer but I want do it while they are seeing, I mean, I want see them in real time, but also recording them and see them when I want I've actually got with audio files with:

Code:
mplayer http://whatever/audio -ao pcm:file=/home/user/audio.mp3 It works perfectly, I listen to the audio file from the radio I connected and save the file. But I can't with video, I tried: Code: mplayer http://whatever/video -vo x11 -ao pcm:file=/home/user/video.mp4

View 4 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

Debian Multimedia :: Mplayer Slow Video?

Feb 7, 2011

When playing some HD files Mplayer video is slow compare to sound. Totem plays the same videos with perfect synchronization of voice and video. I have tried all video drivers in Mplayer none seems to work.My version of mplayer is : MPlayer SVN-r31918 (C) 2000-2010 MPlayer TeamRunning Squeeze.

View 1 Replies View Related

Ubuntu Multimedia :: Change Video Source In Gnome-mplayer?

May 3, 2010

I'm just curious if anybody knows how to change the default settings in gnome-mplayer from it using video0 as the video input (which is my built-in webcam), to say video1 (which is my external usb tv tuner). There is no gui option for this.

My issue is not being able to use it for analog video, though it's not a huge deal because I figured out the same very thing for tvtime (video0 to video1). It'd just be another option.

View 1 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 :: Fullscreen Video Playback Doesn't Work In MPlayer

Jan 10, 2010

Fullscreen video playback doesn't work in MPlayer. I don't know if or where this should be reported.

mplayer 2:1.0~rc3+svn2
Ubuntu 9.10 on i386

Code:
mplayer -vo gl filename

[URL]

View 2 Replies View Related

Debian Multimedia :: Mplayer Audio Extraction From Video Files

Dec 9, 2010

I am on Squeeze. In the past I have successfully extracted audio from video files. Recently when I try it I get an unplayable file, just some brief noise nothing more. Mplayer on the other hand plays every video and audio file out there. Is there something wrong with mplayer? I installed mplayer from the repo. I haven't compile mplayer since before Lenny.

View 14 Replies View Related

Debian Multimedia :: MPlayer Video Freezing When Firefox Playing WebM

Aug 7, 2011

i'm using debian wheezy and whenever i'm playing a webm video, typically on videos, totem and mplayer can't play video. the video just freezes. (i assume because they both use gstreamer.) when i try to use vlc when those 2 aren't working, the video does play but there is no sound.

View 3 Replies View Related

Debian Multimedia :: Command Line Utility To Give Info On Video Files

Nov 17, 2010

Is there a command line utility to tell me about what's inside a video file? Say I have a .mpg file. I want to know about the video stream and the various audio streams, the codec used for the video stream, the bitrate of the video stream, and so on.

View 5 Replies View Related

Ubuntu Multimedia :: FlashVideoReplacer: Replace Flash Video Player With Mplayer Plugin (low CPU Usage)

May 18, 2010

I have released a Firefox extension, called FlashVideoReplacer, that automatically replaces embedded flash video object with video/mp4 or x-flv, allowing to watch flash streaming content with a less CPU intensive plugin.

[URL]

View 9 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

Debian Multimedia :: MPlayer Video Output In Layer Beneath Console Text

Jan 26, 2011

When I try to play a dvd and give mplayer no options, it defaults to "X11" for the video output, which maxes out the cpu. To get around this, firstly I tried to play the dvd using "cvidix" in the console.

I used the following command:
mplayer -ao alsa -vo cvidix -fs -framedrop -stop-xscreensaver -dvd-device /dev/dvd1 dvd://1
This played the dvd, but the console text was still visible over the top of the movie; i.e. mplayer was playing in the layer beneath the console text

Then I tried using xvidix in X:
mplayer -ao alsa -vo xvidix -fs -framedrop -stop-xscreensaver -dvd-device /dev/dvd1 dvd://1
This gives a green line about 5mm thick down the right side of the screen, but other than that it is ok.

View 6 Replies View Related

Slackware :: Sbopkg - How To Install Svn Versions Of X264 - Ffmpeg - Mplayer ?

Jan 29, 2010

How users to install the latest svn versions of x264, ffmpeg and mplayer. Primarily, this is important for users who rip movies from dvds.

How do I perform the same tasks using sbopkg? I believe some compilation options must be changed to reflect the svn changes.

Has anyone done this before? Are the steps important when using slackware 13 x86_64?

View 5 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







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