Sponsored Content
Top Forums UNIX for Advanced & Expert Users How to determine the encoding of this dd image? Post 302910874 by NICEPeppino on Monday 28th of July 2014 05:25:45 PM
Old 07-28-2014
The audio data come from tapes (DDS)

Yes you are right there are many of these block and their size is fixed at 524288 bytes

I do not get how the audio data should be decrypted each this data chunk but each of this as a metadata associated which is pretty much like this:

Code:
            84  20070306 16290454 20070306 16451529 2211 1 538            
            20070306 16290454 16842803 33 50354972            
            20070306 16301417 16908339 10 23341            
            20070306 16303670 16973843 262 23347            
            20070306 16393533 33816627 1 23478            
            20070306 16394148 50724883 3 23480            
            20070306 16395377 118030355 1 23483            
            20070306 16401015 907018259 1 23487            
            20070306 16420278 38142003 1 23514            
            20070306 16420892 21495827 1 23516            
            20070306 16421302 55115795 1 23517            
            20070306 16422121 21757971 1 23519            
            20070306 16422530 21823507 1 23520            
            20070306 16422940 55443475 4 23521            
            20070306 16424374 290521139 1 23524            
            20070306 16432060 39977011 1 23533            
            20070306 16432674 23330835 1 23535            
            20070306 16433084 56950803 1 23536            
            20070306 16433903 90701843 1 23538            
            20070306 16435132 40697875 4 23541            
            20070306 16440361 107937811 2 23544            
            20070306 16441999 24444947 2 23548            
            20070306 16442614 24510515 1 23549            
            20070306 16443023 41353267 8 23550            
            20070306 16445071 58261555 1 23555            
            20070306 16445891 58458163 2 23557            
            20070306 16450914 41877523 1 23560

Any idea on how to process each chunk based on this metadata?
Each block has its metadata which looks like the one pasted above

The first number is the channel and each following data chunk which has the same channel number needs to be concatenated with the previous one.

Last edited by NICEPeppino; 07-30-2014 at 08:02 AM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Create an Ignite image on tape from Online IgniteUX image

Hi, (HP-UX 11.11) I need to create a tape image of an igniteUX image created on our igniteUX server. That is to say. I have a "Online" image of the igniteUX of the targeted system but I now need to copy it to a useable TAPE (igniteUX) image so i can build an other server from it that is not... (3 Replies)
Discussion started by: Andrek
3 Replies

2. UNIX for Dummies Questions & Answers

encoding

Hi, I'm using putty and when I try to write ü it writes | (or when I try to write é , it writes i) I tried to change settings/translation of putty but with no success I have KSH # locale LANG= LC_CTYPE="C" LC_NUMERIC="C" LC_TIME="C" LC_COLLATE="C" LC_MONETARY="C" LC_MESSAGES="C"... (3 Replies)
Discussion started by: palmer18
3 Replies

3. Shell Programming and Scripting

URL encoding

Hi All, I want to do URL encoding using shell script in my project. I decided that the sed is the correct tool to do this. But I am unable achieve what I wanted using sed. kindly help me to get rid of this. My requirement is , there will be one URL with all special character, spaces etc... ... (8 Replies)
Discussion started by: Vichu
8 Replies

4. Shell Programming and Scripting

Araic Encoding

hi folks , I have a shell script which contain SQL query that dump some data from the DB in arabic and this data is written to a file in unix machine but the problem that the arabic data is appear like ??????????|111|???????? even when I move it to my windows XP machine. Any one have an Idea... (2 Replies)
Discussion started by: habuzahra
2 Replies

5. UNIX for Dummies Questions & Answers

Encoding Type

Hi, Where can I find the encoding type in a unix server ? Thanks in advance !!! (1 Reply)
Discussion started by: risshanth
1 Replies

6. Shell Programming and Scripting

UTF8 encoding

Hi experts, I have a gz file from other system(solaris), which is ftped to our system(solaris). After gunzip, the file is a xml file and we are using ORACLE built in xml transformiing tool ORAXSL to transform XML to TXT. Now the issue is we come accross issue regarding UTF8 as below:... (1 Reply)
Discussion started by: summer_cherry
1 Replies

7. Shell Programming and Scripting

How to find the file encoding and updating the file encoding?

Hi, I am beginner to Unix. My requirement is to validate the encoding used in the incoming file(csv,txt).If it is encoded with UTF-8 format,then the file should remain as such otherwise i need to chnage the encoding to UTF-8. Please advice me how to proceed on this. (7 Replies)
Discussion started by: cnraja
7 Replies

8. Solaris

Encoding problem

Hi All, Hope you can help me with the below :). I'm working on a script on SUN solaris and I'm facing a problem with the number encoding as shown below, 1 is encoded to 31 (this is ASCII so it's ok) 11 is encoded as B118 !!! don't know why 111 is encoded as B1580C !!! don't know why ... (4 Replies)
Discussion started by: /dev/bag
4 Replies

9. Shell Programming and Scripting

matching image files to create one image

Hi, I have two sets of image files. Both sets have names A to Z but set 1 ends with .cdt.png and set 2 ends with .matrix.png. I want set 1 to match with set 2 if the names match (i.e. A.cdt.png will match with A.matrix.png) and with the convert image tool (program for images), it will merge the... (6 Replies)
Discussion started by: kylle345
6 Replies

10. Solaris

View file encoding then change encoding.

Hi all!! I´m using command file -i myfile.xml to validate XML file encoding, but it is just saying regular file . I´m expecting / looking an output as UTF8 or ANSI / ASCII Is there command to display the files encoding? Thank you! (2 Replies)
Discussion started by: mrreds
2 Replies
AFGETFRAMESIZE(3)														 AFGETFRAMESIZE(3)

NAME
afGetFrameSize - calculate the frame size in bytes for an audio track SYNOPSIS
#include <audiofile.h> float afGetFrameSize (AFfilehandle file, int track, int expand3to4); PARAMETERS
file is a valid AFfilehandle. track is an integer which refers to a specific audio track in the file. At present no supported audio file format allows for more than one audio track within a file, so track should always be AF_DEFAULT_TRACK. expand3to4 is a boolean-valued integer indicating whether frame size calculation will treat 24-bit data as having a size of 3 bytes or 4 bytes. DESCRIPTION
afGetFrameSize returns the number of bytes in a frame in a given audio track. A sample frame consists of one or more samples. For a monaural track, a sample frame will always contain one sample. For a stereophonic track, a sample frame will always contain two samples, one for the left channel and one for the right channel. A non-zero value of expand3to4 should be used when calculating the frame size for storage in memory (since 24-bit audio data is presented in memory as a 4-byte sign-extended integer), while a value of zero should be used for calculating storage on disk where no padding is added. The parameter expand3to4 is ignored unless the specified audio track contains 24-bit audio data. AUTHOR
Michael Pruett <michael@68k.org> Audio File Library 0.3.6 03/06/2013 AFGETFRAMESIZE(3)
All times are GMT -4. The time now is 05:06 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy