Showing posts with label avchd. Show all posts
Showing posts with label avchd. Show all posts

Monday, January 5, 2009

Further info on playing AVCHD

I've had a chance to test this on several computers now and can make the following clarifications and improvements to the suggested procedure.

NOTES
  • You need at least a ~2.4 GHz processor. It doesn't playback correctly on my 1.9 GHz whereas it plays-back with spare cpu cycles on my 2.7 GHz AMD X2, as well as on a 2.7 GHz Intel Core2.
  • The existing 0.9.4 version (in the standard repository) plays AVCHD just as good as the newer "1.0~git" nightly. So there's no need to go through uninstalling, adding the 'nightly' repository etc. But you may still need to reset the configuration files.
  • The UI on the 1.0 version has a lot of bugs, so it's preferable to use 0.9.4 in that regard.
TWEAKS
There are 3 changes you should make in the configuration:
  1. in Tools > Preferences, under Instances, enable "Allow only one instance".
  2. Click on Show Settings:All (radio button in bottom-left). Under Input/Codecs > Other > FFmpeg,
    set "Skip loop filter for h.264" = ALL
  3. under Video > Filters, on the right-side screen, scroll down the page to the second listing (for Video Output Filter Modules) and enable "Deinterlacing video filter"
That last change re deinterlacing will cause VLC to default to "Discard" mode which uses the least CPU. If you have CPU cycles to spare, of course, you could then go down into the Filters > Deinterlace settings and select a better mode.
.

Wednesday, December 31, 2008

Playing AVCHD on Ubuntu Linux

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
    (which 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!
.

Monday, May 5, 2008

Managing videos on my new camcorder

Last week I bought a new Sony HDR-CX7 high-definition camcorder. It records to Memory Stick flash-drive and includes a docking station that both charges it and allows direct download via USB cable.The videos are stored to the memory card in the folder, /avchd/bdmv/stream/ *.mts
The problem is figuring-out how to move the files onto the computer without the camera freaking.

If I simply copy, then delete the files, they will still appear in the playlist and give an error if you try to play them. If I delete all the other data files under /avchd then the camera asks you to re-initialize the memory card. I've yet to find a way to remove the .mts files without requiring extra steps on the camera afterwards.

By comparison, with my Nikon digital camera I simply copy the .jpg files and then delete them. The camera recovers from the unexpected disappearance of the files without complaint.

P.S. Kudos to Sony on their docking station's USB interface -- the memory card is easily recognized by Ubuntu Linux. This is in stark contrast to my LG 'Muziq' phone, which has a USB interface but tries to present as both a memory card and a modem, interfering with Linux recognizing the card. It's a cool idea, to be able to use the phone as a modem, but it's only supported in Windows, blech!