Sox error with ffmpeg

View: New views
1 Messages — Rating Filter:   Alert me  

Sox error with ffmpeg

by Tobias Groß-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

<?xml version='1.0' encoding='UTF-8'?><ns0:item repo="d37a8dc8-3b8c-11dd-bbd9-ed4360aa6451" version="484" xmlns:ns0="http://osafoundation.org/eim/0"><ns0:recordset uuid="60365814-3c46-11dd-f92a-a9cdcf08cda8"><ns1:record xmlns:ns1="http://osafoundation.org/eim/item/0"><ns1:uuid ns0:key="true" ns0:type="text">60365814-3c46-11dd-f92a-a9cdcf08cda8</ns1:uuid><ns1:title ns0:type="text">Sox error with ffmpeg</ns1:title><ns1:createdOn ns0:type="decimal">1213690885</ns1:createdOn><ns1:hasBeenSent ns0:type="integer">1</ns1:hasBeenSent><ns1:needsReply ns0:type="integer">0</ns1:needsReply><ns1:read ns0:type="integer">1</ns1:read></ns1:record><ns1:record xmlns:ns1="http://osafoundation.org/eim/note/0"><ns1:uuid ns0:key="true" ns0:type="text">60365814-3c46-11dd-f92a-a9cdcf08cda8</ns1:uuid><ns1:body ns0:type="clob">Hi Folks!

I'm having some trouble with using ffmpeg through sox to encode a WAV to MP2. Is this even possible?
I posted some output below to show the command line results. As you can see simply using ffmpeg works fine.
Your help is appreciated.

Regards,
Tobias

----------------------------------------------------------------
root@Zaphod:~/sox-14.0.1# sox testtrack.wav -t ffmpeg out.mp2
sox sox: Error writing:

root@Zaphod:~/sox-14.0.1# sox testtrack.wav -t ffmpeg out.mpg
sox sox: Error writing:
[mpeg @ 0xb7c5c110]packet too large, ignoring buffer limits to mux it
[mpeg @ 0xb7c5c110]packet too large, ignoring buffer limits to mux it

root@Zaphod:~/sox-14.0.1# ffmpeg -i testtrack.wav testtrack.mp2
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
  configuration: --enable-gpl --enable-pp --enable-swscaler --enable-pthreads --enable-libvorbis --enable-libtheora --enable-libogg --enable-libgsm --enable-dc1394 --disable-debug --enable-shared --prefix=/usr
  libavutil version: 1d.49.3.0
  libavcodec version: 1d.51.38.0
  libavformat version: 1d.51.10.0
  built on Mar 12 2008 14:31:53, gcc: 4.2.3 (Ubuntu 4.2.3-2ubuntu4)
Input #0, wav, from 'testtrack.wav':
  Duration: 00:00:10.7, start: 0.000000, bitrate: 1411 kb/s
  Stream #0.0: Audio: pcm_s16le, 44100 Hz, stereo, 1411 kb/s
Output #0, mp2, to 'testtrack.mp2':
  Stream #0.0: Audio: mp2, 44100 Hz, stereo, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
size=      84kB time=10.8 bitrate=  64.0kbits/s
video:0kB audio:84kB global headers:0kB muxing overhead 0.000000%</ns1:body><ns1:icalUid ns0:type="text">60365814-3c46-11dd-f92a-a9cdcf08cda8</ns1:icalUid><ns1:icalProperties missing="true" ns0:type="text" /><ns1:icalParameters missing="true" ns0:type="text" /><ns1:icalExtra empty="true" ns0:type="text" /></ns1:record><ns1:record xmlns:ns1="http://osafoundation.org/eim/modifiedBy/0"><ns1:uuid ns0:key="true" ns0:type="text">60365814-3c46-11dd-f92a-a9cdcf08cda8</ns1:uuid><ns1:userid ns0:key="true" ns0:type="text">Tobias Groß <tg@...></ns1:userid><ns1:timestamp ns0:key="true" ns0:type="decimal">1213696201</ns1:timestamp><ns1:action ns0:key="true" ns0:type="integer">300</ns1:action></ns1:record><ns1:record xmlns:ns1="http://osafoundation.org/eim/mail/0"><ns1:uuid ns0:key="true" ns0:type="text">60365814-3c46-11dd-f92a-a9cdcf08cda8</ns1:uuid><ns1:fromAddress ns0:type="text">Tobias Groß <tg@...></ns1:fromAddress><ns1:toAddress ns0:type="text">sox-users@...</ns1:toAddress><ns1:ccAddress empty="true" ns0:type="text" /><ns1:originators ns0:type="text">Tobias Groß <tg@...></ns1:originators></ns1:record></ns0:recordset></ns0:item>
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Sox-users mailing list
Sox-users@...
https://lists.sourceforge.net/lists/listinfo/sox-users