AVCD lite and Linux player/Editor

I use a Panasonic GF1 camera to record AVCHD format videos. I can’t seem to find a program that I can use. I did a bit of searching and came up with this http://blog.mymediasystem.net/avchd/howto-convert-and-write-avchd-mts-to-dvd-on-linux/ (old) info.

Can anyone help?

By the looks of things, your going to have to convert the files to something else, I’ll see what I can find. Is it a DSLR you’ve got?

It’s like a DSLR only smaller. Thanks for trying.

Whay is the file extension … is it .mts ?

mencoder -oac copy -ovc lavc -of mpeg -mpegopts format=dvd -vf scale=720:576,harddup -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15:aspect=16/9:threads=4 input-file.mts -ofps 50 -fps 50 -o output_file.mpg

is what that thread says to use.

but there’s probably an easier (GUI) way.

Sorry for the delay. Yes it’s an .mts file

Have you tried WinFF ? … it’s in the repos.

sudo apt-get install winff

See here:
http://karuppuswamy.com/wordpress/2010/06/07/how-to-convert-canon-mts-video-files-to-other-formats-in-ubuntu/

What do you want to do with them ? … convert to another format (transcode) or Transcode + Burn to DVD ?

Can you Play the ,mts files in Linux ?

No Linux will not play the files. I would like to convert and then edit on another editor like openshot.

Well WinFF should do that, but I’m not sure how well.

Have you tried to convert them to mpeg from the command line using mencoder, or ffmpeg ?

Well WinFF should do that, but I'm not sure how well.

Have you tried to convert them to mpeg from the command line using mencoder, or ffmpeg ?

What’s WinFF?

Command line! A lazy GUI man like me! ;D

I am now installing WinFF and will give that a try.

OK, I’ve also read hat KDEnlive can edit AVCHD natively.

If WinFF produces rubbish output, let me know because Handbrake can also covert them … but that needs to be installed from a PPA.

Reference:

and just for my CLI :wink: reference:

Thanks, will do.

WinFF works a treat. You’re a Hero again Mark. Many thanks.

Heh :slight_smile: … No worries.

I have now also installed it on my Netbook, Samsung NC10, 1gb,Ubuntu 10.04. It installed ok via the command line that Mark gave me in the thread and it runs but the command line gave this message at the end of install

winff-doc (1.2.0-1ubuntu2) …
Processing triggers for menu …
W: Duplicate sources.list entry Index of /ubuntu lucid/partner Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_lucid_partner_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
toonman@toonman-laptop:/$

Any ideas?

Can you post the contents of your /etc/apt/sources.list file:

gedit /etc/apt/sources.list

Somewhere in that file, there may be a duplicate line that reads:

[b]deb http://archive.canonical.com/ubuntu/ lucid partner [/b]
or similar :)

Can you also send the output from:

la -a /var/lib/apt/lists | grep partner

Sorry for the delay in replying.

deb cdrom:[Ubuntu-Netbook 10.04 Lucid Lynx - Release i386 (20100429.4)]/ lucid main restricted

See UpgradeNotes - Community Help Wiki for how to upgrade to

newer versions of the distribution.

deb Index of /ubuntu lucid main restricted
deb-src Index of /ubuntu lucid main restricted

Major bug fix updates produced after the final release of the

distribution.

deb Index of /ubuntu lucid-updates main restricted
deb-src Index of /ubuntu lucid-updates main restricted

N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu

team. Also, please note that software in universe WILL NOT receive any

review or updates from the Ubuntu security team.

deb Index of /ubuntu lucid universe
deb-src Index of /ubuntu lucid universe
deb Index of /ubuntu lucid-updates universe
deb-src Index of /ubuntu lucid-updates universe

N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu

team, and may not be under a free licence. Please satisfy yourself as to

your rights to use the software. Also, please note that software in

multiverse WILL NOT receive any review or updates from the Ubuntu

security team.

deb Index of /ubuntu lucid multiverse
deb-src Index of /ubuntu lucid multiverse
deb Index of /ubuntu lucid-updates multiverse
deb-src Index of /ubuntu lucid-updates multiverse

Uncomment the following two lines to add software from the ‘backports’

repository.

N.B. software from this repository may not have been tested as

extensively as that contained in the main release, although it includes

newer versions of some applications which may provide useful features.

Also, please note that software in backports WILL NOT receive any review

or updates from the Ubuntu security team.

deb Index of /ubuntu lucid-backports main restricted universe multiverse

deb-src Index of /ubuntu lucid-backports main restricted universe multiverse

Uncomment the following two lines to add software from Canonical’s

‘partner’ repository.

This software is not part of Ubuntu, but is offered by Canonical and the

respective vendors as a service to Ubuntu users.

deb Index of /ubuntu lucid partner
deb-src Index of /ubuntu lucid partner

deb Index of /ubuntu lucid-security main restricted
deb-src Index of /ubuntu lucid-security main restricted
deb Index of /ubuntu lucid-security universe
deb-src Index of /ubuntu lucid-security universe
deb Index of /ubuntu lucid-security multiverse
deb-src Index of /ubuntu lucid-security multiverse

also

toonman@toonman-laptop:/$ la -a /var/lib/apt/lists | grep partner
archive.canonical.com_ubuntu_dists_lucid_partner_binary-i386_Packages
archive.canonical.com_ubuntu_dists_lucid_partner_source_Sources
toonman@toonman-laptop:/$

Try this …

sudo mv -v /var/lib/apt/lists/archive.canonical.com_ubuntu_dists_lucid_partner_binary-i386_Packages ~/archive.canonical.com_ubuntu_dists_lucid_partner_binary-i386_Packages

then

sudo mv -v /var/lib/apt/lists/archive.canonical.com_ubuntu_dists_lucid_partner_source_Sources ~/archive.canonical.com_ubuntu_dists_lucid_partner_source_Sources

then

sudo apt-get update

and check if there are any errors.


If there are NO errors, you can delete the 2 files you just moved to your home directory with:

sudo rm -v ~/archive.canonical.com_ubuntu_dists_lucid_partner*

Done the command line instructions but got this…

W: Duplicate sources.list entry Index of /ubuntu lucid/partner Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_lucid_partner_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems

can you post the output from:

ls -a /etc/apt/sources.list.d