GithubHelp home page GithubHelp logo

zoffline / bdinfocli-ng Goto Github PK

View Code? Open in Web Editor NEW

This project forked from uniqproject/bdinfo

58.0 58.0 11.0 2.79 MB

BDInfo (with UHD support) modified for command line usage.

License: GNU Lesser General Public License v2.1

C# 99.71% Shell 0.24% Dockerfile 0.05%

bdinfocli-ng's People

Contributors

pankkake avatar uniqproject avatar wybb avatar zoffline 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

Watchers

 avatar  avatar  avatar

bdinfocli-ng's Issues

Request: support quick summary mode as gui does

Most of the time I would like to get the summary information of blu-ray discs, regardless of the accurate bitrates. However, the present BDInfo_cli always scan the whole disc. If lots of discs are to detect, it will take a very long time and the hard disk is keeping overloaded.
BDInfo.exe "X:\BLURAY_DISK_FOLDER" -m 00800.mpls
By contrast, the gui version can give the summary information in a very short time (about 10 s) since the folder is loaded.
It would be nice that additional argvs allowing quick summary mode are given.
Thanks for your nice code.

Randomly crashes before generating the report

00001.MPLS --> 00001.M2TS

                File           Elapsed      Remaining
Scanning 100% - 00001.M2TS     00:03:31  |  00:00:00
Scan completed successfully.
Please wait while we generate the report...
* Assertion at gc.c:910, condition `ret != WAIT_TIMEOUT' not met

Stacktrace:


Native stacktrace:

	mono(+0xc8514) [0x563bbea5b514]
	/lib/x86_64-linux-gnu/libpthread.so.0(+0x12890) [0x7fe22b4e1890]
	/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7) [0x7fe22af04e97]
	/lib/x86_64-linux-gnu/libc.so.6(abort+0x141) [0x7fe22af06801]
	mono(+0x289769) [0x563bbec1c769]
	mono(+0x2899fc) [0x563bbec1c9fc]
	mono(+0x289b93) [0x563bbec1cb93]
	mono(+0x1e5a4b) [0x563bbeb78a4b]
	mono(mono_runtime_cleanup+0xe) [0x563bbeb71d3e]
	mono(+0x3a869) [0x563bbe9cd869]
	mono(mono_main+0x121c) [0x563bbea2c81c]
	mono(+0x38236) [0x563bbe9cb236]
	/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7fe22aee7b97]
	mono(_start+0x2a) [0x563bbe9cb60a]

Debug info from gdb:


=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

fish: “mono /home/user/bdinfocli-v…” terminated by signal SIGABRT (Abort)```

Add option to specify playlist by ID

Add ability to specify on the command line which playlist(s) to scan by bdinfo's given playlist id. It's easier than typing out the MPLS name.

e.g., bdinfo.exe --playlists 1,2 BD_PATH REPORT_DEST

Change -m description to read "list of playlist files"

Error: "Object reference not set to an instance of an object" on Linux with Docker

When using it with docker (Docker version 20.10.12, build e91ed5707e) on Arch Linux (5.15.13-arch1-1), with both documented variants I'll get the above error, which according to my research is a common null pointer in C#. I also tried out different flags such as the -w (whole) to see if I need some additional settings, but everything leads to the same error. My guess is that something is going wrong with the device path, as the "Scan completed successfully" is really fast.

Here is the output:

./bdinfo /dev/sr0 /home/pygospa/report
Please wait while we scan the disc...
Preparing to analyze the following:

                File           Elapsed      Remaining

Scan completed successfully.
Please wait while we generate the report...
Object reference not set to an instance of an object

error: /mnt/bd/BDInfo.exe does not exist

hei there

I am on linux and tried to install it with the help of the docker wrapper script. It seemed to have worked as the first run got through without errors. When I then tried to analyze a bluraydisc I got this error
error: /mnt/bd/BDInfo.exe does not exist
any ideas?

[FEATURE REQUEST] output to terminal & silent-mode

When scanning a disc, I sometimes really want to not create any file or anything, but actually print the output to the shell/terminal.

This option is not available. Would love to see this feature implemented like this:

Added arguments:

  • -s, --silentㅤㅤㅤㅤㅤㅤruns silent, just compatible with '-w'. Just prints anything if errors occur
  • -t, --terminalㅤㅤㅤㅤㅤoutputs results to terminal, does not store any file. Not working if output folder provided.

the command of my choice would be:
docker run --rm -it -v <BD_PATH>:/mnt/bd zoffline/bdinfocli-ng -wst /mnt/bd

This will not print anything to the shell unless there are errors. But if no errors, it will just print the result. So no files will be stored. Would highly appreciate this feature.

Not working for ISO files

Hello

BDInfo.exe -w C:\Users\Administrator\Desktop\Storm.Boy.2019.BluRay.1080p.AVC.DTS-HD.MA5.1-MTeam\ C:\Users\Administrator\Desktop\report
Please wait while we scan the disc...
Preparing to analyze the following:

            File           Elapsed      Remaining

Scan completed successfully.
Please wait while we generate the report...
Object reference not set to an instance of an object.

Windows Server 2008
BDInfoCLI : Version : 0.7.3.65534

error: /mnt/report does not exist or is not a directory

> Error: invalid reference format

Not sure why I'm getting this. Seems to be a Docker error. Followed the instructions to run it on Linux server.

EDIT: Fixed by renaming the directory containing the BDMV folder to something without spaces in the filename (escaping it with quotes or slashes didn't work). Now getting error: /mnt/report does not exist or is not a directory

Minimum mono packages requirements on Debian-slim

I try to run BDInfoCLI-ng in a lighter container (from a debian:buster-slim). By directly putting the binarys, I skip the compilation and all necessary packages.
But mono-runtime package only is not enough to run BDInfoCLI-ng. Do you have any idea, which package are purely necessary ?
Trying to avoid the full set: binutils curl mono-devel ca-certificates-mono fsharp mono-vbnc nuget referenceassemblies-pcl

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.