VCDQuality Forums
Here you can view your subscribed threads, work with private messages and edit your profile and preferences Frequently Asked Questions Search Home  
VCDQuality Forums : Powered by vBulletin version 2.3.0 VCDQuality Forums > Off Topic > Computer and Audio/Video help > Help a script no hoper
  Last Thread   Next Thread
Author
Thread Post New Thread    Post A Reply
Linnets
Jul 2005


Rubbery

Help a script no hoper

Lets start at the start. I'm using mac osx.

I have a bash script which purports to demux a mkv file convert the dts soundtrack to ac3 and then remux the file.

Only trouble is I can't get the fuckin thing to work.

Can someone tell me EXACTLY what to type in the terminal window to run the script.

This is what I've got.

Script, and mkv in user/desktop/mkvac3
script is called mkv.sh
mkv is called errr movie.mkv

I've tried all sorts and it keeps telling me that the command doesn't exist or some other shit error.

I really want this to work cos my windows machine is a bit of a shit box and its fat32 formatted (I know) so can't handle big files, and this is the only method I've found that people seem to have got working on a mac.

So would some kindly soul please tell me what I need to type in the terminal window to get the feckin script to run?

If you want to look at the script I got it from here

Thanks

Report this post to a moderator | IP: Logged

Old Post 03-10-2009 09:30 PM
Linnets is offline Click Here to See the Profile for Linnets Click here to Send Linnets a Private Message Find more posts by Linnets Add Linnets to your buddy list Edit/Delete Message Reply w/Quote
punzada
Feb 2004


Senior Member

I don't use osx but you should be able to execute it this way:

First, read here http://mine.jakewharton.com/wiki/mk...ample_Execution to get an idea.

now you should be able to from a terminal use the 'cd' command (change directory) to go to where you physically placed the script on your hard drive:

Example: cd /user/desktop/mkvac3/

now when you run the command 'ls' (list files) and hit enter within the directory the output should be the files listed in the directory (this is only for troubleshooting and overall good command line practice)

Example: ls
mkv.sh errr movie.mkv

Once you've verified you're in the correct directory you may run the command like so:

sh mkv.sh "errr movie.mkv"

(note i'm assuming from what you typed the filename is "errr movie.mkv" try to avoid spaces in filenames when working with command line as it leads to further complication like having to use quotes or special characters for them to be correctly interpreted).

I don't know how OSX handles default programs (what bin directories it supports) or changing persmissions (chown or chmod?) so you will have to run it with sh, if you can set permissions to make executable (chmod +x mkv.sh) then you can run the command such as:

./mkv.sh "err movie.mkv"


Just speaking from a general unix/linux background, your milage may vary with osx.

edit: fixed spelling mistake in command examples

Last edited by punzada on 03-10-2009 at 10:23 PM

Report this post to a moderator | IP: Logged

Old Post 03-10-2009 10:13 PM
punzada is offline Click Here to See the Profile for punzada Click here to Send punzada a Private Message Find more posts by punzada Add punzada to your buddy list Edit/Delete Message Reply w/Quote
Linnets
Jul 2005


Rubbery

Fantastic. I didn't guess you had to type sh at the start of the command to get the script to run.

Now i realise I've got to use some compiler or another to make some libraries or something. It might just be simpler to buy a DTS receiver.

I only want to be able to watch 1080p rips through my WD HD TV. All the 1080 rips seem to come with DTS which the WD can't output except via a toslink to something that can decode it.

Thanks for your help tho punz.

Report this post to a moderator | IP: Logged

Old Post 03-10-2009 11:11 PM
Linnets is offline Click Here to See the Profile for Linnets Click here to Send Linnets a Private Message Find more posts by Linnets Add Linnets to your buddy list Edit/Delete Message Reply w/Quote
Neversoft
May 2002


Admin?

Re: Help a script no hoper

quote:
Originally posted by Linnets
I really want this to work cos my windows machine is a bit of a shit box and its fat32 formatted (I know) so can't handle big files

1. Open Command Prompt. Click Start, point to All Programs, point to Accessories, and then click Command Prompt.

2. In the command prompt window, type: convert drive_letter: /fs:ntfs

__________________
Statistically... 9 out of 10 people actually enjoy gang rape.

Report this post to a moderator | IP: Logged

Old Post 03-11-2009 12:45 AM
Neversoft is offline Click Here to See the Profile for Neversoft Click here to Send Neversoft a Private Message Find more posts by Neversoft Add Neversoft to your buddy list Edit/Delete Message Reply w/Quote
Linnets
Jul 2005


Rubbery

Re: Re: Help a script no hoper

quote:
Originally posted by Neversoft
1. Open Command Prompt. Click Start, point to All Programs, point to Accessories, and then click Command Prompt.

2. In the command prompt window, type: convert drive_letter: /fs:ntfs




And this will leave the drives contents intact? Might be of some use if so. Actually thinking about it, its probably not much use cos I formatted my external drive as hsf+ and windows won't fuckin read it. Dunno why I did that really as I'm sure the mac would read ntfs. Oh why is it never easy?

Report this post to a moderator | IP: Logged

Old Post 03-11-2009 01:29 AM
Linnets is offline Click Here to See the Profile for Linnets Click here to Send Linnets a Private Message Find more posts by Linnets Add Linnets to your buddy list Edit/Delete Message Reply w/Quote
Neversoft
May 2002


Admin?

Yeah, it leaves the drive contents intact but it takes roughly as long as a format would to convert the drive.

As for that HFS+ formatted drive, shove this piece of freeware up your PC

(I should wear a cape for this shit!)

quote:
Originally posted by Linnets
Oh why is it never easy?
Must... Not... Insult... Linnets

__________________
Statistically... 9 out of 10 people actually enjoy gang rape.

Last edited by Neversoft on 03-11-2009 at 04:35 PM

Report this post to a moderator | IP: Logged

Old Post 03-11-2009 04:31 PM
Neversoft is offline Click Here to See the Profile for Neversoft Click here to Send Neversoft a Private Message Find more posts by Neversoft Add Neversoft to your buddy list Edit/Delete Message Reply w/Quote
Linnets
Jul 2005


Rubbery

Now we could be talking! I'll give that app a go sometime. I might just have to clear a load of shite off of my craptop and make it the d/l'ing machine again. I changed a drive on my work pc to NTFS using the convert command and it worked a treat. Also managed to convert a 1080 mkv from DTS to AC3 using windows software so I reckon I could be good to go.

Ta v muchly softy. Didn't even occur to me to look for a HFS+ tool.

Report this post to a moderator | IP: Logged

Old Post 03-11-2009 05:18 PM
Linnets is offline Click Here to See the Profile for Linnets Click here to Send Linnets a Private Message Find more posts by Linnets Add Linnets to your buddy list Edit/Delete Message Reply w/Quote
Linnets
Jul 2005


Rubbery

I downloaded that open source program. It was about as much use as a chocolate teapot. You can't copy files from a windows partition to a mac partition. All you can do is "explore" the mac partitions.

I did download a program called MacDrive which does let you drag and drop between the 2, but I still had to convert the DTS track to AC3 which, although not hard, is a pain in the arse. In the end i thought "fuck it" and bought a home theatre speaker system from fleabay. £25 to decode DTS has gotta be worth it.

Report this post to a moderator | IP: Logged

Old Post 03-17-2009 06:56 PM
Linnets is offline Click Here to See the Profile for Linnets Click here to Send Linnets a Private Message Find more posts by Linnets Add Linnets to your buddy list Edit/Delete Message Reply w/Quote
Linnets
Jul 2005


Rubbery

So I got my £25 JVC Home Tehatre setup including DVD player and 5.1 speakers. Set it up and it works a treat. No need for re-encoding audio at all.

Sounds excellent too.

The chap sold it as faulty because the DVD was only outputting in black and white. A quick google search fixed that problem (not that I'm ever likely to use it for DVD's), so I got a completely working HT system with (FM) wireless rear surround speakers for £25 plus cabling.

I would heartily recommend the WD HD TV to anyone, neat little packeage and seems to do exactly what its supposed to. People do have niggles with it with various formats, but I think all scene releases will play fine. I d/l'd a 17gig copy of transformers in 1080p with DTS sound and it plays perfectly. Well pleased with my purchases.

Report this post to a moderator | IP: Logged

Old Post 03-24-2009 03:15 PM
Linnets is offline Click Here to See the Profile for Linnets Click here to Send Linnets a Private Message Find more posts by Linnets Add Linnets to your buddy list Edit/Delete Message Reply w/Quote
Fuckmonkey
Jan 2009


Will bottom for marmosets

WD = Wharfdale? Weren't they Amstrad at one point?

And how did you fix the DVD? Mechanical or software?

Report this post to a moderator | IP: Logged

Old Post 03-24-2009 03:49 PM
Fuckmonkey is offline Click Here to See the Profile for Fuckmonkey Click here to Send Fuckmonkey a Private Message Find more posts by Fuckmonkey Add Fuckmonkey to your buddy list Edit/Delete Message Reply w/Quote
punzada
Feb 2004


Senior Member

quote:
Originally posted by Fuckmonkey
WD = Wharfdale? Weren't they Amstrad at one point?



He means Western Digital, specifically http://www.wdc.com/en/products/products.asp?DriveID=572

Report this post to a moderator | IP: Logged

Old Post 03-24-2009 04:15 PM
punzada is offline Click Here to See the Profile for punzada Click here to Send punzada a Private Message Find more posts by punzada Add punzada to your buddy list Edit/Delete Message Reply w/Quote
Fuckmonkey
Jan 2009


Will bottom for marmosets

Ah right, I put "WD" and "TV" together and thought 'but WD don't make TVs do they'?

I r spacker.

Report this post to a moderator | IP: Logged

Old Post 03-24-2009 04:17 PM
Fuckmonkey is offline Click Here to See the Profile for Fuckmonkey Click here to Send Fuckmonkey a Private Message Find more posts by Fuckmonkey Add Fuckmonkey to your buddy list Edit/Delete Message Reply w/Quote
Linnets
Jul 2005


Rubbery

quote:
Originally posted by Fuckmonkey
And how did you fix the DVD? Mechanical or software?


Software. It was a quick fix using VFP (Video Fine Processor). Its a system for having different settings for gamma, hue. saturation, colour and brightness. There are 2 fixed settings (Normal and cinema) and then 2 user settings. I just had to change one of the user settings and it came back to full colour.

Report this post to a moderator | IP: Logged

Old Post 03-24-2009 04:53 PM
Linnets is offline Click Here to See the Profile for Linnets Click here to Send Linnets a Private Message Find more posts by Linnets Add Linnets to your buddy list Edit/Delete Message Reply w/Quote
All times are GMT. The time now is 12:55 PM. Post New Thread    Post A Reply
  Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread

Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

< Contact Us - www.vcdhq.com >

Powered by: vBulletin Version 2.3.0
Copyright ©2000, 2001, Jelsoft Enterprises Limited.