dswinton / batch-h.264-converter Goto Github PK
View Code? Open in Web Editor NEWPoint it at a folder full of movies and it will convert anything that's not MP4 + H.264 + AAC into that format
License: GNU General Public License v3.0
Point it at a folder full of movies and it will convert anything that's not MP4 + H.264 + AAC into that format
License: GNU General Public License v3.0
When running I get:
PHP Fatal error: Uncaught Error: Call to undefined function json_decode() in /Batch-H.264-Converter/batch/-h264-converter:72
I'm guessing this is intentional as your cleaner script seems to remove the scenario all together rather than correct it, but I am trying to target an entire directory of TV shows (/tv/show name/season/episode.avi). It only goes to the show name level and does not enter individual seasons. I have written a bash script to recursively correct this behaviour but I run into issues with spaces in the directory names. The command I use is as follows and returns an error from ffmpeg that the file does not exist. If I run your script as a one off for the individual season, I have no problems.
for d in /storage/tv/*/*/ ; do (/root/Batch-H.264-Converter/batch-h264-converter "$d") ; done
Your script is exactly what i was looking for automating my file conversions and if you could implement a native way to scan deeper into the file tree it would be perfect.
Edit: I've managed to completely work around this issue by using this in my bash script.
find /storage/tv/* -type d | while read line ; do /root/Batch-H.264-Converter/batch-h264-converter "$line"/ ; done
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.