FORUMS
Remove All Ads from XDA

Batch Video Converter

229 posts
Thanks Meter: 60
 
By Budius, Senior Member on 30th March 2014, 01:26 PM
Post Reply Email Thread
17th August 2014, 08:43 PM |#51  
OP Senior Member
Thanks Meter: 60
 
More
Prompt
Quote:
Originally Posted by pwvandeursen

just compiled ffmpeg and installed java. downloaded chomecastconvert and executed it. however this was the reply:

Hi.... sorry for the delay. I was OOO.

I Googled a bit around and apparently you're missing some package for the Java Runtime.
check this:
http://stackoverflow.com/questions/5...linux-terminal

maybe/probably something like that can fix it too:

Code:
sudo apt-get purge openjdk-6-jre openjdk-6-jdk
sudo apt-get install openjdk-6-jre
 
 
3rd May 2016, 11:36 PM |#52  
OP Senior Member
Thanks Meter: 60
 
More
UP!!!
Version 2.0 released, check the first post!
16th May 2016, 10:19 AM |#53  
OP Senior Member
Thanks Meter: 60
 
More
UP!
New version released. minor bug fix V2.0.1. Check first page for details.
10th June 2016, 11:00 PM |#54  
OP Senior Member
Thanks Meter: 60
 
More
UP!
Version 2.1.0, less warnings and more action.
Check first page for details
19th December 2016, 10:10 AM |#55  
Junior Member
Thanks Meter: 0
 
More
hi - I really want to try out your converter but I'm having trouble getting started - very new to all this - I have as per the instructions installed ffmpeg (windows 7 user) and configured the path for it - on the c drive - but the next bit I cant seem to get right - I have downloaded and unzipped your converter but no matter what location I use it in when I use open cmd prompt and type cc_converter as per instructions I get 'is not recognised as an interna lor external command etc' error - I reckon its probably something basic that I'm doing wrong but no amount of googling seems to be fixing it!

appreciate any simple steps you can provide.

cheers
22nd December 2016, 08:25 PM |#56  
OP Senior Member
Thanks Meter: 60
 
More
Quote:
Originally Posted by stdanjo

hi - I really want to try out your converter but I'm having trouble getting started - very new to all this - I have as per the instructions installed ffmpeg (windows 7 user) and configured the path for it - on the c drive - but the next bit I cant seem to get right - I have downloaded and unzipped your converter but no matter what location I use it in when I use open cmd prompt and type cc_converter as per instructions I get 'is not recognised as an interna lor external command etc' error - I reckon its probably something basic that I'm doing wrong but no amount of googling seems to be fixing it!

just add the path where u unzip cc_converter to the path too.
that way should be easy to use it from anywhere.

hope it helps.
23rd December 2016, 10:49 AM |#57  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by Budius

just add the path where u unzip cc_converter to the path too.
that way should be easy to use it from anywhere.

hope it helps.

hi - thanks so much for replying.
I have managed to get to the stage where I can use a cmd line with cc_converter.bat - I eventually worked out I needed to edit the .bat file to show pathway for CLASSPATH (like I said totally new to all this but giving it a go and learning -a lot - as I go!)
so I am now getting from cmd after typing cc_converter.bat
Chromecast Converter - V2.1.0
Input File or Folder cannot be empty
usage: ./cc_converter <opts>
-i,--input <arg> Input file or folder
-o,--output <arg> Output folder (optional)
-q,--quality <arg> Quality: high, normal, low. Default is high (optional)
-s,--speed <arg> Speed: ultrafast, superfast, veryfast, faster, fast,
medium, slow, slower, veryslow. Default is slow (optional)
-f,--force Force conversion (even if input codecs are correct)
-d,--delete Delete the original file upon successful conversion
--DEBUG Debug mode with more logs


I know there must be somewhere to type in the options but I am at a loss. I'm trying to run the following from your list of suggestions but obviously I'm getting something wrong.
•Default values, entire collection to different folder, delete after success conversion
./cc_converter -i ~/Videos/ -o ~/ChromecastVideos -d

if I try (using my locations)
./cc_converter -i ~/cctest/ -o ~/cctest2/ -d
I get '.' is not a recognised command etc - I assume because ./cc_converter is for java rather than windows cmd ?

so I try
cc_converter.bat -i ~/cctest/ -o ~/cctest2/ -d
I get the original
'Input File or Folder cannot be empty' error

so I try
cc_converter.bat -i ~\cctest\ -o ~\cctest2\ -d
same error

so I try cc_converter.bat -i ~c:\cctest\ -o ~c:\cctest2\ -d
same error

I think I'm close but could be a million miles away! I've been through the batch file to see if the settings are there but I cant work out where they would go?

If you get 5 mins to read this and make a suggestion I (and my wife who has had to put up with my swearing) would be very grateful.

just to recap I've installed java (in c:\program files and ffmpeg and cc_converter-2.1.0 in the c:\ the folders I am using to test this with are c:\cctest which has an avi copy of Die Hard - (because its Christmas) and output folder is c:\cctest2

in the meantime I will keep tinkering away and hopefully work it out!

cheers
23rd December 2016, 10:58 AM |#58  
OP Senior Member
Thanks Meter: 60
 
More
Quote:
Originally Posted by stdanjo

hi - thanks so much for replying.
I have managed to get to the stage where I can use a cmd line with cc_converter.bat - I eventually worked out I needed to edit the .bat file to show pathway for CLASSPATH (like I said totally new to all this but giving it a go and learning -a lot - as I go!)
so I am now getting from cmd after typing cc_converter.bat
Chromecast Converter - V2.1.0
Input File or Folder cannot be empty
usage: ./cc_converter <opts>
-i,--input <arg> Input file or folder
-o,--output <arg> Output folder (optional)
-q,--quality <arg> Quality: high, normal, low. Default is high (optional)
-s,--speed <arg> Speed: ultrafast, superfast, veryfast, faster, fast,
medium, slow, slower, veryslow. Default is slow (optional)
-f,--force Force conversion (even if input codecs are correct)
-d,--delete Delete the original file upon successful conversion
--DEBUG Debug mode with more logs


I know there must be somewhere to type in the options but I am at a loss. I'm trying to run the following from your list of suggestions but obviously I'm getting something wrong.
•Default values, entire collection to different folder, delete after success conversion
./cc_converter -i ~/Videos/ -o ~/ChromecastVideos -d

if I try (using my locations)
./cc_converter -i ~/cctest/ -o ~/cctest2/ -d
I get '.' is not a recognised command etc - I assume because ./cc_converter is for java rather than windows cmd ?

so I try
cc_converter.bat -i ~/cctest/ -o ~/cctest2/ -d
I get the original
'Input File or Folder cannot be empty' error

so I try
cc_converter.bat -i ~\cctest\ -o ~\cctest2\ -d
same error

so I try cc_converter.bat -i ~c:\cctest\ -o ~c:\cctest2\ -d
same error

I think I'm close but could be a million miles away! I've been through the batch file to see if the settings are there but I cant work out where they would go?

If you get 5 mins to read this and make a suggestion I (and my wife who has had to put up with my swearing) would be very grateful.

just to recap I've installed java (in c:\program files and ffmpeg and cc_converter-2.1.0 in the c:\ the folders I am using to test this with are c:\cctest which has an avi copy of Die Hard - (because its Christmas) and output folder is c:\cctest2

in the meantime I will keep tinkering away and hopefully work it out!

cheers

hi,

it seems you're getting close indeed.
the usage of `~` and `./` symbols is a unix notation (used on Mac and Linux (I use linux)). The `~` is for home folder and `./` is to execute
And you won't find anything on the bat file, it is just an auto-generated file that executes the Java code (the .jar file) and pass those parameters to Java
Windows doesn't use any of it. So for you I believe it would be just:

Code:
cc_converter.bat -i c:/cctest -o c:/cctest2 -d
It might be necessary to wrap the path on windows with quotation marks, like "c:/cctest", but I'm not sure. You test it.
And remember that `-d` will delete the original file after successful conversion. If you don't want that, do not add `-d`
23rd December 2016, 09:51 PM |#59  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by Budius

hi,

it seems you're getting close indeed.
the usage of `~` and `./` symbols is a unix notation (used on Mac and Linux (I use linux)). The `~` is for home folder and `./` is to execute
And you won't find anything on the bat file, it is just an auto-generated file that executes the Java code (the .jar file) and pass those parameters to Java
Windows doesn't use any of it. So for you I believe it would be just:

Code:
cc_converter.bat -i c:/cctest -o c:/cctest2 -d
It might be necessary to wrap the path on windows with quotation marks, like "c:/cctest", but I'm not sure. You test it.
And remember that `-d` will delete the original file after successful conversion. If you don't want that, do not add `-d`

LEGEND !
that's it ! - thank you so much - now just a few hundred files to sort out!
thanks again
24th December 2016, 04:33 PM |#60  
OP Senior Member
Thanks Meter: 60
 
More
Quote:
Originally Posted by stdanjo

LEGEND !
that's it ! - thank you so much - now just a few hundred files to sort out!
thanks again

I'm happy I could help.
Hopefully your few hundread files won't take until next year.

First time I converted several seasons of several series took my i7 gen2 about 3 weeks
25th February 2017, 09:38 AM |#61  
Senior Member
Thanks Meter: 26
 
More
Quote:

C:\cc_converter\bin>cc_converter -i abc.avi -o abc
Chromecast Converter - V2.1.0
Converting C:\cc_converter\bin\abc.avi into C:\cc_converter\bin\abc with slow speed and quality 18. Do not delete anything.
Exception in thread "main" java.lang.NullPointerException
at com.budius.chromecast.converter.processor.Job.<ini t>(Job.java:23)
at com.budius.chromecast.converter.Execution.executeF ile(Execution.java:66)
at com.budius.chromecast.converter.Execution.run(Exec ution.java:47)
at com.budius.chromecast.converter.Main.main(Main.jav a:41)

anybody can help ?

windows 10, installed latest java, set java_home, added cc_converter and ffmpeg to path and tried excluding output and -d arguments then i'm getting this

Quote:

C:\cc_converter\bin>cc_converter -i abc.avi
Chromecast Converter - V2.1.0
Exception in thread "main" java.lang.NullPointerException
at com.budius.chromecast.converter.Main.main(Main.jav a:31)

Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes