Ubuntu Multimedia :: How To Get File Info With Mplayer
Feb 1, 2010what do i need to write to get the mediafile info from mplayer?
View 6 Replieswhat do i need to write to get the mediafile info from mplayer?
View 6 RepliesI 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..
so i cannot install anything because update-info-dir file is missing from /var/lib/dpkg/info/ .. I've searched for the last day and a half for a way to fix this, but nothing. can't even update dpkg because of this. so how do I bypass or fix this so I can install stuff (this is a fresh install of ubuntu 10.04 lts Lucid Lynx).
View 9 Replies View RelatedWhen trying to play a MP3 file without extension, mplayer shows this message:
Quote:
$ mplayer file
MPlayer SVN-r29237-4.4.1 (C) 2000-2009 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
[code]....
It does not happen with all the files I've tested, but only some of them, is there an option to indicate mplayer that the file is actually in mp3 format?
I tried to play a certain mkv file, AVC AAC, 720, but I got these error messages:
Code:
MPlayer 1.0rc4-4.5.2 (C) 2000-2010 MPlayer Team
Playing [Coalgirls]_Serial_Experiments_Lain_01_(1008x720_Blu-Ray_FLAC)_[F0EF8AF8].mkv.
[mkv] Track ID 1: video (V_MPEG4/ISO/AVC) "Serial Experiments Lain 01", -vid 0
[mkv] Track ID 2: audio (A_FLAC) "2.0 FLAC", -aid 0, -alang jpn
[mkv] Track ID 3: audio (A_FLAC) "2.0 FLAC", -aid 1, -alang eng
[Code]...
How to get info (length, etc.) about music files in command line? Nautilus can show it on the file's Properties > Audio tab.
View 2 Replies View RelatedI have to use mplayer, using the gmplayer executable, in order to see some HD videos in MTS file format from my digital camera, and though they play reasonably in mplayer it is impossible to control the video as the control window is blank and black, as is the video window until the video starts to play. See screenshot. I have an ATI 9200SE video card, sempron 2400+ cpu, 2GB ram, if that makes any difference. I have never had this problem in previous Ubuntu versions, only now in Lucid, fully updated. I have the packages mplayer, mplayer-gui and mplayer-skins installed. Can anyone tell me what I'm missing.
EDIT: OK, problem over. To get the best from my ATI card I was using 16 bit colour. Discussions last night on another forum questioned many things which made me look again at that, and a change of colour depth has solved that difficulty. I now need to make sure that the24 bit colour does not introduce other problems which are more difficult to live with, but my xorg.conf is customised and edited from the one I needed to get any display from karmic, so it is possible that I may be able to live with 24 bit colour now in Lucid.
I plugged in my USb drive into my computer yesterday and tried to delete a folder. I was unable to do so and got the following message
Cannot move file to trash, do you want to delete immediately? The file "my file" cannot be moved to the trash. Show Details Unable to create trashing info file: Read-only file system
So when I click on delete I get another error message:
Error while deleting.
There was an error deleting Case Study Database. Show Details Error removing file: Read-only file system
At this point I can only click on Skip, Skip All, or Cancel.
I have not changed anything on the stick recently so I dont know what is causing the problem.
I want to create a logon script (or somesuch) that creates a file (if it doesn't already exist) and checks the file for some info otherwise. If it finds a given trigger in that file, it logs into a local database and does some operations.
Now my problem isn't with creating that file or even getting it to function as a logon script -- it's with permissions. After the logon script creates the file, I want that user to have read access on it ONLY. Further, I don't want to give the user any kind of root access so that they could do the database operations in question or chown/chmod the file.
What's the best practice here? I'm noticing that whenever the script runs (in .bashrc right now) the script runs with the current user's permissions. Ideally, I'd like to make it so the login script can run at a higher level of permissions, (higher than the user has). Is this even possible? What's the best way to do this?
Is there any way to "unlock" file info in Koala to become visible in the properties of that file? For example, when opening an .mp3 in VLC and checking the information, I am able to see and edit extra info that I do not see when simply right clicking the file and selecting properties. Another example is that GIMP saves comments to images, but I have nowhere to view these comments once they are saved. I would like to see more info when checking the properties of a file, dare I say like Windows enables users to. So is there a terminal code or plugin that I can install?
View 2 Replies View RelatedI have this wma file that I want to play and I looked around and found alot of ways to make this happen. However, none has work for me. But first let me explain my problem. I have these wma files that just wont work but they worked once before. Now when I try to open the files all I get is some message that the file can not be opened. I have done many efforts to make it work including things like medibuntu. BTW, there was this once moment that when I tried to open the file it PLAYED! but then after it did not open.
View 3 Replies View Relatedi had just install apache , mysql and php 5...apache is starting from localhost but how to test php ?
i created a file named as " info.php " which contain the foll code <? php phpinfo(); ?> but i m confuse how to save it in " var/www/html/ " which is a root directory of apache and from where we can acess the info.php files by http://localhost/info.php
how to run the file info.php ?
I'm having a problem running Mplayer in Ubuntu 9.1. I've installed and uninstalled several times. Mplayer refuses to open from the applications menu.n I attempt to open from terminal it comes up with the following: mplayer: error while loading shared libraries: /usr/lib/i686/cmov/libavcodec.so.52: file too short I've also tried other players such as Gnome Mplayer to play the video and it plays really fast with no audio or video. This has really been the only problem i've run into since switching from windows to linux two weeks ago.
View 3 Replies View RelatedI've installed both mplayer and mplayer-gui packages, but I cannot find and launch mplayer with graphical interface. I want the classic mplayer's gui and seems that isn't there after installed. Doesn't appear ind applications on launcher and when I'm trying to run from terminal the mplayer-gui command I get the error:command not found. So, where is mplayer-gui and how to get it back. This problem doesn't exist in any previous ubuntu version.
View 3 Replies View RelatedI'm currently using Debian Testing with Debian Multimedia Sid repos. The current Mplayer (3:1.0~rc4+svn20110308-0.0) seems to be broken - I can't encode AAC to AC3 on-the-fly anymore. I'd like to compile the latest snapshot or SVN version, but what is the easiest way to compile it with the same options as the one in debian-multimedia.org?
View 3 Replies View RelatedI have been comileing that kinect hack with the 3d video capture. i did everything, calibrated cameras and everything else but when i try to open the final program (KinectViewer) i get back this error: Caught exception Misc::File: Error opening file CameraCalibrationMatrices-B00363201643043B.dat in mode rb. From what ive gathered off the web it is not opening it because its in binaly mode or something to that affect. any tips to fix it? is there a way to change what mode im in?
View 2 Replies View Related-The Mkv video file cannot be opened by the Mplayer due to something that I don't know. I try to open it via the gnome-terminal and end up with something like this:
The, I try to play it with VLC media player. Everthing seems fine but after few minutes, I can see the lagging of the video and distractions on the screen.
Then, I've open my Windows 7 and play the mkv files with the KMplayer, everything is fine. No lagging, no distractions.
I've already updated the ubuntu-restricted-extras. I've already installed the libxine1-ffmpeg and nothings good appeared.
I've already installed the mkvtoolnix-gui (which is i don't know what is it) but similar prob appear.
how did play mkv files? With no lags or disctractions?
been playing around making a server to play some games on running centos 5.5
what ive spent a while looking for (a few days) is a way to make a file which i will call startup this will contain some values
Code:
mod_directory="etpub"
port="27960"
log_name="console.log"
vm="0"
dedicated="2"
[Code].....
I am using Rythmbox for Ubuntu 9.10. I want to alter the tag info for certain songs because it is incorrect. but when I open the properties window to do so, it won't let me type in the field......I can highlight the text, but not change it
View 2 Replies View RelatedIf I insert music CDs into my disc drive, Banshee can't fetch the track information and just displays everything as Track 1, Track 2,etc...
View 5 Replies View RelatedI am trying to take advantage of VDPAU for playing video files with my ASRock ION 330. As far as I know, MPlayer and VLC both include VDPAU support. Ok then, I managed to make MPlayer work from the command line:
mplayer -vo vdpau -vc ffh264vdpau ./filename.mkv
In this way it plays a 720p content smoothly, with under 10% CPU use. Great!The problem is when I try to make this permanent, i.e., configuring the files ~/.mplayer/config and ~/.mplayer/gui.conf.This is what I have in there:
config
======
vo=vdpau,xv,
vc=ffh264vdpau,ffmpeg12vdpau,
[code]....
But still, when I open MPlayer from the menu, no matter what file I try to open it gives this ugly message:Error opening/initializing the selected video_out (-vo) device. With regard to VLC, I had no luck, although I am using the latest "1.0.3 Goldeneye" version, I don't know how to make use of VDPAU.
Running Lucid Lynx. VLC works fine but Xvmc output uses less CPU on my PIII 750 laptop and isn't supported by VLC. I installed Mplayer but I can't play anything from the Mplayer GUI. I get the message "FATAL: Could not initialize video filters (-vf) or video output (-vo)". The interface is all black so I can't see the controls. I installed Gnome Mplayer GUI and now I have different problems. Playing video files, including VOB files from a DVD works fine. Trying to play a DVD with or without menues does not. I followed the instructions at URL.... What could be wrong?
View 3 Replies View RelatedSo I'm running Ubuntu 10.10 64-bit on an HP Mini 210-1190NR. Everything runs fine except mplayer. I installed mplayer from the repos but when I try to play a video I get no sound. I can't figure out why.
Here's the output:
Code:
mplayer star.wars.the.clone.wars.s03e10.720p.hdtv.x264-ctu.mkv
MPlayer SVN-r32636-4.4.5 (C) 2000-2010 MPlayer Team
160 audio & 350 video codecs
Playing star.wars.the.clone.wars.s03e10.720p.hdtv.x264-ctu.mkv.
Cache fill: 3.12% (262144 bytes)
[Code]...
I'm trying to use mplayer to stream some content from the net to my desktop. This worked fine the first time I did it (though failed dismally on all subsequent occasions. Now, the first umpteen times, I was behind a proxy. Now I am not behind a proxy, but mplayer still looks for the proxy settings. Why? I have changed the proxty settings in the network proxy (applied globally), in Firefox and every where else I can think of. I use the following command:
Code:
mplayer -dumpstream -dumpfile ~/Desktop/<desired_filename>.avi http://<source>.avi
and I'm told in response
Code:
Resolving www<proxy> for AF_INET6...
What gives? Why is mplayer trying to use a proxy, and how can I tell it not to?
How can I edit the song info found in MP3 files and other audio file formats in Ubuntu 9.04 64-bit other then using Rhythmbox?
It's a pain to use Rhythmbox to edit the artist, album, year, Genre and other info of each song because you have to find the song by it name and then change the info. There is no way to put it in a view as folder or drive name or partition so you can simply go to where the files them selves are on the drive and edit mutiple files at the same time without having to search for each song individuly.
In XP all you need to do is right click and select properties and then edit the info there but in Linux all you can do is view the info under properties.
how to work properly on the windows forms application in c++.
the thing is that i was able to produce in the windows forms application a web browser and I added a save button. So know I am able to navigate predeclared webpages such as [URL]and then I entered google's search box such as "spread of H1N1". and I surf a page such as [URL] I later save the page as text file on my computer.
I wanted to know how to organize the words in the text file ? i mean how can i just get the number of infected people in USA , number of infected in CANADA (if they exist) from all the text file and change it to a file with precise data.that is to eliminate the unneeded information such as the the characteristics and the useless ideas? and what if i also wanted to know the characteristics of the virus in a country+the number of infected?. How can i do it?
I have spent some time in photoshop. And I remember a useful feature in it, where Photoshop can tell you info about the image, by pressing on the properties or something. Photoshop can say what the picture was taken with (mobile / camera) and what date.
I run Ubuntu now is there anyone who knows a program which can do the same for Ubuntu? I can't find anything in GIMP
I have searched the web and these forums and have come up empty-handed. There must be a way... even and easy way... to submit or edit freedb information for a CD. Grip supposedly had the ability but 1) it seems to be no longer maintained and 2) it seems it requires sendmail to be installed. I've read that submissions can be made by email, but 1) I've found no information on how to do this (ie structure and content of email) and 2) that's a lame way to have to do this.
This shouldn't be difficult (much less impossible). What am I missing?
All cd's I try to load give me unknown audio. This is occurring on three different boxes running Natty. Was working fine.
View 3 Replies View RelatedThe DVD is mounted. From the console, I input "mplayer dvd://", and I receive the following output:
MPlayer SVN-r29237-4.4.1 (C) 2000-2009 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.
[code].....