How do I generate trace file of an AVC bitstream in JSVM? - scalability

I have got stuck in this question for about a month.
I want to generate trace file of an AVC bitstream in JSVM.
It always shows:
" No scalability SEI message found!
Extractor exit. "
Please kindly help me.
Elvin

If you have installed correctly JSVM in your pc i will provide you directions regarding Linux environment.
First of all you have to generate the bitstream file.
To do that you have to edit properly one config file for example main.cfg
In this file you provide desired parameters of your encoding
anyway in this link you have a detailed example that will help you.
http://r2d2n3po.tistory.com/52

Related

Modify basic files used with gwbasic

I have a batch file which launches other .bas files with the help of gwbasic.
Here is the code of the batch file:
graphics
cd basic
gwbasic menut-hp/d
cd \
Then I have the possibility by typing 1 or 2 etc + ENTER to choose which program i want to run. The programs are located in the same directory as my batch file. The programs are xxx.BAS files.
The problem is:
I have a piece of software written in GWBASIC that currently is set up to just print locally to LPT1.
When I disconnect the local printer, the software (gwbasic i guess) sends automatically the things to print to the network printer.
The result is that a lot of A4 papers come out with only a few lines written.
On the local printer, the printer only printed when i exited the batch program.
On the network printer, it's like its non stop synchronizing, and not only when i exit the batch program.
I see 2 solutions:
manage to put a tempo for the printing on the network printer (to refresh every 2 minutes for example)
or try to add a line in the .BAS files, to save the text in a .txt of .pdf file, instead of printing it.. or print it in a pdf file.
I have almost no idea how gwbasic works, even after some researches.
Moreover, i haven't managed to view (and modify) the code of the .BAS files
Sorry for my bad english,
If anyone has any idea, it would help me a lot!
Thank you very much :)
Maybe later, but I enjoy scripting with BASIC and CONSOLE APP.
I recommend you run a command BAT before you BAS code to get default printer
wmic printer get name,default | find "TRUE" > Printer.txt
With this linen you get the similar response into Printer.txt
TRUE Microsoft Print to PDF
After that, in your BAS code, read them and validate printer name or discard network printer before print.
Happy coding!

processing images with .bif extension

I am working on a medical domain project which has the initial data in the format of .bif(concerning the resolution issues) but I am not able to process that image for further coding. Can anyone please let me know how to go about it ?
The .bif format is produced by a Ventana medical slide scanner. https://github.com/libvips/libvips can read and convert .bif files with help from https://openslide.org/. Currently this bug causes problems with the output though: https://github.com/openslide/openslide/issues/132.
https://github.com/ome/bioformats is a Java library which also claims support for reading .bif.

Best way to parse pdf and word doc

I want to build an application that gets info out of a pdf or word doc and populate this into my database.
How do I go about this in the best way? Bare in mind that only certain information needs to be extracted from the pdf or word docu.
To parse PDF, I know 2 choices :
pdftotext
Check pdf2text
OCR
try tesseract
There are planty of free open source libs that will help you parsing the input file.
in the basic concepts- dont build the parser from scratch ,
use some open source lib to help you out.
if you will say in what lang you'r trying to write your code it may help:
for example for PDF your can find:
https://www.pdfparser.org/ (for php)
https://www.codeproject.com/Articles/12445/Converting-PDF-to-Text-in-C (for C#)
and more.
for DOC\DOCX , pretty much the same.

Ghostscript output to file with ESC-P sequences

For a project (printing nanofluids with an Epson printer) I want to see the the code that the computer sends to the printer. I am running Ubuntu 16.04 and have an Epson Stylus SX600FW printer.
Using Ghostscript 9.18 I am trying to print a simple file test.ps and I want to obtain the output file that is being send to the printer. This file should contain some ESC/P sequences if I am right.
I tried to obtain such a file using:
gs -sDevice=epson -sOutputFile=test1output test1.ps
Whatever I try, I can't find the output file anywhere, so I doubt it is even created. Then next if I have the output file, how can I read the ESC/P sequences? Thanks in advance!
For me, that command line results in a file called 'test1output' in the current directory. If you are unable to find the file you could try specifying a complete path and file spec, or at least -sOutputFile=./test1output
As for reading the sequences, any binary editor will read the file.

Parse Lego Digital Designer *.lxf files

I was toying with Lego digital designer the other day (http://ldd.lego.com/) and I was wondering if the saved file could be relatively easily parsed.
As anybody ever done that before? I'm looking for code examples, no matter the language :)
Thanks !
Romain
Maybe this would help: http://bricksviewer.sourceforge.net/index.shtml
A .lxf file is just a zip file, on the page I mentioned there is a short description of the format. For more details you should read the source.

Resources