how to convert downloaded video file to text file - audio

I have downloaded many video files and it should be converted to text files. Can anybody please help me out to convert a video file into a text? This is very important for my project.. Please suggest the answers soon as possible..
Thanks in advance

Generally i recommend convert file to Base64. On linux You can use base64 command line tool to convert binary file to text representation.
base64 file.avi > file.txt
To decode from text file:
base64 -d file.txt > file.avi

If it's a youtube video then you can just go to more next to save and click open transcript. I found it pretty easy. Then you can copy and paste it into a text file.

Related

How to convert proprietary audio file with 16kbit/s

has anyone an idea how to convert this 16kbit/s (maybe) proprietary audio file, back to a standard wave file?
The header strings only tell "PPCM_16" but I don't think it's a packed PCM.
The file format must be about 10 - 25 years old.
The file (it's a .bin format): https://ufile.io/wh6bc
Thank you!
try on the command line:
sox yourfile.bin newfile.wav
and see how it goes

Corrupt Text File read/write/open

I have a large text file that I take notes in; Recently, after saving it, it won't open and gives following error. I tried a few things on web that didn't work---opening in different encoding format, etc. Nothing worked. Any idea how I can open it again? Is there a language I can use from bash? I'm very familiar with PHP. Any ideas? Different text editor?
Error:
"The document “ToDo.txt” could not be opened. Text encoding Unicode (UTF-8) isn’t applicable."
"The file may have been saved using a different text encoding, or it may not be a text file."
cat the file from the CLI and make sure your data is still there. Then you could simply copy and paste the output into a new file and hopefully get rid of whatever weird encodings are causing that text editor to not read the file.

How to generate pdf file of text and image in linux?

I am generating a logfile on one of my servers.
Storing alot of data, then sending it to my mail once a month as a pdf file.
The prosess i am using is to 'cat' alot of commands to a text file, then convert it and send.
Is there any linux programs or some eazy way to do something simulare and add a image i have stored on the server in the pdf file?
This answer assumes that you just want to put the image at the end of the PDF.
You could first convert the image using imagemagick to a PDF doing this (will also work with different file types):
convert image.jpg image.pdf
Then, you can use a tool like stapler or pdftk to combine your generated text PDF and the image.pdf (you can add multiple images):
stapler cat text.pdf image.pdf combined.pdf
pdftk text.pdf image.pdf output combined.pdf

Convert xva (citrix xenserver) image to .img (vanilla xen) image

I am looking if there is any tried and tested way to convert Citrix xenserver .xva file to vanilla xen .img file?
Tried "qemu-img convert -O raw" option but that didnt work.
Thanks
To summarize the .xva format:
it's a tar file
it contains a folder
the folder contains chunks of 1MB each
they can be concatenated, but blank space needs to be filled
Please follow
http://wiki.sysconfig.org.uk/display/howto/Convert+Citrix+XenServer+images+to+plain+Xen

How to open .RAW file to see it's content except AUDACITY

I have converted one mp3 file to .RAW format using audacity and now i want to open it to see it's binary content.
When i opened it with notepad++... NUL.... symbols almost killed me...
If somebody knows some editor for .RAW format file shall be highly helpful.
Thanks in advance.
just to answer my own question... hex editor is the tool

Resources