Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: unable to play .dat files in ubuntu 12.04

  1. #1
    Join Date
    Mar 2012
    Beans
    47

    unable to play .dat files in ubuntu 12.04

    Screenshot from 2013-08-03 22:47:18.pngScreenshot from 2013-08-03 22:48:05.pngScreenshot from 2013-08-03 22:48:36.pngScreenshot from 2013-08-03 22:47:51.pngScreenshot from 2013-08-03 22:49:02.pngThis is the 21st century, I am running one of the latest versions of ubuntu i.e. 12.04 and still I cannot run the video cds containg *.dat files.....Pathetic...isn't it ?!! all of them run seamlessly in windows ( even in the Before Christ versions...),and still I am to get an acceptable solution to the problem...no forum has given any satisfactory way to do so. Why doesn't a simple video cd which autoruns in windows can't do in linux is my simple question....?
    PS:- tried movie player and VLC media player...still the same result....!!!!
    Last edited by nashtrik; August 3rd, 2013 at 06:36 PM. Reason: wanted to add screenshots

  2. #2
    Join Date
    Mar 2010
    Location
    Metro-ATL
    Beans
    Hidden!
    Distro
    Lubuntu 12.04 Precise Pangolin

    Re: unable to play .dat files in ubuntu 12.04

    Never heard of ".dat" before - to me that sounds like a binary data file use by a specific program. Are you sure it is a video format? Which codec does it use? Have you tried changing the extension to .mpg?

    BTW, I have 100 .dat files on my netbook right now. None of them are video files.
    /var/cache/debconf/config.dat is an example that you probably have too. Regardless, this doesn't help you playback the file.

    My personal opinion is that if VLC can't play it, then I don't need to see it. OTOH, I might try to view it with mplayer - that is the other swiss-army knife of video playback.

    "movie player" that comes with any Linux has never worked well for any video I wanted to watch. I'm with you on that. Probably best to just purge it, just like nano, gedit, lxterm, and 50 other "included" packages that I'll never use.

    BTW, there are many codecs invented by porn websites that only work on Windows. They require an install of their specific codec and often include malware. NOT being able to play them on Linux is a great thing in my mind. I'm not anti-porn, just anti-proprietary codec.

    If you can play this file on Windows, you might be able to convert it to mpeg2/mpeg4/h.264 and watch it anywhere. After all, this is the 21st century.

  3. #3
    Join Date
    Jun 2013
    Beans
    Hidden!
    Distro
    Ubuntu Studio

    Re: unable to play .dat files in ubuntu 12.04

    Perhaps you need to check out what a .dat file is?

    DAT is a file extension used in the Microsoft Windows Operating System to mean "data". In video the DAT extension is usually used to store MPEG-1 encoded video on VCD or SVCD discs (the predecessors of DVD

    What have you tried so far? Saying "no forum has given any satisfactory way to do so" is not much help.

    Just to start you off and me having absolutly no clue what you have tried, see THIS THREAD?

  4. #4
    Join Date
    Jul 2013
    Beans
    190

    Re: unable to play .dat files in ubuntu 12.04

    Hi,

    a dat file is simple renamed mpg file i believe.
    Every simple player should play them.

  5. #5
    Join Date
    Jul 2009
    Location
    CyberspacEastEngland
    Beans
    Hidden!
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: unable to play .dat files in ubuntu 12.04

    see next post
    Last edited by shantiq; August 2nd, 2013 at 10:31 PM.
    Linux is Latin for off-the-beaten-track [◄►] ● Is there Voodoo in the machine?
    ShanArt ● Mark as SolvedXmms

  6. #6
    Join Date
    Jul 2009
    Location
    CyberspacEastEngland
    Beans
    Hidden!
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: unable to play .dat files in ubuntu 12.04

    well there is a dat sample here and it plays in VLC and mplayer on my 13.04 system
    so Linux not the problem clearly




    so i suggest run mediainfo on your files see what they contain in this dat container


    info on dat







    mplayer *datMPlayer2 UNKNOWN (C) 2000-2012 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 sample.dat.
    Detected file format: MPEG-PS
    VIDEO: MPEG1 352x240 (aspect 12) 29.970 fps 1150.8 kbps (143.8 kbyte/s)
    Load subtitles in .
    ================================================== ========================
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    Selected video codec: [ffmpeg1] vfm: ffmpeg (FFmpeg MPEG-1)
    ================================================== ========================
    ================================================== ========================
    Requested audio codec family [mpg123] (afm=mpg123) not available.
    Enable it at compilation.
    Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
    [mp2float @ 0x7f9a0e8e2320]Header missing
    AUDIO: 44100 Hz, 2 ch, floatle, 224.0 kbit/7.94% (ratio: 28000->352800)
    Selected audio codec: [ffmp2float] afm: ffmpeg (FFmpeg MPEG layer-1 and layer-2 audio)
    ================================================== ========================
    AO: [pulse] 44100Hz 2ch floatle (4 bytes per sample)
    Starting playback...



    and mediainfo reads


    mediainfo *datGeneral
    Complete name : sample.dat
    Format : CDXA/MPEG-PS
    File size : 429 KiB
    Duration : 2s 35ms
    Overall bit rate : 1 727 Kbps


    Video
    ID : 224 (0xE0)
    Format : MPEG Video
    Format version : Version 1
    Format settings, BVOP : Yes
    Format settings, Matrix : Default
    Duration : 2s 35ms
    Bit rate : 1 469 Kbps
    Maximum bit rate : 1 151 Kbps
    Width : 352 pixels
    Height : 240 pixels
    Display aspect ratio : 4:3
    Frame rate : 29.970 fps
    Standard : NTSC
    Color space : YUV
    Bit depth : 8 bits
    Scan type : Progressive
    Compression mode : Lossy
    Bits/(Pixel*Frame) : 0.580
    Stream size : 365 KiB (85%)


    Audio
    ID : 192 (0xC0)
    Format : MPEG Audio
    Format version : Version 1
    Format profile : Layer 2
    Mode : Dual mono
    Duration : 1s 855ms
    Bit rate mode : Constant
    Bit rate : 224 Kbps
    Channel(s) : 2 channels
    Sampling rate : 44.1 KHz
    Compression mode : Lossy
    Delay relative to video : -67ms
    Stream size : 50.7 KiB (12%)

    Linux is Latin for off-the-beaten-track [◄►] ● Is there Voodoo in the machine?
    ShanArt ● Mark as SolvedXmms

  7. #7
    Join Date
    Mar 2012
    Beans
    47

    Re: unable to play .dat files in ubuntu 12.04

    I have edited the post with screenshots.Kindly have a look and suggest what could be done . Thanks

  8. #8
    Join Date
    Jul 2009
    Location
    CyberspacEastEngland
    Beans
    Hidden!
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: unable to play .dat files in ubuntu 12.04

    mediainfo will show us what is in your file


    so
    sudo apt-get install mediainfo

    then run

    find ./ -iname '*AVSEQ01.DAT*' -exec mediainfo {} +
    and paste the results here please so we all see what is in your file codec wise
    Linux is Latin for off-the-beaten-track [◄►] ● Is there Voodoo in the machine?
    ShanArt ● Mark as SolvedXmms

  9. #9
    Join Date
    May 2008
    Beans
    34

    Re: unable to play .dat files in ubuntu 12.04

    Does ubuntu install the non-free codec package without prompting now? It could be that he's missing the codecs.

  10. #10
    Join Date
    Jun 2012
    Beans
    351

    Re: unable to play .dat files in ubuntu 12.04

    Quote Originally Posted by shantiq View Post
    mediainfo will show us what is in your file


    so


    then run

    and paste the results here please so we all see what is in your file codec wise
    You beat me to it, except I'd recommend mediainfo-gui instead. I use it too much to want to have to open a terminal for it. In dolphin it integrates quite well in services.

    If they are playable vcd video files (which is possible if archaic) mediainfo will probably say they're avi format using divx codec. If so you could just rename the extension to .avi.

    However, I suspect they're not really video files. As mentioned, vlc should be able to play them. Smplayer (a front end for mplayer) is the only program I've used that's better than vlc as a video "swiss army knife".

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •