Results 1 to 6 of 6

Thread: I can finally play AVCHD (using latest VLC) !!

  1. #1
    Join Date
    Apr 2006
    Beans
    479
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Lightbulb I can finally play AVCHD (using latest VLC) !!

    Have I finally managed it? Can I finally watch my Sony HD camcorder recordings on my Ubuntu home computer?? Still need to try this on my main system (which is faster) but I can finally play them without crashing! Here's how I did it:

    PROCEDURE

    1. Tested on an Athlon X2 dual-1.9Ghz machine running Ubuntu 8.10
    2. I uninstalled all existing 'vlc' components (which were v0.9.4) through Synaptic
    3. I also had to delete the ~/.config/VLC configuration files
    4. Per the instructions on the Videolan.org site I added their "Intrepid/Nightly" repository to Synaptic,
      http://nightlies.videolan.org/#debian
    5. I installed the latest version, v1.0.0~git20081127-4 (according to Synaptic)
    6. I then disabled the Videolan repository since this copy seems to be working!
    7. Finally, I disabled the FFMPEG "h.264 Loop Filter" in VLC (this improves playback speed but at the cost of some picture quality),
      http://forum.videolan.org/viewtopic.php?f=2&t=42328

    My Sony's AVCHD clips are 1440x1080i and this computer (using one 1.9 GHz cpu-core at 100%) can't quite play it back without dropping frames. BUT it doesn't crash anymore, which every other video player (including previous versions of VLC) would do! So now I'm hopeful that my other system will be fast enough...

    P.S. I'm being very specific about uninstalling all the original 0.9.4 modules, as well as deleting the hidden config folder, because both of those elements caused errors otherwise!
    Last edited by bsmith1051; January 1st, 2009 at 01:14 AM.

  2. #2
    Join Date
    Apr 2006
    Beans
    479
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: I can finally play AVCHD (using latest VLC) !!

    Indeed, I can now play my AVCHD clips and without any dropped frames!

    My main computer is Ubuntu 8.10 on an AMD dual-2.7 GHz, and I still have to disable all the h.264 'loop filters'. Also, the VLC 'nightly' has lots of interface quirks that the 0.9.4 'stable' doesn't. The only significant one is that I can't enable the option for "Allow only one instance" else the program won't load, at all.

  3. #3
    Join Date
    Apr 2008
    Beans
    9

    Re: I can finally play AVCHD (using latest VLC) !!

    Hi bsmith1051, thanks for your story, I will try this !

    I have actually an HTPC setup with MythBuntu and cannot play AVCHD clips, nor any H264 video clip I would get from an editing software.

    Actually I'm willing to play these kind of clips (I downloaded short AVCHD videos on forums so I can test before I buy such a camcorder).

    My system is C2D 2.53GHz with Geforce 7300/128Mo, do you think it can be enough ? Should I change the graphics card or won't that improve anything, as I think Linux doesn't use actually NVidia hardware H264 decoding ?

    Any way to have VLC or another player use the 2 cores for decoding video ?

  4. #4
    Join Date
    Apr 2006
    Beans
    479
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: I can finally play AVCHD (using latest VLC) !!

    I think your CPU is plenty capable, even on just one core. Unfortunately there are no solutions on Linux for using both cores, and the videocard hw-acceleration is still experimental (and only supported on the newest generation of cards, e.g. Nvidia 9300+)

    I'm not that familiar with Mythbuntu -- what's the default player? if it's Totem (or Mplayer) then the h.264 support is minimal. I think you just need to setup VLC and make it the default app for the file-types you're testing.

    Finally, I wouldn't hesitate to buy a new AVCHD camcorder. The software will eventually come around! I went through this same experience with both MPEG2 and MPEG4 over the past decade or so. Now there's VideoRedo, VirtualDubMod, etc.

  5. #5
    Join Date
    Apr 2008
    Beans
    9

    Re: I can finally play AVCHD (using latest VLC) !!

    Okay, thanks for your help ...

    Yes the default player is mplayer, and I didn't try VLC as the windows version installed on my laptop (C2D 2.27 GHz/ATI HD3430) plays approx 1 frame per 2 second on AVCHD files ... So I thought VLC would be the worst player ... But I'll give it a try !

    Very bad that no multicore solution exists on Linux, I expected that those things would much more optimized on Linux than on Windows, knowing what everybody says about Linux ... And multicore CPUs exists since a few years now ...

    Anyway, I'll try VLC and let you know.

    Otherwise, is there an easy way to convert the files into another format that would play better on my harware ?

    For information, on the "Freebox" which is a ADSL provider in France, I can put AVCHD on the internal HDD as it comes out from the camcorder, and it plays very well ! Since it is linux-like based box, I hoped their player would be opensource and installable on other Linux systems.
    (The Freebox solution would not be good to me as it is not stable, and the HDD is very small ...)

  6. #6
    Join Date
    Jun 2005
    Location
    Belgium
    Beans
    1,522
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: I can finally play AVCHD (using latest VLC) !!

    I can play them using mplayer (svn) :

    Code:
    mplayer -demuxer lavf -lavdopts threads=4:fast:skiploopfilter=all:skipframe=none -fps 25 -vf pp=lb  myvideo.MTS
    AMD64X2 3800+ 3GB Ram: 11.10
    ACER one T1810 : 11.10 64 bit

Tags for this Thread

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
  •