Re: [Mixxx-devel] Ffmpeg sound source

2012-10-16 Thread Tuukka Pasanen
Hello,
Haven't tried that yet. I've give it a try. It should be become big 
thing now it's officialy
accepted WWW-standard. I'll tell how it goes.

Tuukka

On 16.10.2012 16:46, Stefan Nürnberger wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Am 16.10.2012 15:41, schrieb Tuukka Pasanen:
>> Hello, Now FFMPEG mixx source is ready for using (works 99%
>> cases). It got it's hard edges because ffmpeg mp3 seed has some
>> troubles that I need to investigate and WMA is not working as good
>> as it should. while It's not ready for prime time big public but
>> because ffmpeg just hit 1.0 it's good time to integrate it to
>> project.
>>
>> I've like to ask if I make FFMPEG sink for mp3/mp4/ogg/flac is it
>> ok?
> Did you try the Opus codec through ffmpeg? I would really like to see
> support for that in mixxx.
>
> Stefan
>
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v2.0.19 (GNU/Linux)
>
> iQEcBAEBAgAGBQJQfWVBAAoJEETspK6GqOb0yfMH/0s+r1K0hFLuZGLWVcBQY7QS
> LNSY3Sj7jx/pHzWbkqb1AIXOEUaZkE+j5KSJh12vZWmtN5yxK9OhDD2aKIObcOAZ
> p126+slxXf+d2272j6gyTUStR7ZKb3hAoFsjuNotOHXS63CLr+HzB1kHScCGy1bt
> eNcQ+AMZdQFO+Ki7yUyCSFSnlRziycToFm0pMENfqh8ZsEUtrIhdQt9DCHc0kAIt
> TnKWXiuo6MQqJ9Pm0hbhIm0hbPx/3fFuvIa9k51zLYS8s0gTLjTx559yuYlteSoC
> qMVNO85HHfdzalF/5e7dQzbqSY1Si3CYQfgEGQi9U+avRmTKbXzB2eauu7yf/84=
> =v4xg
> -END PGP SIGNATURE-
>
> --
> Don't let slow site performance ruin your business. Deploy New Relic APM
> Deploy New Relic app performance management and know exactly
> what is happening inside your Ruby, Python, PHP, Java, and .NET app
> Try New Relic at no cost today and get our sweet Data Nerd shirt too!
> http://p.sf.net/sfu/newrelic-dev2dev
> ___
> Get Mixxx, the #1 Free MP3 DJ Mixing software Today
> http://mixxx.org
>
>
> Mixxx-devel mailing list
> Mixxx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mixxx-devel


-- 
Tuukka Pasanen
Producer Manager
tuukka.pasa...@ilmi.fi
+358 40 7303 216


Ilmi Solutions Oy
Hyrräkatu 3
FIN-70500 KUOPIO


--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
Get Mixxx, the #1 Free MP3 DJ Mixing software Today
http://mixxx.org


Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel


Re: [Mixxx-devel] Ffmpeg sound source

2012-10-16 Thread Stefan Nürnberger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am 16.10.2012 15:41, schrieb Tuukka Pasanen:
> Hello, Now FFMPEG mixx source is ready for using (works 99%
> cases). It got it's hard edges because ffmpeg mp3 seed has some
> troubles that I need to investigate and WMA is not working as good
> as it should. while It's not ready for prime time big public but
> because ffmpeg just hit 1.0 it's good time to integrate it to
> project.
> 
> I've like to ask if I make FFMPEG sink for mp3/mp4/ogg/flac is it 
> ok?

Did you try the Opus codec through ffmpeg? I would really like to see
support for that in mixxx.

Stefan

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)

iQEcBAEBAgAGBQJQfWVBAAoJEETspK6GqOb0yfMH/0s+r1K0hFLuZGLWVcBQY7QS
LNSY3Sj7jx/pHzWbkqb1AIXOEUaZkE+j5KSJh12vZWmtN5yxK9OhDD2aKIObcOAZ
p126+slxXf+d2272j6gyTUStR7ZKb3hAoFsjuNotOHXS63CLr+HzB1kHScCGy1bt
eNcQ+AMZdQFO+Ki7yUyCSFSnlRziycToFm0pMENfqh8ZsEUtrIhdQt9DCHc0kAIt
TnKWXiuo6MQqJ9Pm0hbhIm0hbPx/3fFuvIa9k51zLYS8s0gTLjTx559yuYlteSoC
qMVNO85HHfdzalF/5e7dQzbqSY1Si3CYQfgEGQi9U+avRmTKbXzB2eauu7yf/84=
=v4xg
-END PGP SIGNATURE-

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
Get Mixxx, the #1 Free MP3 DJ Mixing software Today
http://mixxx.org


Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel


Re: [Mixxx-devel] Ffmpeg sound source

2012-10-16 Thread Tuukka Pasanen
Hello,
Now FFMPEG mixx source is ready for using (works 99% cases). It got it's 
hard edges because
ffmpeg mp3 seed has some troubles that I need to investigate and WMA is not
working as good as it should.
while It's not ready for prime time big public but because ffmpeg just 
hit 1.0 it's good time to integrate it
to project.

I've like to ask if I make FFMPEG sink for mp3/mp4/ogg/flac is it ok?

Sincerly,
Tuukka


On 30.08.2012 12:22, Tuukka Pasanen wrote:
> Hello,
> I've doing a little bit coding with mixxx and ffmpeg lately (works with
> newest ffmpeg). I get ffmpeg soundsource in shape (compiling and almost
> working sound) but because I don't really yet understand all the inner
> things in Mixxx I ask these guestions:
>
> I understand that soundsource I asked some amount of 16 bit PCM data but
> ffmpeg doesn't fit in. Decoded data
> doesn't go as smooth as Mixxx wants. If anybody know what should I do.
> Just drop fewer amount of data or do as
> in mp3 little bit hackery.. that I didn't quite get yet ;).
>
> Where to add more formats: like wma and aac that works with ffmpeg just
> fine? Documents say that method that is supposed
> to tell what format are supported is evil.
>
> Is this even wanted hacking? I've though it would be good to have ffmpeg
> in soundsource because of formats it supports.
> I can't yet see if all the seeking things are fixed. I've been also
> wondering if MLT or Gstreamer would be way to go
> in Soundsource because ffmpeg is kinda diffucult to make work but
> Gstreamer is easier (and support all the formats
> that ffmpeg with plugin) same goes to MLT.
>
> Sorry about not having patch but in the current state of code (because
> playing it's not working correct).. if someone wants it i'll send it..
>
> Thanks,
> Tuukka
>
> --
> 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/
> ___
> Get Mixxx, the #1 Free MP3 DJ Mixing software Today
> http://mixxx.org
>
>
> Mixxx-devel mailing list
> Mixxx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mixxx-devel


-- 
Tuukka Pasanen
Producer Manager
tuukka.pasa...@ilmi.fi
+358 40 7303 216


Ilmi Solutions Oy
Hyrräkatu 3
FIN-70500 KUOPIO


--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
Get Mixxx, the #1 Free MP3 DJ Mixing software Today
http://mixxx.org


Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel


Re: [Mixxx-devel] Ffmpeg sound source

2012-09-17 Thread Tuukka Pasanen

Hello,
It took little bit longer than I expected. I had to learn Mixx and 
FFMPEG inners and but them together. Now I think I have all settled down 
and all the file that I have tested I worked fine (mp3/ogg/wav). Code is 
uncommented and very cluttered (unclean..). I pushed it to Mixxx branch 
if someone has time or motivation to test code..
I'll clean it up more in coming times. It also leaks memory because I 
haven't got freeing right that fits for Mixxx and FFMPEG. Parsing tags 
is not ready for prime time but you get most of them parsed (no 
replaygain at the moment for example).
I have to test with MP4 and WMA.. I have compiled this with FFMPEG 
0.11.1 but it should work on 0.10.x as the same (at least compille).
If you look at the code (like I assume you do). It'll read PCM to 
QByteArray (QBuffer holds needed bytes and also bytes that we need to 
get correct place) and then skip at right position in QByteArray and 
then return it. It's not fancy but works.

There will be plenty to work on but I hope it'll go easier from this point.

Hope someone have time to test it,
Tuukka

On 07.09.2012 03:07, RJ Ryan wrote:

Hi Tuukka,

I attempted this a few years ago but could not figure out how to use 
FFMPEG correctly. I'm happy that you're investigating!


In general, here is what you must satisfy to make a SoundSource:

* Seeking to a particular sample must be 100% accurate. The main 
problem I had with FFMPEG is that I could not seek to a particular 
sample, I could only seek to a rough stream time.
* Data must be output in 2-channel, 16-bit samples (even if the source 
file is mono or multi-channel, you must convert to stereo)


If you look at the mess that is SoundSourceMp3 you'll find that we 
build a seek-tree which record what sample each MP3 frame corresponds 
to. This way we can rapidly jump to the closest frame, decode it, and 
discard the appropriate number of samples to get to the exact sample 
we desire from the seek.


It would be excellent if you made progress on this. I'd love to 
discard almost all of our SoundSources in favor of FFMPEG.


Best regards,
RJ Ryan

On Thu, Aug 30, 2012 at 5:22 AM, Tuukka Pasanen 
mailto:tuukka.pasa...@ilmi.fi>> wrote:


Hello,
I've doing a little bit coding with mixxx and ffmpeg lately (works
with
newest ffmpeg). I get ffmpeg soundsource in shape (compiling and
almost
working sound) but because I don't really yet understand all the inner
things in Mixxx I ask these guestions:

I understand that soundsource I asked some amount of 16 bit PCM
data but
ffmpeg doesn't fit in. Decoded data
doesn't go as smooth as Mixxx wants. If anybody know what should I do.
Just drop fewer amount of data or do as
in mp3 little bit hackery.. that I didn't quite get yet ;).

Where to add more formats: like wma and aac that works with ffmpeg
just
fine? Documents say that method that is supposed
to tell what format are supported is evil.

Is this even wanted hacking? I've though it would be good to have
ffmpeg
in soundsource because of formats it supports.
I can't yet see if all the seeking things are fixed. I've been also
wondering if MLT or Gstreamer would be way to go
in Soundsource because ffmpeg is kinda diffucult to make work but
Gstreamer is easier (and support all the formats
that ffmpeg with plugin) same goes to MLT.

Sorry about not having patch but in the current state of code (because
playing it's not working correct).. if someone wants it i'll send it..

Thanks,
Tuukka


--
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/
___
Get Mixxx, the #1 Free MP3 DJ Mixing software Today
http://mixxx.org


Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/mixxx-devel




--
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/___
Get Mixxx, the #1 Free MP3 DJ Mixing software Today
http://mixxx.org


Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

Re: [Mixxx-devel] Ffmpeg sound source

2012-09-06 Thread Philip Whelan
Hi there Tuukka Pasanen,

On Thu, Sep 6, 2012 at 11:13 PM, Tuukka Pasanen wrote:

> Let's see if i can't get it working next week. What is the right thing
> to do? Post a patch (against trunk) or branch a devel tree?
>

The usual policy is to create a branch off of the latest trunk, lp:mixxx
and work on that. Once it's ready for evaluation you just use launchpad to
request a merge.

PS: I'd like to chime in on the whole idea of replacing all our sound
sources with FFMPEG. Have we already looked into the legality of this? If
it is legal but requires steps would we be excluded from the main
repositories in certain distros? Do the native SS on certain platforms
support DRM?

Just asking, for the most part I mix with nothing but FLAC files so I'm
pretty much in the clear.
--
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/___
Get Mixxx, the #1 Free MP3 DJ Mixing software Today
http://mixxx.org


Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

Re: [Mixxx-devel] Ffmpeg sound source

2012-09-06 Thread Tuukka Pasanen
Hello,
I have figured out most things needed. MP4 Source was big help because  
it does some things very similar than FFMPEG. Seeking should be mostly  
ok (It has to be confirmed but mostly) FFMPEG have come long way in  
these years. Biggest problem
currently is reading samples.. I have to work couple things out.
Let's see if i can't get it working next week. What is the right thing  
to do? Post a patch (against trunk) or branch a devel tree?



Lainaus RJ Ryan :

> Hi Tuukka,
>
> I attempted this a few years ago but could not figure out how to use FFMPEG
> correctly. I'm happy that you're investigating!
>
> In general, here is what you must satisfy to make a SoundSource:
>
> * Seeking to a particular sample must be 100% accurate. The main problem I
> had with FFMPEG is that I could not seek to a particular sample, I could
> only seek to a rough stream time.
> * Data must be output in 2-channel, 16-bit samples (even if the source file
> is mono or multi-channel, you must convert to stereo)
>
> If you look at the mess that is SoundSourceMp3 you'll find that we build a
> seek-tree which record what sample each MP3 frame corresponds to. This way
> we can rapidly jump to the closest frame, decode it, and discard the
> appropriate number of samples to get to the exact sample we desire from the
> seek.
>
> It would be excellent if you made progress on this. I'd love to discard
> almost all of our SoundSources in favor of FFMPEG.
>
> Best regards,
> RJ Ryan
>
> On Thu, Aug 30, 2012 at 5:22 AM, Tuukka Pasanen   
> wrote:
>
>> Hello,
>> I've doing a little bit coding with mixxx and ffmpeg lately (works with
>> newest ffmpeg). I get ffmpeg soundsource in shape (compiling and almost
>> working sound) but because I don't really yet understand all the inner
>> things in Mixxx I ask these guestions:
>>
>> I understand that soundsource I asked some amount of 16 bit PCM data but
>> ffmpeg doesn't fit in. Decoded data
>> doesn't go as smooth as Mixxx wants. If anybody know what should I do.
>> Just drop fewer amount of data or do as
>> in mp3 little bit hackery.. that I didn't quite get yet ;).
>>
>> Where to add more formats: like wma and aac that works with ffmpeg just
>> fine? Documents say that method that is supposed
>> to tell what format are supported is evil.
>>
>> Is this even wanted hacking? I've though it would be good to have ffmpeg
>> in soundsource because of formats it supports.
>> I can't yet see if all the seeking things are fixed. I've been also
>> wondering if MLT or Gstreamer would be way to go
>> in Soundsource because ffmpeg is kinda diffucult to make work but
>> Gstreamer is easier (and support all the formats
>> that ffmpeg with plugin) same goes to MLT.
>>
>> Sorry about not having patch but in the current state of code (because
>> playing it's not working correct).. if someone wants it i'll send it..
>>
>> Thanks,
>> Tuukka
>>
>>
>> --
>> 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/
>> ___
>> Get Mixxx, the #1 Free MP3 DJ Mixing software Today
>> http://mixxx.org
>>
>>
>> Mixxx-devel mailing list
>> Mixxx-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/mixxx-devel
>>
>



-- 
Tuukka Pasanen
Producer Manager
tuukka.pasa...@ilmi.fi
+358 40 7303 216


--
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/
___
Get Mixxx, the #1 Free MP3 DJ Mixing software Today
http://mixxx.org


Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel


Re: [Mixxx-devel] Ffmpeg sound source

2012-09-06 Thread RJ Ryan
Hi Tuukka,

I attempted this a few years ago but could not figure out how to use FFMPEG
correctly. I'm happy that you're investigating!

In general, here is what you must satisfy to make a SoundSource:

* Seeking to a particular sample must be 100% accurate. The main problem I
had with FFMPEG is that I could not seek to a particular sample, I could
only seek to a rough stream time.
* Data must be output in 2-channel, 16-bit samples (even if the source file
is mono or multi-channel, you must convert to stereo)

If you look at the mess that is SoundSourceMp3 you'll find that we build a
seek-tree which record what sample each MP3 frame corresponds to. This way
we can rapidly jump to the closest frame, decode it, and discard the
appropriate number of samples to get to the exact sample we desire from the
seek.

It would be excellent if you made progress on this. I'd love to discard
almost all of our SoundSources in favor of FFMPEG.

Best regards,
RJ Ryan

On Thu, Aug 30, 2012 at 5:22 AM, Tuukka Pasanen wrote:

> Hello,
> I've doing a little bit coding with mixxx and ffmpeg lately (works with
> newest ffmpeg). I get ffmpeg soundsource in shape (compiling and almost
> working sound) but because I don't really yet understand all the inner
> things in Mixxx I ask these guestions:
>
> I understand that soundsource I asked some amount of 16 bit PCM data but
> ffmpeg doesn't fit in. Decoded data
> doesn't go as smooth as Mixxx wants. If anybody know what should I do.
> Just drop fewer amount of data or do as
> in mp3 little bit hackery.. that I didn't quite get yet ;).
>
> Where to add more formats: like wma and aac that works with ffmpeg just
> fine? Documents say that method that is supposed
> to tell what format are supported is evil.
>
> Is this even wanted hacking? I've though it would be good to have ffmpeg
> in soundsource because of formats it supports.
> I can't yet see if all the seeking things are fixed. I've been also
> wondering if MLT or Gstreamer would be way to go
> in Soundsource because ffmpeg is kinda diffucult to make work but
> Gstreamer is easier (and support all the formats
> that ffmpeg with plugin) same goes to MLT.
>
> Sorry about not having patch but in the current state of code (because
> playing it's not working correct).. if someone wants it i'll send it..
>
> Thanks,
> Tuukka
>
>
> --
> 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/
> ___
> Get Mixxx, the #1 Free MP3 DJ Mixing software Today
> http://mixxx.org
>
>
> Mixxx-devel mailing list
> Mixxx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mixxx-devel
>
--
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/___
Get Mixxx, the #1 Free MP3 DJ Mixing software Today
http://mixxx.org


Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

Re: [Mixxx-devel] Ffmpeg sound source

2012-08-31 Thread Neale Pickett
Tuukka,

My knowledge of lossy formats such as mp3 and wma is limited, but it
seems as though these use differential compression: each "frame" of
compressed data is a difference against the last frame.  So if you have
a sine wave at 440Hz for 60 seconds, with 120 frames, the first frame
would describe the sine wave, and the next 119 frames would say "do
exactly what you did last frame".  This makes it difficult to do random
seeking: you must first establish what the prior frame sounded like, and
that might depend on the frame before.

For my m4a plugin, I found that decoding 4 frames prior was sufficient
for the files I tested.  The code I replaced used 2 frames prior, which
was good enough for a few of my test files.  Documentation on m4a that I
can understand is pretty sparse, though, so it may be necessary to
decode more than 4 frames.

Before I made my seek function decode prior to the seek position, the
plugin worked fine for playing forward, but rewinding made it sound sort
of like a scratched CD: it would play a few ms, then that same few ms
again, then skip forward to the correct position and repeat this.  This
was happening, I think, because I was decoding frames backwards, so when
a compressed frame said "play 20ms of the last frame at offset 15ms",
it was actually playing audio from frame n+1 instead of frame n-1.

My code is here, if you're interested.  It's pretty small and
(hopefully) straightforward:

   
http://bazaar.launchpad.net/~neale/mixxx/m4a/view/head:/mixxx/plugins/soundsourcem4a/soundsourcem4a.cpp


On 8/30/2012, "Tuukka Pasanen"  wrote:

>Hello,
>I've doing a little bit coding with mixxx and ffmpeg lately (works with
>newest ffmpeg). I get ffmpeg soundsource in shape (compiling and almost
>working sound) but because I don't really yet understand all the inner
>things in Mixxx I ask these guestions:
>
>I understand that soundsource I asked some amount of 16 bit PCM data but
>ffmpeg doesn't fit in. Decoded data
>doesn't go as smooth as Mixxx wants. If anybody know what should I do.
>Just drop fewer amount of data or do as
>in mp3 little bit hackery.. that I didn't quite get yet ;).
>
>Where to add more formats: like wma and aac that works with ffmpeg just
>fine? Documents say that method that is supposed
>to tell what format are supported is evil.
>
>Is this even wanted hacking? I've though it would be good to have ffmpeg
>in soundsource because of formats it supports.
>I can't yet see if all the seeking things are fixed. I've been also
>wondering if MLT or Gstreamer would be way to go
>in Soundsource because ffmpeg is kinda diffucult to make work but
>Gstreamer is easier (and support all the formats
>that ffmpeg with plugin) same goes to MLT.
>
>Sorry about not having patch but in the current state of code (because
>playing it's not working correct).. if someone wants it i'll send it..
>
>Thanks,
>Tuukka
>
>--
>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/
>___
>Get Mixxx, the #1 Free MP3 DJ Mixing software Today
>http://mixxx.org
>
>
>Mixxx-devel mailing list
>Mixxx-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/mixxx-devel

--
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/
___
Get Mixxx, the #1 Free MP3 DJ Mixing software Today
http://mixxx.org


Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel


Re: [Mixxx-devel] Ffmpeg sound source

2012-08-30 Thread Daniel Schürmann
Hi Tuukka,

I am glad someone picks up this task, Thank you!

I am not an expert in details of sound source, but here are some hints from
Bill:
https://bugs.launchpad.net/mixxx/+bug/998907

For my feeling the solution could be a well sized Buffer around the current
play position.
But doing a seek outside this buffer will result in a performance
regression. If this is really required the user is free to transcode his
audio files in a better suitable format.

I think the benefit in playing almost any file format is worth to possible
have trouble with those corner cases. In any case, the behaviour should be
well documented.

Kind regards,

Daniel



2012/8/30 Tuukka Pasanen 

> Hello,
> I've doing a little bit coding with mixxx and ffmpeg lately (works with
> newest ffmpeg). I get ffmpeg soundsource in shape (compiling and almost
> working sound) but because I don't really yet understand all the inner
> things in Mixxx I ask these guestions:
>
> I understand that soundsource I asked some amount of 16 bit PCM data but
> ffmpeg doesn't fit in. Decoded data
> doesn't go as smooth as Mixxx wants. If anybody know what should I do.
> Just drop fewer amount of data or do as
> in mp3 little bit hackery.. that I didn't quite get yet ;).
>
> Where to add more formats: like wma and aac that works with ffmpeg just
> fine? Documents say that method that is supposed
> to tell what format are supported is evil.
>
> Is this even wanted hacking? I've though it would be good to have ffmpeg
> in soundsource because of formats it supports.
> I can't yet see if all the seeking things are fixed. I've been also
> wondering if MLT or Gstreamer would be way to go
> in Soundsource because ffmpeg is kinda diffucult to make work but
> Gstreamer is easier (and support all the formats
> that ffmpeg with plugin) same goes to MLT.
>
> Sorry about not having patch but in the current state of code (because
> playing it's not working correct).. if someone wants it i'll send it..
>
> Thanks,
> Tuukka
>
>
> --
> 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/
> ___
> Get Mixxx, the #1 Free MP3 DJ Mixing software Today
> http://mixxx.org
>
>
> Mixxx-devel mailing list
> Mixxx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mixxx-devel
>
--
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/___
Get Mixxx, the #1 Free MP3 DJ Mixing software Today
http://mixxx.org


Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel