Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nice audio version 6.7 #3

Open
rafaelaca opened this issue Jun 26, 2018 · 13 comments
Open

Nice audio version 6.7 #3

rafaelaca opened this issue Jun 26, 2018 · 13 comments

Comments

@rafaelaca
Copy link

Hi,

First let me thank you for this project. It already helped me a lot!

Today I found an audio that couldn't be converted by this great code.

The Nice Player can play it, but the conveter couldn't convert.

The condition if headers["packet_type"] == 4 and headers["packet_subtype"] == 0: is never true.

Instead of the combination of (packet_type == 4 and packet_subtype == 0), the file shows only (packet_type == 4 and packet_subtype == 3).

The audio file is attached.

Can you give a light on this issue?

nice_audio_6.7.zip

Thanks!

@quarckster
Copy link
Owner

It requires to disassemble nice audio player where this file was recorded.

@zhongczlb
Copy link

I have the same problem, has anybody solved it?

@RyanStomel
Copy link

@zhongczlb - do you have this stood up somewhere where I can test out a file? I think I have a solution.

@rafaelaca
Copy link
Author

Hi @RyanStomel,

If @zhongczlb had the same problem than I did, you can test with the nice_audio_6.7.zip that I attached on my post.

Thank you for your help.

@RyanStomel
Copy link

test out this file and see if it converted for you in your instance

test_nice.zip

@blesio
Copy link

blesio commented Nov 14, 2018

It requires to disassemble nice audio player where this file was recorded.

If you want I can provide you with the player if you need, Drop me an email to [email protected]

I changed the email.... should be [email protected]

@newunlimited
Copy link

Anybody found a solution?

1 similar comment
@EdgarPratas
Copy link

Anybody found a solution?

@rafaelaca
Copy link
Author

test out this file and see if it converted for you in your instance

test_nice.zip

Hi @RyanStomel sorry for the delay in replying..

I tested your nmf file in test_nice.zip and it didn't convert either.

Thanks

@blesio
Copy link

blesio commented May 22, 2019

Unfortunately the problem is that the Python script does something it should not do to 4.1 NMF files. Firstly it extracts the audio stream but doesn't compensate for silence. When you have an NMF file which is compressed with g729 codec and it's for example 5h long, when 90% of the file is silence then the outcome file has only the voice packets. and it's only 10% the length of the original NMF.
Secondly, NICE is using another NMF format since I think Engage 6.6. I contacted the author of the python script and he was willing to work on it after I pay him.
So I stopped contacting him.
If you want to use this tool to convert 1:1 NMF files from NIM 4.1 and below, then you can't guarantee file integrity since it doesn't cover the silence periods in the source file and thus you can't use it.

@EmilianoFT
Copy link

EmilianoFT commented Jul 27, 2019

Hi,

First let me thank you for this project. It already helped me a lot!

Today I found an audio that couldn't be converted by this great code.

The Nice Player can play it, but the conveter couldn't convert.

The condition if headers["packet_type"] == 4 and headers["packet_subtype"] == 0: is never true.

Instead of the combination of (packet_type == 4 and packet_subtype == 0), the file shows only (packet_type == 4 and packet_subtype == 3).

The audio file is attached.

Can you give a light on this issue?

nice_audio_6.7.zip

Thanks!

The script is ok, but ffmpeg dont realign uncompressed packets, and header was wrote isnt correct.
The type and subtype of packets are 4 - 0/ 4 - 3 for audio and 4 -2/4 - 4 silences.
Silences are suppressed from nmf file, but can calculate (dont need in my case).

nice_audio_6.7.wav.zip

@Knaky41
Copy link

Knaky41 commented Sep 11, 2019

Hi, just to be sure I get it, we can update the script to read this attached NMF? If yes, could you please indicate where to ?

Thanks :)

@fjavieraguilarl
Copy link

fjavieraguilarl commented Jan 8, 2020

Hi,

in this link there is a modification of your code, however i need process NMF files more than 10 minutes, when i process these files i get multiple parts,
https://github.com/mwittenbols/NMF-audio-to-WAV-convertor

How can i get only a part and not that the audio will be divided betwen several parts

Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants