Giter Club home page Giter Club logo

x265-videoconverter's Introduction

x265-videoconverter's People

Contributors

bandittech avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

x265-videoconverter's Issues

FileNotFoundError

First of all. thanks for sharing the code, awesome idea.

when i run

python3 main.py -s

the program returns

FileNotFoundError: [Errno 2] No such file or directory: 'ffprobe -v quiet -print_format json -show_format -show_streams "/mnt/storage/movies/Madagascar 3 Europe\'s Most Wanted (2012)/Madagascar 3 Europe\'s Most Wanted (2012) Bluray-1080p.mkv"': 'ffprobe -v quiet -print_format json -show_format -show_streams "/mnt/storage/movies/Madagascar 3 Europe\'s Most Wanted (2012)/Madagascar 3 Europe\'s Most Wanted (2012) Bluray-1080p.mkv"'

when i probe the file manually with ffprobe it works, but it seems like the script has some trouble with escaping quotation marks or spaces.

I hope you can help me :)

Getting an error trying to convert

$ mkvconvert -n 12 --crf 22
loading library
2021-10-19 10:03:42 library.logger.returnLibraryEntries +344: WARNING [1134262] reached end of database
/mnt/slacknas/TV/TV/TV SHOW/Season 5/TV SHOW - S05E02 - TV SHOW - [Bluray-720p] - [x264].mkv
Traceback (most recent call last):
File "/home/mikedawg/bin/mkvconvert", line 249, in
main()
File "/home/mikedawg/bin/mkvconvert", line 221, in main
encodeResult = encoder.encode(args)
File "/home/mikedawg/bin/library/videoEncoder.py", line 276, in encode
self.command = self._commandString()
File "/home/mikedawg/bin/library/videoEncoder.py", line 96, in _commandString
self._mapSubtitleStreams()
File "/home/mikedawg/bin/library/videoEncoder.py", line 173, in _mapSubtitleStreams
self.subtitleFile = mediaTracker.VideoInformation(subtitle)
TypeError: init() missing 1 required positional argument: 'args'

FWIW, I setup the directory structure for x265-videoconverter:

cp main.py /home/mikedawg/bin/mkvconvert
mkdir -p /home/mikedawg/bin/library
cp library/* /home/mikedawg/bin/library/

Not sure if this has to do with the problem, but I'm thinking not.

dependencies?

Not clear from the documentation what are the dependencies, libraries needed, etc.

TypeError: 'bool' object is not subscriptable

Got an error during scan. Please let me know if there's anything you want me to help with.
Running Python v3.9.13 on Mac OS 12.4

2022-07-12 10:34:24 library.logger.simpleEntry +78: ERROR    [58883] No video streams
Traceback (most recent call last):
  File "/Users/scripts/x265-videoconverter/./main.py", line 249, in <module>
    main()
  File "/Users/scripts/x265-videoconverter/./main.py", line 155, in main
    library.scan(fp, args)
  File "/Users/scripts/x265-videoconverter/library/mediaTracker.py", line 224, in scan
    self.log.info(f'{self.entry["width"]}x{self.entry["height"]} @ {self.entry["bit_rate"]}kbps -- Adding to tracked list')
TypeError: 'bool' object is not subscriptable

This error occurs when attempting to scan a corrupted video file. I'd recommend trying to catch the error and log as potential corrupted media when encountered.

ffmpeg parameters

Is there a way to pass parameters to ffmpeg for hardware dec/env such as: -b:v 700K -c:v hevc_nvenc ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.