Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Announcements and Chat > General Discussion
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 18th April 2022, 11:07   #1  |  Link
Katie Boundary
Registered User
 
Katie Boundary's Avatar
 
Join Date: Jan 2015
Posts: 1,056
Editing on Linux is super fun (sarcasm)

Today I completed my first music video project to use a 100% Linux workflow. I learned a few pretty important things:

1) There is no excuse whatsoever for 7-zip to exist or for Linux support for it to be so atrocious

2) Dependency hell is like... double hell on Linux. Executing a program with WINE is one thing, but when you're using AVIsynth filters that require Microsoft Visual C++, you're fucked. Another example is the ffmpeg2source quirk. It requires index files created by ffmsindex, which in turn only likes being opened by Windows drop-down context menus or the Windows command line, neither of which is available in Linux regardless of whether you have WINE or not. Fortunately, ffmsindex has a native linux port.

3)Windows editing programs running in WINE won't recognize the Linux versions of codecs that you have. You need to install the Windows versions of the codecs. This is easy enough for the ones that have installers, but it kinda rules out HuffYUV, the installation of which again depends on Windows context menus and/or the Windows command prompt. Also, the Windows XviD installer didn't work with previous versions of WINE.

4) My Premiere Project files became corrupt and unreadable pretty much every time I saved and exited.
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers.

Last edited by Katie Boundary; 18th April 2022 at 20:22.
Katie Boundary is offline   Reply With Quote
Old 18th April 2022, 11:55   #2  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
Installing Linux to use Windows software, find the error...
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database
ChaosKing is offline   Reply With Quote
Old 18th April 2022, 13:21   #3  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,904
Quote:
Originally Posted by ChaosKing View Post
Installing Linux to use Windows software, find the error...
Precisely...

First thing first, I use Fedora Linux on a daily basis and whenever I have to use Avisynth, I fire up a Windows VM which is much much better than using wine.
That being said, now that AVXSynth has been merged into the main Avisynth branch, I mean the master, you can compile Avisynth+ and use it directly on Linux. Stephen (I mean qyot) has been writing some topics about it, showing how to do it and how to make use of filters. Unfortunately, only a bunch of filters work on Linux 'cause not everything has been ported/compiled for Linux, but the basic stuff work like ffms2 as an indexer, all the internal plugins etc. As to the encoders, Avisynth can be used within ffmpeg and that works just fine on Linux, so you can use it just fine. Last but not least, when it comes to non linear editors, Davinci Resolve is one of the only NLEs that work on Linux just fine, however you're gonna need to have a decent GPU and if you have Nvidia you must use the proprietary Nvidia drivers (good luck with that on Linux) 'cause it won't work with the Nouveau drivers.
FranceBB is offline   Reply With Quote
Old 18th April 2022, 14:12   #4  |  Link
Reel.Deel
Registered User
 
Join Date: Mar 2012
Location: Texas
Posts: 1,666
Quote:
Originally Posted by FranceBB View Post
...now that AVXSynth has been merged into the main Avisynth branch, I mean the master, you can compile Avisynth+ and use it directly on Linux...
I don't think that's true, AVXSynth was its own separate project based on AviSynth 2.5.8. AviSynth+ is based on 2.6 and with all of the work done by pinterf, ultim, tp7, innocenat, qyot27 and others it finally got to a point that it could be compiled in other OSes. Correct me if I'm wrong but I've never read anything about AVXSynth being merged with AviSynth+.

Quote:
Originally Posted by FranceBB View Post
Stephen (I mean qyot) has been writing some topics about it, showing how to do it and how to make use of filters. Unfortunately, only a bunch of filters work on Linux 'cause not everything has been ported/compiled for Linux, but the basic stuff work like ffms2 as an indexer, all the internal plugins etc. As to the encoders, Avisynth can be used within ffmpeg and that works just fine on Linux, so you can use it just fine.
Yep, here are the relevant links to all of that in case someone else finds this thread:
Reel.Deel is offline   Reply With Quote
Old 18th April 2022, 18:55   #5  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
Side note: Vapoursynth runs fine on Linux (and Mac) here,..
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 18th April 2022, 19:36   #6  |  Link
Katie Boundary
Registered User
 
Katie Boundary's Avatar
 
Join Date: Jan 2015
Posts: 1,056
Quote:
Originally Posted by ChaosKing View Post
Installing Linux to use Windows software, find the error...
Premiere Pro 2.0 requires XP or earlier, but XP can't see hard drives larger than 2 TB. Linux/WINE is a wonderful little cheat that allows me to use Premiere Pro 2.0 with my 8 TB external hard drives. And no, I'm not going to spend a thousand dollars for a newer version of Premiere. Fuck that.

And don't even get me started on how impossible Cinelerra is for an actual human to use.
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers.
Katie Boundary is offline   Reply With Quote
Old 18th April 2022, 19:53   #7  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,904
Quote:
Originally Posted by Katie Boundary View Post
Premiere Pro 2.0 requires XP or earlier, but XP can't see hard drives larger than 2 TB. Linux/WINE is a wonderful little cheat that allows me to use Premiere Pro 2.0 with my 8 TB external hard drives. And no, I'm not going to spend a thousand dollars for a newer version of Premiere. Fuck that.

And don't even get me started on how impossible Cinelerra is for an actual human to use.
Try Davinci Resolve running natively on Linux and you'll never go back to Premiere 2 via Wine, trust me.
Unfortunately all other NLE don't seem to love Linux: Adobe Premiere is Windows and OSX only, AVID Media Composer is Windows and OSX only, Final Cut is made by Apple, so I'll let you figure that one out, so... you know, it's a tough world out there.
Luckily Davinci Resolve seems to be the outlier and they made it Linux compatible.
FranceBB is offline   Reply With Quote
Old 19th April 2022, 04:48   #8  |  Link
hello_hello
Registered User
 
Join Date: Mar 2011
Posts: 4,829
Quote:
Originally Posted by Katie Boundary View Post
Another example is the ffmpeg2source quirk. It requires index files created by ffmsindex, which in turn only likes being opened by Windows drop-down context menus or the Windows command line, neither of which is available in Linux regardless of whether you have WINE or not.
Why use ffmsindex? Create a script to open a video with ffmpeg2source / ffms2 / FFVideoSource and it'll be indexed the first time you open the script. ffmsindex isn't required.
hello_hello is offline   Reply With Quote
Old 19th April 2022, 08:07   #9  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
Quote:
Originally Posted by Katie Boundary View Post
Premiere Pro 2.0 requires XP or earlier, but XP can't see hard drives larger than 2 TB. Linux/WINE is a wonderful little cheat that allows me to use Premiere Pro 2.0 with my 8 TB external hard drives.
Paragon GPT Loader for XP seem to do the same. Some Motherboard vendors included also software for this called drive unlocker.

Instead of premiere you could try kdenlive which is also a powerfull and free video editor on linux.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database
ChaosKing is offline   Reply With Quote
Old 19th April 2022, 11:39   #10  |  Link
Frank62
Registered User
 
Join Date: Mar 2017
Location: Germany
Posts: 234
Quote:
Originally Posted by Katie Boundary View Post
Premiere Pro 2.0 requires XP or earlier.
What happens exactly if you install on Win7? There are some good switches in the MS compatibility kit.
Frank62 is offline   Reply With Quote
Old 19th April 2022, 11:56   #11  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
Google says it works on Win7 if you start it as admin. Even Win8 should work
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database

Last edited by ChaosKing; 19th April 2022 at 11:59.
ChaosKing is offline   Reply With Quote
Old 19th April 2022, 12:06   #12  |  Link
qyot27
...?
 
qyot27's Avatar
 
Join Date: Nov 2005
Location: Florida
Posts: 1,420
Quote:
Originally Posted by Reel.Deel View Post
I don't think that's true, AVXSynth was its own separate project based on AviSynth 2.5.8. AviSynth+ is based on 2.6 and with all of the work done by pinterf, ultim, tp7, innocenat, qyot27 and others it finally got to a point that it could be compiled in other OSes. Correct me if I'm wrong but I've never read anything about AVXSynth being merged with AviSynth+.
This is correct on both counts, AvxSynth was not merged, AviSynth+ working on other OSes was the result of the accumulation of changes¹ that increased the likelihood of working outside Windows until it got to the point that it could finally be pushed past that barrier.

There are a few small bits which did get copied over so some effort wasn't duplicated, but the single largest block (see commit 185723fd) was subsequently rewritten to be more portable. The rest are tiny, and you can find them using grep - a few compatibility defines in avs/posix.h, a few bits in core/parser/script.cpp that are explicitly marked as having been copied or adapted over, and core/parser/os/win32_string_compat.cpp (which just reimplements three Windows string functions, rather than anything directly related to AviSynth(+)'s code).

¹The general modernization effort did a lot to resolve things, as intrinsics are more portable and it reduced/eliminated much of the MSVC dialect being used in the core's C++. Explicit support for Linux was attempted in fits and starts for a couple years, the GCC compatibility removed another large hurdle, and beyond that you can see what went on if you read through pull request #120.
qyot27 is offline   Reply With Quote
Old 19th April 2022, 12:21   #13  |  Link
qyot27
...?
 
qyot27's Avatar
 
Join Date: Nov 2005
Location: Florida
Posts: 1,420
Quote:
Originally Posted by Katie Boundary View Post
Another example is the ffmpeg2source quirk. It requires index files created by ffmsindex, which in turn only likes being opened by Windows drop-down context menus or the Windows command line, neither of which is available in Linux regardless of whether you have WINE or not.
In the normal Terminal provided by the Linux distro:
Code:
wine ffmsindex <options>
That just needs ffmsindex to be on Wine's %PATH% (unless you want to provide the absolute path to ffmsindex every time), which does unfortunately require using wine regedit to edit, although maybe Windows Path Editor works under Wine.

But even then, Wine does have a cmd.exe substitute:
Code:
wineconsole
qyot27 is offline   Reply With Quote
Old 19th April 2022, 13:43   #14  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,904
Quote:
Originally Posted by qyot27 View Post
There are a few small bits which did get copied over so some effort wasn't duplicated, but the single largest block (see commit 185723fd) was subsequently rewritten to be more portable. The rest are tiny, and you can find them using grep - a few compatibility defines in avs/posix.h, a few bits in core/parser/script.cpp that are explicitly marked as having been copied or adapted over, and core/parser/os/win32_string_compat.cpp (which just reimplements three Windows string functions, rather than anything directly related to AviSynth(+)'s code).

The general modernization effort did a lot to resolve things, as intrinsics are more portable and it reduced/eliminated much of the MSVC dialect being used in the core's C++. Explicit support for Linux was attempted in fits and starts for a couple years, the GCC compatibility removed another large hurdle.
Oh, I see! Nice one, then, really.
Ah and thanks for diving into this, I really appreciated back when it was announced that the frameserver could have been used outside of Windows too.
FranceBB is offline   Reply With Quote
Old 19th April 2022, 20:02   #15  |  Link
Katie Boundary
Registered User
 
Katie Boundary's Avatar
 
Join Date: Jan 2015
Posts: 1,056
Quote:
Originally Posted by ChaosKing View Post
Paragon GPT Loader for XP seem to do the same.
Only for internal hard drives, not external ones.

Quote:
Originally Posted by Frank62 View Post
What happens exactly if you install on Win7?
Some error message or another, IDK.

Quote:
Originally Posted by ChaosKing View Post
Google says it works on Win7 if you start it as admin.
I tried stuff like that a long time ago. No dice.

Quote:
Originally Posted by qyot27 View Post
But even then, Wine does have a cmd.exe substitute:
Code:
wineconsole
Hmmm, intradasting.
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers.

Last edited by Katie Boundary; 19th April 2022 at 20:04.
Katie Boundary is offline   Reply With Quote
Old 19th April 2022, 21:30   #16  |  Link
Frank62
Registered User
 
Join Date: Mar 2017
Location: Germany
Posts: 234
Quote:
Originally Posted by Katie Boundary View Post
I tried stuff like that a long time ago. No dice.
You did try the MS compatibility kit? You tried ALL switches?
I could bring some applications to work on Win7 with it, that worked with no other "stuff", f. e. the old Ulead Media Studio, so this was a quite good advice.
First switch you should try is "SingleProcAffinity", if you don't know how to handle this, let me know.
Frank62 is offline   Reply With Quote
Old 20th April 2022, 02:15   #17  |  Link
Katie Boundary
Registered User
 
Katie Boundary's Avatar
 
Join Date: Jan 2015
Posts: 1,056
Quote:
Originally Posted by Frank62 View Post
You did try the MS compatibility kit? You tried ALL switches?
If you're talking about something other than the Compatibility tab in the Properties window, then I've never heard of it.
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers.
Katie Boundary is offline   Reply With Quote
Old 20th April 2022, 14:15   #18  |  Link
Frank62
Registered User
 
Join Date: Mar 2017
Location: Germany
Posts: 234
Meanwhile it's part of something bigger, but you still get it f. e. here:
https://www.chip.de/downloads/Micros..._13005894.html
Click "Manuelle Installation", and then on the big blue Download button. You have to install, start, then create a new database, create a new fix in it, save the database, and finally "install" it. Then the fix will be applied each time you start Premiere automatically.
(If you will really need it, you didn't answer what exact error you get, it's only a good way to go if nothing else works.)
Frank62 is offline   Reply With Quote
Old 5th May 2022, 17:58   #19  |  Link
Katie Boundary
Registered User
 
Katie Boundary's Avatar
 
Join Date: Jan 2015
Posts: 1,056
I've installed Davinci Resolve and it's one of the worst pieces of shit I've ever used. It can't even get through setup because it keeps crashing to desktop.
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers.
Katie Boundary is offline   Reply With Quote
Old 10th May 2022, 12:09   #20  |  Link
emcodem
Registered User
 
Join Date: Dec 2020
Posts: 19
Quote:
Originally Posted by Katie Boundary View Post
I've installed Davinci Resolve and it's one of the worst pieces of shit I've ever used.
You ever tried avid?
emcodem is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 17:01.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.