Jan Stary | 24 Jun 2012 19:33
Picon

Re: convert MP4 to AVI

On Jun 23 10:45:20, jshiggs wrote:
> I would be grateful for a command line statement to convert ***.mp4 to ***.avi

ffmpeg file.mp4 file.avi
You are on the wrong list.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Peter Mew | 25 Jun 2012 15:09
Favicon

Re: Wav Header Problem

Hi

Why does the following, in terminal, output a headerless WAV file
The input file is Headered 48K 24 bit WAV

sox /Users/petermew/Desktop/WAV/Japan6\ Trk.06\ tk.06_01.wav
/Users/petermew/Desktop/WAV/DeEmph_Files/test.wav treble -9.62 5356 0.479s

Thanks
-pm

 ---------------------------------------------------------------------

Music from EMI 

This e-mail including any attachments is confidential and may be legally privileged. If you have received
it in error please advise the sender immediately by return email and then delete it from your system. The
unauthorised use, distribution, copying or alteration of this email is strictly forbidden. If you need
assistance please contact us on +44 20 7795 7000. 

This email is from a unit or subsidiary of EMI Group Limited. 

Registered Office: 27 Wrights Lane, London W8 5SW 

Registered in England No 229231.

 ---------------------------------------------------------------------

------------------------------------------------------------------------------
Live Security Virtual Conference
(Continue reading)

Jan Stary | 25 Jun 2012 16:53
Picon

Re: Wav Header Problem

On Jun 25 14:09:33, Peter Mew wrote:
> Hi
> 
> Why does the following, in terminal, output a headerless WAV file
> The input file is Headered 48K 24 bit WAV
> 
> sox /Users/petermew/Desktop/WAV/Japan6\ Trk.06\ tk.06_01.wav
> /Users/petermew/Desktop/WAV/DeEmph_Files/test.wav treble -9.62 5356 0.479s

It shouldn't. Show us the exact output of this with 'sox -V5';
and if the files are not too big themselves, put them somewhere
for download and I will look at them.

	Jan

> This e-mail including any attachments is confidential
As confidential as a post to a public mailing list can be.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
robs | 25 Jun 2012 17:01
Picon
Favicon

Re: Wav Header Problem

Perhaps another tool is failing to recognise an 'EXTENSIBLE' wav header?
By default, SoX will (per the Microsoft spec) save 24-bit wav files as 'EXTENSIBLE'.

You can use 'soxi -V filename' to check the format, and whether or not it's 'EXTENSIBLE'.

If this is the problem in this case, then add '-t wavpcm' before the output file name when performing the de-emphasis and hopefully the other tool will then recognise the header.

Otherwise, please follow Jan's advice below.

HTH,
Rob


From: Jan Stary <hans <at> stare.cz>
To: sox-users <at> lists.sourceforge.net
Sent: Monday, 25 June 2012, 15:53
Subject: Re: [SoX-users] Wav Header Problem

On Jun 25 14:09:33, Peter Mew wrote:
> Hi
>
> Why does the following, in terminal, output a headerless WAV file
> The input file is Headered 48K 24 bit WAV
>
> sox /Users/petermew/Desktop/WAV/Japan6\ Trk.06\ tk.06_01.wav
> /Users/petermew/Desktop/WAV/DeEmph_Files/test.wav treble -9.62 5356 0.479s

It shouldn't. Show us the exact output of this with 'sox -V5';
and if the files are not too big themselves, put them somewhere
for download and I will look at them.

    Jan


> This e-mail including any attachments is confidential
As confidential as a post to a public mailing list can be.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Sox-users mailing list
Sox-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Sox-users mailing list
Sox-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users
robs | 26 Jun 2012 12:23
Picon
Favicon

Re: Wav Header Problem

Hello Peter,

Did you try the '-t wavpcm' before the output file name that I mentioned below?  I have a hunch that this is the likely cause of the problem, seeing as wav support and the treble effect are long established, and the mess that Microsoft created by changing the wav spec in an incompatible way (thus rendering two variants of the header format) trips up people regularly.

Cheers,
Rob

From: robs <aquegg <at> yahoo.co.uk>
To: "sox-users <at> lists.sourceforge.net" <sox-users <at> lists.sourceforge.net>
Sent: Monday, 25 June 2012, 16:01
Subject: Re: [SoX-users] Wav Header Problem

Perhaps another tool is failing to recognise an 'EXTENSIBLE' wav header?
By default, SoX will (per the Microsoft spec) save 24-bit wav files as 'EXTENSIBLE'.

You can use 'soxi -V filename' to check the format, and whether or not it's 'EXTENSIBLE'.

If this is the problem in this case, then add '-t wavpcm' before the output file name when performing the de-emphasis and hopefully the other tool will then recognise the header.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Sox-users mailing list
Sox-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users
Mew, Peter | 26 Jun 2012 13:37
Favicon

Re: Wav Header Problem

Hi
Yes I did try that and it seemed to make no difference.
The input file is a 24 bit 48k file but not WAV_FORMAT_EXTENSIBLE
which is the way most programs handle 24 bit PCM

I will have a look at the WAV header of the output file in more detail, to see if it is actually headerless or just something that other programs dont understand.

thanks
-pm


-----Original Message-----
From: robs [mailto:aquegg <at> yahoo.co.uk]
Sent: Tue 26/06/2012 11:23
To: sox-users <at> lists.sourceforge.net
Subject: Re: [SoX-users] Wav Header Problem

Hello Peter,

Did you try the '-t wavpcm' before the output file name that I mentioned below?  I have a hunch that this is the likely cause of the problem, seeing as wav support and the treble effect are long established, and the mess that Microsoft created by changing the wav spec in an incompatible way (thus rendering two variants of the header format) trips up people regularly.

Cheers,
Rob



>________________________________
> From: robs <aquegg <at> yahoo.co.uk>
>To: "sox-users <at> lists.sourceforge.net" <sox-users <at> lists.sourceforge.net>
>Sent: Monday, 25 June 2012, 16:01
>Subject: Re: [SoX-users] Wav Header Problem
>
>
>Perhaps another tool is failing to recognise an 'EXTENSIBLE' wav header?
>By default, SoX will (per the Microsoft spec) save 24-bit wav files as 'EXTENSIBLE'.
>
>
>You can use 'soxi -V filename' to check the format, and whether or not it's 'EXTENSIBLE'.
>
>
>If this is the problem in this case, then add '-t wavpcm' before the output file name when performing the de-emphasis and hopefully the other tool will then recognise the header.


---------------------------------------------------------------------




Music from EMI

This e-mail including any attachments is confidential and may be legally privileged. If you have received it in error please advise the sender immediately by return email and then delete it from your system. The unauthorised use, distribution, copying or alteration of this email is strictly forbidden. If you need assistance please contact us on +44 20 7795 7000.

This email is from a unit or subsidiary of EMI Group Limited.

Registered Office: 27 Wrights Lane, London W8 5SW

Registered in England No 229231.


---------------------------------------------------------------------
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Sox-users mailing list
Sox-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users
Jan Stary | 26 Jun 2012 19:38
Picon

Re: Wav Header Problem

On Jun 26 12:37:22, Mew, Peter wrote:
> Hi
> Yes I did try that and it seemed to make no difference.
> The input file is a 24 bit 48k file but not WAV_FORMAT_EXTENSIBLE
> which is the way most programs handle 24 bit PCM
> 
> I will have a look at the WAV header of the output file in more detail, to see if it is actually headerless or
just something that other programs dont understand.

Specificaly, see what 'soxi' has to say about the file.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Jan Stary | 26 Jun 2012 19:37
Picon

Re: Wav Header Problem

On Jun 25 16:01:03, robs wrote:
> Perhaps another tool is failing to recognise an 'EXTENSIBLE' wav header?
> By default, SoX will (per the Microsoft spec) save 24-bit wav files as 'EXTENSIBLE'.

Namely, the comment at your link says
"Test.wav is output shows as headerless wav in Soundhack ",
It would be my guess that Soundhack just doesn not recognize the header.

> You can use 'soxi -V filename' to check the format, and whether or not it's 'EXTENSIBLE'.
> 
> If this is the problem in this case, then add '-t wavpcm' before the output file name when performing the
de-emphasis and hopefully the other tool will then recognise the header.
> 
> Otherwise, please follow Jan's advice below.
> 
> HTH,
> Rob
> 
> 
> 
> 
> >________________________________
> > From: Jan Stary <hans <at> stare.cz>
> >To: sox-users <at> lists.sourceforge.net 
> >Sent: Monday, 25 June 2012, 15:53
> >Subject: Re: [SoX-users] Wav Header Problem
> > 
> >On Jun 25 14:09:33, Peter Mew wrote:
> >> Hi
> >> 
> >> Why does the following, in terminal, output a headerless WAV file
> >> The input file is Headered 48K 24 bit WAV
> >> 
> >> sox /Users/petermew/Desktop/WAV/Japan6\ Trk.06\ tk.06_01.wav
> >> /Users/petermew/Desktop/WAV/DeEmph_Files/test.wav treble -9.62 5356 0.479s
> >
> >It shouldn't. Show us the exact output of this with 'sox -V5';
> >and if the files are not too big themselves, put them somewhere
> >for download and I will look at them.
> >
> >    Jan
> >
> >
> >> This e-mail including any attachments is confidential
> >As confidential as a post to a public mailing list can be.
> >
> >------------------------------------------------------------------------------
> >Live Security Virtual Conference
> >Exclusive live event will cover all the ways today's security and 
> >threat landscape has changed and how IT managers can respond. Discussions 
> >will include endpoint security, mobile security and the latest in malware 
> >threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> >_______________________________________________
> >Sox-users mailing list
> >Sox-users <at> lists.sourceforge.net
> >https://lists.sourceforge.net/lists/listinfo/sox-users
> >
> >
> >

> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

> _______________________________________________
> Sox-users mailing list
> Sox-users <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sox-users

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Peter Mew | 25 Jun 2012 17:24
Favicon

Re: Wav Header Problem

Ok
This what I get, if I have understood you correctly

Abbeys-Mac-mini:~ petermew$ sox -v5
/Users/petermew/Desktop/TESTEMPH/Kamasutra\ CAP\ 37.1.wav
/Users/petermew/Desktop/TESTEMPH/test.wav treble -9.62 5356 0.479s
sox WARN sox: `/Users/petermew/Desktop/TESTEMPH/test.wav' output clipped
705572 samples; decrease volume?
sox WARN sox: `/Users/petermew/Desktop/TESTEMPH/Kamasutra CAP 37.1.wav'
balancing clipped 6718686 samples; decrease volume?
Abbeys-Mac-mini:~ petermew$
petermew

Thanks

-pm

On 25/06/2012 15:53, "Jan Stary" <hans <at> stare.cz> wrote:

> On Jun 25 14:09:33, Peter Mew wrote:
>> Hi
>> 
>> Why does the following, in terminal, output a headerless WAV file
>> The input file is Headered 48K 24 bit WAV
>> 
>> sox /Users/petermew/Desktop/WAV/Japan6\ Trk.06\ tk.06_01.wav
>> /Users/petermew/Desktop/WAV/DeEmph_Files/test.wav treble -9.62 5356 0.479s
> 
> It shouldn't. Show us the exact output of this with 'sox -V5';
> and if the files are not too big themselves, put them somewhere
> for download and I will look at them.
> 
> Jan
> 
> 
>> This e-mail including any attachments is confidential
> As confidential as a post to a public mailing list can be.
> 
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Sox-users mailing list
> Sox-users <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sox-users

 ---------------------------------------------------------------------

Music from EMI 

This e-mail including any attachments is confidential and may be legally privileged. If you have received
it in error please advise the sender immediately by return email and then delete it from your system. The
unauthorised use, distribution, copying or alteration of this email is strictly forbidden. If you need
assistance please contact us on +44 20 7795 7000. 

This email is from a unit or subsidiary of EMI Group Limited. 

Registered Office: 27 Wrights Lane, London W8 5SW 

Registered in England No 229231.

 ---------------------------------------------------------------------

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
robs | 25 Jun 2012 18:32
Picon
Favicon

Re: Wav Header Problem

Ah, no: it should be an upper-case 'V'.

From: Peter Mew <peter.mew <at> abbeyroad.com>
To: sox-users <at> lists.sourceforge.net
Sent: Monday, 25 June 2012, 16:24
Subject: Re: [SoX-users] Wav Header Problem

Ok
This what I get, if I have understood you correctly

Abbeys-Mac-mini:~ petermew$ sox -v5

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Sox-users mailing list
Sox-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users
Peter Mew | 25 Jun 2012 19:18
Favicon

Re: Wav Header Problem

Hi Jan
If I do This
sox -V5 /Users/petermew/Desktop/WAV/Japan6\ Trk.06\ tk.06_01.waw
/Users/petermew/Desktop/WAV/DeEmph_Files/test.wav treble -9.62 5356 0.479s

I get no output back from the terminal

Thanks
-pm

On 25/06/2012 15:53, "Jan Stary" <hans <at> stare.cz> wrote:

> On Jun 25 14:09:33, Peter Mew wrote:
>> Hi
>> 
>> Why does the following, in terminal, output a headerless WAV file
>> The input file is Headered 48K 24 bit WAV
>> 
>> sox /Users/petermew/Desktop/WAV/Japan6\ Trk.06\ tk.06_01.wav
>> /Users/petermew/Desktop/WAV/DeEmph_Files/test.wav treble -9.62 5356 0.479s
> 
> It shouldn't. Show us the exact output of this with 'sox -V5';
> and if the files are not too big themselves, put them somewhere
> for download and I will look at them.
> 
> Jan
> 
> 
>> This e-mail including any attachments is confidential
> As confidential as a post to a public mailing list can be.
> 
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Sox-users mailing list
> Sox-users <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sox-users

 ---------------------------------------------------------------------

Music from EMI 

This e-mail including any attachments is confidential and may be legally privileged. If you have received
it in error please advise the sender immediately by return email and then delete it from your system. The
unauthorised use, distribution, copying or alteration of this email is strictly forbidden. If you need
assistance please contact us on +44 20 7795 7000. 

This email is from a unit or subsidiary of EMI Group Limited. 

Registered Office: 27 Wrights Lane, London W8 5SW 

Registered in England No 229231.

 ---------------------------------------------------------------------

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Jan Stary | 26 Jun 2012 19:40
Picon

Re: Wav Header Problem

On Jun 25 18:18:39, Peter Mew wrote:
> Hi Jan
> If I do This
> sox -V5 /Users/petermew/Desktop/WAV/Japan6\ Trk.06\ tk.06_01.waw
> /Users/petermew/Desktop/WAV/DeEmph_Files/test.wav treble -9.62 5356 0.479s
> 
> I get no output back from the terminal

I find that very hard to believe.

Also, your input file is a "waw", as opposed to "wav".
Are you retyping the command into your mail (making a typo),
or is this really the case?

Please run the 'sox -V5' command inside a script(1) session
and let us se the full and exact output.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

Gmane