Hello,
Video clips recorded by the Canon HD camcorder HF200 are in .mts file format. The Western Digital Media Player plays .mts files. For continuous playback for all the clips, I would like to merge/join/combine the multiple .mts files (multiple clips) into ONE single .mts file without any encoding/decoding.
Someone mentioned TSMUXER. I tried that (JOIN feature) but the output file became .264 format which cannot be played by the WD media player. I just want to merge/join multiple .mts files into one single .mts file (without any encoding/decoding) for continuous playback of all the clips.
Please advise. Thanks!
+ Reply to Thread
Results 1 to 16 of 16
-
-
Thanks for your reply.
I don't have TSMUXER in front of me right now. I remember joining the .mts files then choosing HD Video in one of the field (since I don't see choices with .mts or .m2ts), then clicking on the left button (of 2 buttons at the bottom of the TSMUXER screen). (I am not sure if it's demux or mux......). The output was an .264 file and an .ac3 file.
I am looking for a TSMUXER user guide to understand what to select in the drop-down fields.
For my case, what steps do I take in TSMUXER to have one single output file in .mts or .m2ts format? (I don't remember seeing .m2ts format anywhere in the drop-down fields, I did see .ts format, however. Is this equivalent to .m2ts?)
Also, is .m2ts format the same as .mts format? (I don't want encoding/decoding to my original .mts files; for example: convert to mpeg4).
Thank you -
TSMUXER worked!
I ADDED the first mts file in the sequence then JOINed the subsequent mts files (clips) (one at a time) until all the mts files that I wanted to merge appear in the INPUT section. Then I chose M2TS MUXING, then clicked START MUXING button at the bottom of the screen.
It worked! thanks -
Great! And thanks for posting the solution as it might help others also.
-
Originally Posted by Thorp
https://forum.videohelp.com/topic369435.html -
@fkasparek Thank you very much!
I've been using Cyberlink Power Director 8. It is as fast as TsMuxer (if I choose not to use effects, transitons...), but it does the job correctly.
I hope TsMuxer will fix those problems, it is a great tool. -
Originally Posted by frmsuv2van
I am new of this forum...Thank you for your suggestions..
Something that could be useful from my experience with TsMuxer and PoweDirector...
TsMuxer works great when you need to merge multiple m2ts files, as those recorded with my panasonic sd5
I need a single m2ts in order to play it on WD Tv box
Well, as you probably experienced, TsMuxer does not allow multiple choice of files to be merged...and it is boring to select one by one..
I discovered the right sintax of the .meta file to be launched together with TsMuxer, in order to write onto it the list of files to be merged...
I also prepared a tiny exe that prepares the .meta from starting and ending numbers of mts files to be joined..
I will upload it and its source code somewhere (suggestions ?) soon...I think it could be interesting for all the people with this problem
Cheers!
Marco -
-
#-------------------------- mktsmux ------------------------
# Generates a tsMuxeR script to join a dir full of .MTS files
# into a single MTS file. I use it to copy data from my
# Sony CX580V HD camcorder to my computer. Change dir to the
# camera, then run the script passing the destination dir.
# Aug 16, 2013 - Joe Briggs
#-----------------------------------------------------------
#!/bin/sh
app=~/bin/tsMuxeR
outdir="/home/jbriggs/Videos"
metafile="ts.meta"
outfile="$outdir/out.m2ts"
fscan() {
once=0
ls *.MTS | while read x ; do
if [ $once -gt 0 ] ; then
echo -n "+" >> $metafile
else
once=$(($once+1))
fi
# if [ $once -lt 20 ] ; then
echo -n "\"$x\"" >> $metafile
# fi
done
}
if [ -z $1 ] ; then
echo "usage: mktsmux destdir"
exit 0
fi
outdir=$1
mkdir -p $outdir
outfile="$outdir/out.m2ts"
touch $outfile
unlink $outfile
touch $metafile
unlink $metafile
#echo "#!/bin/sh" > $metafile
# header
echo "MUXOPT --no-pcr-on-video-pid --new-audio-pes --vbr --vbv-len=500" >>$metafile
# video
echo -n "V_MPEG4/ISO/AVC, " >>$metafile
fscan
echo ", fps=29.97, insertSEI, contSPS, track=4113" >>$metafile
# audio
echo -n "A_AC3, " >>$metafile
fscan
echo ", track=4352" >>$metafile
# graphic
echo -n "S_HDMV/PGS, " >>$metafile
fscan
echo ",bottom-offset=24,font-border=2,text-align=center,video-width=1920,video-height=1080,fps=29.97, track=4608" >>$metafile
echo "$app $metafile $outfile"
$app $metafile $outfile
echo "COMPLETE! output in $outfile" -
SOLUTION:
You can try using Lehmann Video Tool (LVT).
I have developed a very simple easy user friendly program that will features the ability to merge AVCHD (.mts) files into a single (.m2ts) video file.
The program also allows you to trim your video clips to the perfect sizes before merging them all if you wish.
You can try the program here or here -
I just use the binary copy command in MS-DOS.
To make it easy, I put the files in a new folder "Video" in the root of one of my data drives "F:" for example.
Then go to START->ACCESSORIES and launch your MS-DOS "Command Prompt".
Type (using my examples)...
cd F:
cd video
copy /b 00001.MTS+00002.MTS new.MTS
Use whatever filename you want where I put "new".
Wait about five minutes while it appears to be doing nothing. Prompt will return when it is finished. -
I've created a software that merged .mts files and allows trimming.
You can try Lehmann Video Tool. Link: https://www.videohelp.com/tools/Lehmann-Video-Tool
or the forum post link: https://forum.videohelp.com/threads/364943-LVT-%2AUPDATED%2A-%5BBeta-1-20%5D-Merge-Trim...CHD-Video-File
Similar Threads
-
Merge HD MTS (AVCHD) files
By foxnews in forum Video ConversionReplies: 9Last Post: 28th Jun 2011, 08:18 -
Supporting MTS Files on a Canon HF200
By CharlesMTF in forum Camcorders (DV/HDV/AVCHD/HD)Replies: 3Last Post: 12th Mar 2010, 16:34 -
Canon HF20 Mts file
By ggarbis in forum Newbie / General discussionsReplies: 1Last Post: 6th Dec 2009, 06:52 -
Editing mts files (from Canon HF S10) - ???
By h.k. in forum EditingReplies: 17Last Post: 29th May 2009, 04:43 -
Canon Vixia HF-100 MTS files
By Benhermies in forum Camcorders (DV/HDV/AVCHD/HD)Replies: 3Last Post: 11th Jan 2009, 22:24