Playing *.dat files with mplayer or xine
Hi all, I have been trying to play a video file in *.dat format, whatever the dat extension means. The file plays well in windows. When i try to play it using mplayer it gives the following message and quits. MPlayer 1.0pre6-3.3.3 (C) 2000-2004 MPlayer Team CPU: Intel Pentium 4/Xeon/Celeron Northwood (Family: 8, Stepping: 4) Detected cache-line size is 64 bytes CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled with runtime CPU detection - WARNING - this is not optimal! To get best performance, recompile MPlayer with --disable-runtime-cpudetection. Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts. Opening joystick device /dev/input/js0 Can't open joystick device /dev/input/js0 : No such device Can't init input joystick Setting up LIRC support... mplayer: could not connect to socket mplayer: Permission denied Failed to open LIRC support. You will not be able to use your remote control. Playing avseq01.dat. Seek failed Exiting... (End of file) I installed Mplayer from Pacman's site using Synaptic. So I guess there shouldn't be any problems with the codecs. Then I tried to play the same file using Xine. This is one of the messages it gives. I am not putting the whole lines. I think this is the most relevant one. It says, 'There is no demuxer plugin available ... means file format not recognised' I press More on the window and get this xine : couldn't find demux for >avseq01.dat< among other messager. I say file * on the command line and it gives this: avseq01.dat: ERROR: cannot read `avseq01.dat' (Input/output error) Anyone faced this before. Anyhelp is appreciated. And one more thing is that I am able to play some wmv files but not others. Regards, Chaitanya. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
On Saturday 07 May 2005 23:06, Chaitanya Krishna A wrote:
I installed Mplayer from Pacman's site using Synaptic. So I guess there shouldn't be any problems with the codecs.
Did you just install the mplayer rpm, or did you also get all the codecs. From the sounds of things, you might be missing a few of those. I've sofar been able to play just about any file with the rpms from Packman, including all wmv and dat files, and dvds as well. Regards, Pieter Hulshoff
On Saturday 07 May 2005 05:06 pm, Chaitanya Krishna A wrote:
Hi all,
I have been trying to play a video file in *.dat format, whatever the dat extension means.
This sounds like a winmail.dat file which Outlook creates when sending an email. If someone uses Outlook to send you a video file and it gets placed into a winmail.dat (or maybe some other kind of .dat), then another Windows machine using Outlook would know how to get the file out of the .dat and use it... However linux wouldn't know how unless you do some extra work. Winmail.dat files can be processed by a command called tnef in linux to extract the file... No, I'm njot an expert on this but just trying to explain to you what is happening. I don't think you will have any luck trying to use the .dat file as it is.\ Maybe someone else can provide more information and I also have seen ways to set up firefox to use tnef but I haven't done it myself.
The file plays well in windows. When i try to play it using mplayer it gives the following message and quits.
MPlayer 1.0pre6-3.3.3 (C) 2000-2004 MPlayer Team CPU: Intel Pentium 4/Xeon/Celeron Northwood (Family: 8, Stepping: 4) Detected cache-line size is 64 bytes CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled with runtime CPU detection - WARNING - this is not optimal! To get best performance, recompile MPlayer with --disable-runtime-cpudetection. Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts. Opening joystick device /dev/input/js0 Can't open joystick device /dev/input/js0 : No such device Can't init input joystick Setting up LIRC support... mplayer: could not connect to socket mplayer: Permission denied Failed to open LIRC support. You will not be able to use your remote control. Playing avseq01.dat. Seek failed Exiting... (End of file)
I installed Mplayer from Pacman's site using Synaptic. So I guess there shouldn't be any problems with the codecs.
Then I tried to play the same file using Xine. This is one of the messages it gives. I am not putting the whole lines. I think this is the most relevant one. It says,
'There is no demuxer plugin available ... means file format not recognised' I press More on the window and get this
xine : couldn't find demux for >avseq01.dat<
among other messager.
I say file * on the command line and it gives this: avseq01.dat: ERROR: cannot read `avseq01.dat' (Input/output error)
Anyone faced this before. Anyhelp is appreciated.
And one more thing is that I am able to play some wmv files but not others.
Regards, Chaitanya.
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
On Saturday 07 May 2005 18:08, Bruce Marshall wrote:
On Saturday 07 May 2005 05:06 pm, Chaitanya Krishna A wrote:
Hi all,
I have been trying to play a video file in *.dat format, whatever the dat extension means.
This sounds like a winmail.dat file which Outlook creates when sending an email.
Nope. It's a aviseq*.dat as found on a VCD. However, neither xine nor mplayer are able to play them directly. To the OP: You *can* convert that dat to an mpg using vcdgear (http://www.vcdgear.com), after which you can play it with any software you want. -- Homepage http://scottj.org XFce desktop environment http://www.xfce.org Goodies for the XFce desktop http://xfce-goodies.berlios.de GPG public key ID: 811B00AB
hi all, Now I am able to play the files on SuSE 9.1 Pro using Mplayer. I had to scp the files from a windows machine to my SuSE and changed the file permissions to -rwxr-xr-x. And then I am able to play the files with Mplayer. It would be interesting to note exactly why this has been done. The file was a read only. When I opened it on a windows machine and tried to change the read only attribute, it didn't allow me to do it. So I just scp'd it to my linux machine and in the scp window itself I changed the permissions on the linux machine to -rwxr-xr-x came to my linux machine and then played it with Mplayer and then it played fine. I think this a very clumsy way of getting the file to play. If anyone knows a workaround, so that I don't need to touch the Windows machine, let me know. Regards, Chaitanya. Discover Yahoo! Use Yahoo! to plan a weekend, have fun online and more. Check it out! http://discover.yahoo.com/
The Sunday 2005-05-08 at 03:05 -0700, Chaitanya Krishna A wrote:
Now I am able to play the files on SuSE 9.1 Pro using 5B5B5B5B5B> Mplayer.
I had to scp the files from a windows machine to my SuSE and changed the file permissions to -rwxr-xr-x. And then I am able to play the files with Mplayer.
It would be interesting to note exactly why this has been done.
The file was a read only. When I opened it on a windows machine and tried to change the read only attribute, it didn't allow me to do it. So I just scp'd it to my linux machine and in the scp window itself I changed the permissions on the linux machine to -rwxr-xr-x came to my linux machine and then played it with Mplayer and then it played fine.
You also said before:
I say file * on the command line and it gives this: avseq01.dat: ERROR: cannot read `avseq01.dat' (Input/output error)
I'd think there was some kind of read error on that file. When you managed to copy it, the error was cleared, and it played. What does "file *" say now? -- Cheers, Carlos Robinson
hi,
--- "Carlos E. R."
The Sunday 2005-05-08 at 03:05 -0700, Chaitanya Krishna A wrote:
Now I am able to play the files on SuSE 9.1 Pro using 5B5B5B5B5B> Mplayer.
I had to scp the files from a windows machine to my SuSE and changed the file permissions to -rwxr-xr-x. And then I am able to play the files with Mplayer.
It would be interesting to note exactly why this has been done.
The file was a read only. When I opened it on a windows machine and tried to change the read only attribute, it didn't allow me to do it. So I just scp'd it to my linux machine and in the scp window itself I changed the permissions on the linux machine to -rwxr-xr-x came to my linux machine and then played it with Mplayer and then it played fine.
You also said before:
I say file * on the command line and it gives this: avseq01.dat: ERROR: cannot read `avseq01.dat' (Input/output error)
I'd think there was some kind of read error on that file. When you managed to copy it, the error was cleared, and it played. What does "file *" say now?
Now it says this AVSEQ01.DAT: RIFF (little-endian) data, wrapped MPEG-1 (CDXA) AVSEQ02.DAT: RIFF (little-endian) data, wrapped MPEG-1 (CDXA) AVSEQ03.DAT: RIFF (little-endian) data, wrapped MPEG-1 (CDXA) Any idea what's happening? Sometime back also I had a similar problem and I had to resort to scp'ing the files to the linux machine. Last time what happened was that the windows files were hidden and linux wouldn't list those hidden files when I change to the directory /media/cdrom/<file directory> and say ls or ls -a. So I had to put the cd in the windows machine change the attributes so that the files are not hidden and then scp'd the files to my machine and then it worked. Regards, Chaitanya. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
The Sunday 2005-05-08 at 12:51 -0700, Chaitanya Krishna A wrote:
I'd think there was some kind of read error on that file. When you managed to copy it, the error was cleared, and it played. What does "file *" say now?
Now it says this AVSEQ01.DAT: RIFF (little-endian) data, wrapped MPEG-1 (CDXA) AVSEQ02.DAT: RIFF (little-endian) data, wrapped MPEG-1 (CDXA) AVSEQ03.DAT: RIFF (little-endian) data, wrapped MPEG-1 (CDXA)
Well, that's different, it is readable.
Any idea what's happening? Sometime back also I had a similar problem and I had to resort to scp'ing the files to the linux machine.
I dunno. But what Hans sugest seems reasonable.
Last time what happened was that the windows files were hidden and linux wouldn't list those hidden files when I change to the directory /media/cdrom/<file directory> and say ls or ls -a. So I had to put the cd in the windows machine change the attributes so that the files are not hidden and then scp'd the files to my machine and then it worked.
If I had one of those CDs I'd try things, but I don't know. Some kind of protection, perhaps? -- Cheers, Carlos Robinson
On Sat, 2005-05-07 at 14:06 -0700, Chaitanya Krishna A wrote:
Hi all,
I have been trying to play a video file in *.dat format, whatever the dat extension means.
The file plays well in windows. When i try to play it using mplayer it gives the following message and quits.
MPlayer 1.0pre6-3.3.3 (C) 2000-2004 MPlayer Team CPU: Intel Pentium 4/Xeon/Celeron Northwood (Family: [snip] Playing avseq01.dat. Seek failed Exiting... (End of file)
Did you copy this file from the VCD to disc, or are you trying to play it directly from the VCD? If the latter, try mplayer vcd://1 (play with the number) AFAIK windows understands the vcd filesystem format, and you can copy the file off, change the extention to .mpg and play it in any player, provided you have the correct codecs installed. For some reason linux doesn't so the only way to get the file off the disc, is something like: mencoder vcd://1 -oac copy -ovc copy -o outfile.avi Which gives you an avi container with the VCD stuff inside, that you can play as normal. -- Kind regards Hans du Plooy SagacIT (Pty) Ltd hansdp at sagacit dot com
participants (6)
-
Bruce Marshall
-
Carlos E. R.
-
Chaitanya Krishna A
-
Hans du Plooy
-
Pieter Hulshoff
-
Scott Jones