News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

MTS video files

Started by b4rney, June 25, 2010, 01:10:32 PM

Previous topic - Next topic

b4rney

My panasonic HD camcorder records avchd files (mts). Linuxmce doesn't list these files under the video menu. Is there a way to convert these files into something else?

I tried m2ts extension and they appear in the menu but there is a black screen when played.
Any suggestions?
Barney

pw44

#1

b4rney

Thanks Paulo,
Trying that now. I'll let you know.
Barney

b4rney

No, it won't play.
Found this:
http://en.wikipedia.org/wiki/.m2ts

Looks like mts and m2ts are the same. It should work I guess, but it doesn't.
Barney

pw44

Having the file file.mts, can you play it under kde desktop, using xine (gxine...)?
if you are able to pay it using xine the xine plugin, you will be able to play it under lmce xine engine, but you will need to add mts to the database according the wiki. m2ts is played using the mplayer plugin.

b4rney

I added the mts extension as explained in that wiki entry but it still didn't work. Not tested under kubuntu desktop with xine yet.

I've used the following mencoder script on the core to transcode to mpg. Maybe it will help others:
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.mts -ofps 25 -fps 50 -demuxer lavf -o output.mpg

Thanks for your help Paulo.
Barney

willow3

I have the same problem with my panasonic mts files. in theory they should play but they wont. I use your mencode script for the time being. thanks! please let us know if you have any progress!