Skip to contentSkip to conversation

fcplay: compressed audio test utility

alsa-devel Vinod Koul 2 participants 7 messages Nov 19, 2019 – Dec 5, 2019

lore
Share & tools
lore

Vinod Koul

author
#0 lore raw

Hello,

I have forked the cplay test app into fcplay which is a different repo
[1] licensed as LGPLv2.1. The reason for fork was me getting sick of seeing the tool miss sync word for mp3 and no support for other formats which I wanted to test. But I was lazy to start exploring all media formats and write a parser for them so I have used libavcodec to the job for me which is GPL.

The fcplay links to libavcodec to get compressed audio parameters and then uses tinycompress to send data to sound card.

It supports mp3 (no more complaints about sync words) and Flac. I will add more formats, wma etc are in the list along with gapless audio playback and support for new changes coming to gapless audio playback as discussed in audio meeting at Lyon.

As usual patches are welcome.

Jaroslav, can we add to alsa-project github as well?

Thanks

Signature · 5 lines
~Vinod
_______________________________________________
Alsa-devel mailing list
[email protected]
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel
author
#1 lore raw
Quoted 12 lines · Vinod Koul

Hello,

I have forked the cplay test app into fcplay which is a different repo
[1] licensed as LGPLv2.1. The reason for fork was me getting sick of seeing the tool miss sync word for mp3 and no support for other formats which I wanted to test. But I was lazy to start exploring all media formats and write a parser for them so I have used libavcodec to the job for me which is GPL.

The fcplay links to libavcodec to get compressed audio parameters and then uses tinycompress to send data to sound card.

Quoted 8 lines

It supports mp3 (no more complaints about sync words) and Flac. I will add more formats, wma etc are in the list along with gapless audio playback and support for new changes coming to gapless audio playback as discussed in audio meeting at Lyon.

As usual patches are welcome.

Jaroslav, can we add to alsa-project github as well?

Here is the missing link!

[1]: [email protected]:vinodkoul/fcplay.git
https://github.com/vinodkoul/fcplay/

Signature · 5 lines
~Vinod
_______________________________________________
Alsa-devel mailing list
[email protected]
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel
#2 lore raw

Dne 19. 11. 19 v 13:43 Vinod Koul napsal(a):

Quoted 18 lines · Vinod Koul
Quoted 17 lines

Hello,

I have forked the cplay test app into fcplay which is a different repo
[1] licensed as LGPLv2.1. The reason for fork was me getting sick of seeing the tool miss sync word for mp3 and no support for other formats which I wanted to test. But I was lazy to start exploring all media formats and write a parser for them so I have used libavcodec to the job for me which is GPL.

The fcplay links to libavcodec to get compressed audio parameters and then uses tinycompress to send data to sound card.

It supports mp3 (no more complaints about sync words) and Flac. I will add more formats, wma etc are in the list along with gapless audio playback and support for new changes coming to gapless audio playback as discussed in audio meeting at Lyon.

Quoted 8 lines
Quoted 3 lines

As usual patches are welcome.

Jaroslav, can we add to alsa-project github as well?

Here is the missing link!

[1]: [email protected]:vinodkoul/fcplay.git
https://github.com/vinodkoul/fcplay/

I would probably add this to the tinycompress package, too. The mixed licence is not an issue, I think.

Thanks,
Jaroslav

Signature · 6 lines
Jaroslav Kysela <[email protected]>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.
_______________________________________________
Alsa-devel mailing list
[email protected]
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel
author
#3 lore raw
Quoted 23 lines · Jaroslav Kysela

Dne 19. 11. 19 v 13:43 Vinod Koul napsal(a):

Quoted 22 lines · Vinod Koul
Quoted 20 lines

Hello,

I have forked the cplay test app into fcplay which is a different repo
[1] licensed as LGPLv2.1. The reason for fork was me getting sick of seeing the tool miss sync word for mp3 and no support for other formats which I wanted to test. But I was lazy to start exploring all media formats and write a parser for them so I have used libavcodec to the job for me which is GPL.

The fcplay links to libavcodec to get compressed audio parameters and then uses tinycompress to send data to sound card.

It supports mp3 (no more complaints about sync words) and Flac. I will add more formats, wma etc are in the list along with gapless audio playback and support for new changes coming to gapless audio playback as discussed in audio meeting at Lyon.

As usual patches are welcome.

Jaroslav, can we add to alsa-project github as well?

Quoted 7 lines
Quoted 4 lines

Here is the missing link!

[1]: [email protected]:vinodkoul/fcplay.git
https://github.com/vinodkoul/fcplay/

I would probably add this to the tinycompress package, too. The mixed licence is not an issue, I think.

That depends on who you talk to :-) Some folks seem to be averse to anything *GPL*! so adding this to tinycompress can have issues for them.

Signature · 5 lines
~Vinod
_______________________________________________
Alsa-devel mailing list
[email protected]
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel
author
#5 lore raw
In reply to Jaroslav Kysela
Quoted 33 lines · Jaroslav Kysela

Dne 03. 12. 19 v 11:12 Vinod Koul napsal(a):

Quoted 32 lines · Jaroslav Kysela
Quoted 30 lines

Dne 19. 11. 19 v 13:43 Vinod Koul napsal(a):

Quoted 18 lines · Vinod Koul
Quoted 17 lines

Hello,

I have forked the cplay test app into fcplay which is a different repo
[1] licensed as LGPLv2.1. The reason for fork was me getting sick of seeing the tool miss sync word for mp3 and no support for other formats which I wanted to test. But I was lazy to start exploring all media formats and write a parser for them so I have used libavcodec to the job for me which is GPL.

The fcplay links to libavcodec to get compressed audio parameters and then uses tinycompress to send data to sound card.

It supports mp3 (no more complaints about sync words) and Flac. I will add more formats, wma etc are in the list along with gapless audio playback and support for new changes coming to gapless audio playback as discussed in audio meeting at Lyon.

Quoted 8 lines
Quoted 3 lines

As usual patches are welcome.

Jaroslav, can we add to alsa-project github as well?

Here is the missing link!

[1]: [email protected]:vinodkoul/fcplay.git
https://github.com/vinodkoul/fcplay/

I would probably add this to the tinycompress package, too. The mixed licence is not an issue, I think.

Quoted 7 lines
Quoted 2 lines

That depends on who you talk to :-) Some folks seem to be averse to anything *GPL*! so adding this to tinycompress can have issues for them.

I mean that you can add a new tool to tinycompress with the LGPL-only licence. It depends on the packager/user if he/she accepts it. So, dual BSD/LGPL licence by default and LGPL-only to fcplay. You may place this tool to src/utils-lgpl directory or so.

Okay that sounds great to me. Let me try doing that instead!

Thanks

Signature · 5 lines
~Vinod
_______________________________________________
Alsa-devel mailing list
[email protected]
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel
#4 lore raw
In reply to Vinod Koul

Dne 03. 12. 19 v 11:12 Vinod Koul napsal(a):

Quoted 26 lines · Jaroslav Kysela
Quoted 25 lines

Dne 19. 11. 19 v 13:43 Vinod Koul napsal(a):

Quoted 24 lines · Vinod Koul
Quoted 12 lines

Hello,

I have forked the cplay test app into fcplay which is a different repo
[1] licensed as LGPLv2.1. The reason for fork was me getting sick of seeing the tool miss sync word for mp3 and no support for other formats which I wanted to test. But I was lazy to start exploring all media formats and write a parser for them so I have used libavcodec to the job for me which is GPL.

The fcplay links to libavcodec to get compressed audio parameters and then uses tinycompress to send data to sound card.

Quoted 8 lines

It supports mp3 (no more complaints about sync words) and Flac. I will add more formats, wma etc are in the list along with gapless audio playback and support for new changes coming to gapless audio playback as discussed in audio meeting at Lyon.

As usual patches are welcome.

Jaroslav, can we add to alsa-project github as well?

Here is the missing link!

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

[1]: [email protected]:vinodkoul/fcplay.git
https://github.com/vinodkoul/fcplay/

I would probably add this to the tinycompress package, too. The mixed licence is not an issue, I think.

That depends on who you talk to :-) Some folks seem to be averse to anything *GPL*! so adding this to tinycompress can have issues for them.

I mean that you can add a new tool to tinycompress with the LGPL-only licence. It depends on the packager/user if he/she accepts it. So, dual BSD/LGPL licence by default and LGPL-only to fcplay. You may place this tool to src/utils-lgpl directory or so.

Jaroslav

Signature · 6 lines
Jaroslav Kysela <[email protected]>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.
_______________________________________________
Alsa-devel mailing list
[email protected]
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel
author
#6 lore raw
In reply to Vinod Koul
Quoted 1 line · Vinod Koul

On 03-12-19, 11:23, Jaroslav Kysela wrote:

Hi Jaraslav,

Quoted 6 lines
Quoted 4 lines

I mean that you can add a new tool to tinycompress with the LGPL-only licence. It depends on the packager/user if he/she accepts it. So, dual BSD/LGPL licence by default and LGPL-only to fcplay. You may place this tool to src/utils-lgpl directory or so.

Okay that sounds great to me. Let me try doing that instead!

I have added this to tinycompress and made it enable only if people configure with --enable-fcplay flag.

Thanks

Signature · 5 lines
~Vinod
_______________________________________________
Alsa-devel mailing list
[email protected]
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel