I need a MPEG transport stream to make a tree. How I can create one?
X17
How I make a MPEG transport stream?
Re: How I make a MPEG transport stream?
thsi is a simple one ^^:
Code: Select all
ffmpeg -i movie.whatever out.ts
My YouTube-Site with Minetest-LetsPlays and some of my Servers: Carpathian Ethereal Vanilla Creative MineClone2 --- Discord
- Linuxdirk
- Member
- Posts: 3219
- Joined: Wed Sep 17, 2014 11:21
- In-game: Linuxdirk
- Location: Germany
- Contact:
Re: How I make a MPEG transport stream?
I highly doubt that you need a video broadcast container format to make a tree.
Re: How I make a MPEG transport stream?
sometimes you just have to believe that people already know what they are doing XDD
My YouTube-Site with Minetest-LetsPlays and some of my Servers: Carpathian Ethereal Vanilla Creative MineClone2 --- Discord
Re: How I make a MPEG transport stream?
From context I'd guess something kindly autocompleted "mts" to that MPEG thingy.
You can create mts files with a worldedit command:
//mtschemcreate NAME
Find worldedit here:
https://content.minetest.net/packages/sfan5/worldedit/
You can create mts files with a worldedit command:
//mtschemcreate NAME
Find worldedit here:
https://content.minetest.net/packages/sfan5/worldedit/
Whatever I say is CC0
Re: How I make a MPEG transport stream?
Just for understanding:
I didn't know what a mts is, so I looked in the properties, where
my system said that the file is an MPEG transport stream.
I thought that this is a common phrase, so I asked for it.
I didn't know what a mts is, so I looked in the properties, where
my system said that the file is an MPEG transport stream.
I thought that this is a common phrase, so I asked for it.
- Blockhead
- Member
- Posts: 1698
- Joined: Wed Jul 17, 2019 10:14
- GitHub: Montandalar
- IRC: Blockhead256
- In-game: Blockhead Blockhead256
- Location: Land Down Under
- Contact:
Re: How I make a MPEG transport stream?
Big lol @ the confusion (not at your expense, it's just that determining file types is a hard problem in general). In actuality you are looking for info on the Minetest Schematic format.
Some Linux file managers have more intelligence than just looking at the extension to figure out what a file is. GNU file just guesses Minetest schematics are 'data' because they're binary files and file doesn't track Minetest schematics' file extensions, it doesn't know what it is from its contents like a lot of file managers do. Windows will just decide to look up a dumb list of extensions. So since '.mts' has been used as an extension for 'MPEG transport stream', your file manager just goes and guesses that's what it is.
Use schemedit to make and save schematics to your world directory. In particular because you are making trees, you need to make sure the leaves don't get marked as player-placed so they'll decay properly. You can't just use the screwdriver though. I would recommend the param2 tool from devtoys. Use the F5 debug menu and make sure every leave node you place has param2 = 0 instead of the default 1 for player-placed. Then once you save the schematic you can copy the files to a mod, other world or wherever and the tree should work well when placed.
Some Linux file managers have more intelligence than just looking at the extension to figure out what a file is. GNU file just guesses Minetest schematics are 'data' because they're binary files and file doesn't track Minetest schematics' file extensions, it doesn't know what it is from its contents like a lot of file managers do. Windows will just decide to look up a dumb list of extensions. So since '.mts' has been used as an extension for 'MPEG transport stream', your file manager just goes and guesses that's what it is.
Use schemedit to make and save schematics to your world directory. In particular because you are making trees, you need to make sure the leaves don't get marked as player-placed so they'll decay properly. You can't just use the screwdriver though. I would recommend the param2 tool from devtoys. Use the F5 debug menu and make sure every leave node you place has param2 = 0 instead of the default 1 for player-placed. Then once you save the schematic you can copy the files to a mod, other world or wherever and the tree should work well when placed.
/˳˳_˳˳]_[˳˳_˳˳]_[˳˳_˳˳\ Advtrains enthusiast | My map: Noah's Railyard | My Content on ContentDB ✝️♂
How to add a 'magic' entry for Minetest Schematic files
Maybe someone finds this information useful:
The Minetest Schematic File documentation specifies the header as a sequence of four characters "MTSM", followed by a version number and various other bits of information.
I've checked my local magic database (/usr/share/misc/magic) and found no occurrences of MTS* except in a comment in ./msdos, so I'd say it's reasonably safe to add a custom definition like this:
Depending on your installation and preferences, you may or may not need to recompile the magic.mgc file for your local user and/or system-wide:
et voilà,
The Minetest Schematic File documentation specifies the header as a sequence of four characters "MTSM", followed by a version number and various other bits of information.
I've checked my local magic database (/usr/share/misc/magic) and found no occurrences of MTS* except in a comment in ./msdos, so I'd say it's reasonably safe to add a custom definition like this:
Code: Select all
$ grep --recursive --ignore-case mts /usr/share/misc/magic
/usr/share/misc/magic/msdos:# with MTSM=RJSPBS in [MasterThemeSelector] inside *.theme
$ mkdir ${HOME}/.magic
$ echo '0 string MTSM Minetest Schematic file' >${HOME}/.magic/minetest
Code: Select all
$ file --compile --magic-file /usr/share/misc/magic:${HOME}/.magic
# cp magic.mgc /usr/share/misc/magic.mgs
Code: Select all
$ file myschematic.mts
myschematic.mts: Minetest Schematic file
Who is online
Users browsing this forum: No registered users and 6 guests