posts/mkv-to-m2ts-conversion-script/ #15
Replies: 16 comments
-
Small improvement to the script: When you grep for the video stream use ": video" in stead of just video. Otherwise the script fails when the path of your movie contains the word video, it much less likely that it contains ": video". eg. Nice script! |
Beta Was this translation helpful? Give feedback.
-
Hello, Support in input : In output : Audio conversion available in AC3 for : The script is in french (but the code is in bash :) ) and in GPL 2 and you can use it if you want. The topic of the script is here : Twocats P.S. : Sorry for my poor english :( |
Beta Was this translation helpful? Give feedback.
-
Hi, my friend Jarkko made a small change to your mkv-to-m2ts script. It now asks which audio and subtitle tracks to convert by using --ask. If you like, I can sent this modified script to you by email. It is a "cheap and dirty" solution but it works! |
Beta Was this translation helpful? Give feedback.
-
@jukka, please send along any modifications they will be appreciated. That said, I am working on a new script call StreamWeaver which combines the features of several scripts. StreamWeaver asks which audio and video tracks to convert. If you don't give any audio and video tracks it displays a list of which ones to choose from. I hope to release this new script in January, maybe sooner. |
Beta Was this translation helpful? Give feedback.
-
You can find the modified skript from following link: https://forum.ubuntu-fi.org/... Like I said earlier, it is a bit cheap and dirty solution. I am really looking forward the StreamWeaver skript :) I have used quite many different tools/skipts/programs to convert MKV files to my PS3. I need sometimes also subs when watching non-English movies which is really a pain in PS3. Only AVCHD in USB stick works at the moment but still I need to author the AVCHD folder to get it work. So far I have not found any solution to do it that works on ubuntu (without wine). Alternatively the subs has to be "added/burned" into movie file in order to make them work. It takes forever and life is too short. Thank you for your very educational wiki's and other stuff! |
Beta Was this translation helpful? Give feedback.
-
@jukka: Thanks for the link. I'll take a look at the changes. I might release a final version of MKV-to-M2TS to incorporate your stuff. I'm interested in what you've said about AVCHD, I've not experimented with it but it sounds like something I should look into. I have a number of films that are not English language audio and haven't yet found a way to watch them, with subs, on the PS3. I'll do some research but any additional information/links you can provide would be welcome :-) |
Beta Was this translation helpful? Give feedback.
-
Sorry for sending spam. I had some problems when pasting text from outlook :( @martin: Easiest way to try PS3 compatible AVCHD is to create a movie from MKV file by tsMuxer with AVCHD option selected (remember to split it to 4 GB for Fat32 compatibility). Then use AVCHDme20 program for authoring AVCHD folder (Win only). It will check FAT32 compatibility, rename the files according to AVCHD 8.3 format and do the CLPI validity check. More information can be found from here: https://en.wikipedia.org/wik... (if something more is required that I am not sure). The you need to copy the AVCHD folder to your USB stick (to root). After connecting your USB stick to PS3, select the USB stick from the PS3 menu and press the green triangle button instead of X. You should see your movie now with subs. You may find some nice ideas from h264tobox script (at least compared to one I send you). Unfortunately my French skills are a bit poor so I cannot use it but I did evaluated it by using Google Translate (comments) to get the idea how it works. StreamWeawer sounds perfect! Looking forward to it. Please delete the two earlier postings. |
Beta Was this translation helpful? Give feedback.
-
@jukka: Thanks for the information. I'll do some research. I'm not sure when StreamWeaver will be ready but I have most of the basic functionality completed. Check my blog from time to time to check on my progress. |
Beta Was this translation helpful? Give feedback.
-
Hi Martin, I have found some audio sync problem; have you find any solution to that...or have you any idea on how to automating calc the timeshift option for tsMuxeR? Thanks |
Beta Was this translation helpful? Give feedback.
-
@zioalex: Please do send me you mods, I would love to integrate any improvements :-) I have seen audio sync problems once, when ripping a Blu-Ray disc of mine. This is how I cam to create StreamWeaver (still unfinished) and it can automatically adjust audio stream offsets. Off the top of my head I can't remember if I get the offsets from tsMuxeR or mediainfo, but the offsets are the in the source stream. I'll try and get StreamWeaver to a point of completion for an initial release. |
Beta Was this translation helpful? Give feedback.
-
@jukka: I did some more work on StreamWeaver over the holidays. I can process MKV, Blu-Ray (M2TS), HD-DVD (EVO) and MPEG-4 files as input. I've been researching the AVCHD stuff and found and excellent guide for Linux, all of which should be possible to automate. |
Beta Was this translation helpful? Give feedback.
-
Martin, I post the mods directly here on the blog? |
Beta Was this translation helpful? Give feedback.
-
@martin: I have been looking the most recent wiki pages daily basis but yesterday I had a look on this page again by accident and noticed your post. I had also a look on the web page you referred on your post. This AVCHD is much more complicated that I could ever imagine. But if all the phases to create PS3 compliant AVCHD can be automated by your script then you are have really saved the day for me. Your StreamWeaver script seems to be all-in-one kind of tool to make movie conversions. If it can accept all those containers as an input then I don't need any other tool when making conversions (and no need for additional win tool which is a big thing for me). Thanks... I already credited you to my girl friend when we were watching nice movie on the other day ;) She is happy too... |
Beta Was this translation helpful? Give feedback.
-
Hi, The script : DTS DTS The mkv: |
Beta Was this translation helpful? Give feedback.
-
@martin: I have created couple of AVCHD movies based on the instructions on page https://elliot.orwells.org/?.... I had some issues but eventually I get them done. It seems that x264 quality defines how long the conversion takes (my experience between 2,5 - 8 hours). I am quite picky that the quality is as good as possible . Only thing is that it takes quite many steps to create one movie so I wonder how is your StreamWeaver progressing? ;) |
Beta Was this translation helpful? Give feedback.
-
You may also try iDealshare VideoGo Below is the key feature: Convert M2TS to MP4, AVI, FLV, WMV, MKV, MOV, MPG, 3GP, ASF, DV, RM, TS and etc. Join or merge M2TS videos into one file. Trim or crop M2TS videos to select the exact part you want. Add watermark, contrast, saturation to M2TS video or set video brightness and apply special video effects. Convert M2TS to MP4, AVI, FLV so as to make M2TS easy to upload to web (like YouTube, Facebook) for sharing videos. Convert M2TS to make it playable in most portable players like iPod, iPhone, iPad, Apple TV, and so on. M2TS converter – iDealshare VideoGo (for Windows) supports all M2TS converter – iDealshare VideoGo (for Mac) supports all Mac OS from Mac OS X 10.4 Tigerto Mac OS X 10.10 Yosemite. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
MKV to M2TS conversion script
https://wimpress.com/posts/mkv-to-m2ts-conversion-script/
Beta Was this translation helpful? Give feedback.
All reactions