[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Linphone-users] Re: Mesuring speech quality with linphone
From: |
Eduardo Bezerra |
Subject: |
[Linphone-users] Re: Mesuring speech quality with linphone |
Date: |
Mon, 12 Sep 2005 11:03:52 -0400 |
Hi Ye Liu,
I'm really sorry, but I can't help. I made an interface using Gtk for select
an trace file also. But I didn't have this problem. What is the problem exactly?
Are you having a problem in recognize the file name selected in the gui? Are
you using any other language in your gui or english?
I tried the following code and it is ok for me (English/en_US.UTF-8):
+void
+on_btnQoSChooseFile_clicked (GtkButton *button,
+ gpointer user_data)
+{
+ GtkWidget *dialog;
+ GtkWidget *parent_window;
+ GtkWidget *edit;
+
+ parent_window = lookup_widget(GTK_WIDGET(button), "prop1");
+
+ dialog = gtk_file_chooser_dialog_new ("Choose the file to log
QoS information",
+ GTK_WINDOW(parent_window),
+ GTK_FILE_CHOOSER_ACTION_SAVE,
+ GTK_STOCK_CANCEL,
GTK_RESPONSE_CANCEL,
+ GTK_STOCK_OPEN,
GTK_RESPONSE_ACCEPT,
+ NULL);
+
+ if (gtk_dialog_run (GTK_DIALOG (dialog)) == GTK_RESPONSE_ACCEPT)
+ {
+ char *filename;
+
+ filename = gtk_file_chooser_get_filename
(GTK_FILE_CHOOSER (dialog));
+ edit = lookup_widget(GTK_WIDGET(button), "entQoSFile");
+ gtk_entry_set_text(GTK_ENTRY(edit), filename);
+ g_free (filename);
+ }
+
+ gtk_widget_destroy (dialog);
+}
2005/9/12, Ye Liu <address@hidden>:
> Hi, Eduardo,
>
> I try to use your MOS tool. I will report comments to you after I
> successfully make sounds can be heard.
>
> I have a problem now, maybe you or other linphone users can help me. I made
> an interface using Gtk for select an wav file which I want to compare the MOS
> later between the original file and transfered one. But unfortranatly
> linphone can not run after that. Then I set LANG=en_US instead of
> en_US.UTF-8. This time linphone can run but can not recognize the file name.
> I use g_filename_to_utf8 to transfer the file name, but the problem still
> exist !
>
> Liu Ye
>
> On 9/10/05, Eduardo Bezerra <address@hidden> wrote:
> > Hi Clement,
> >
> >
> > I'm sorry for the tool. We are still working on the project, so we
> > need documentation
> > fot it. But, to compile the tools you will need:
> >
> > # gcc -lm fatorIe.cc -o markov
> > # gcc -lm fatorR.cc -o mos
> >
> >
> > That's what you need! Now do some calls generating the trace file.
> >
> > # linphonec -q trace.log
> >
> > Assuming that you have patched linphone 1.0.1. So, get the speech
> > quality
> > (MOS):
> >
> > # markov trace.log > trace.mkv
> > # mos trace.mkv
> >
> >
> >
> > This will output your incomming RTP flow MOS points (As you know 1~5).
> >
> > I will apreciate your comments.
> >
> > 2005/9/9, Clement Chen <address@hidden>:
> > > Hi, Eduardo,
> > > I'm interested in trying your patch. However, I don't know how to use
> > > the tool 'medqos' you mentioned. There is only one "mos.tar.gz" there
> > > without README or address@hidden@ All the comments in the source code
> > are
> > > not in English, so it's really difficult to me to begin.
> > > Would you mind doing me a favor to introduce the usage of the tool?
> > >
> > > Thanks,
> > >
> > > Clement.
> > >
> > >
> > > On 9/8/05, Eduardo Bezerra <address@hidden> wrote:
> > > >
> > > > Hi all,
> > > >
> > > >
> > > > Regeane Aguiar (address@hidden), Alexandre Passito (
> > > address@hidden)
> > > > and I developed a patch to linphone 1.0.1 to measure speech quality
> > using
> > > > the tool available in
> > > http://sourceforge.net/projects/medqos .
> > > > The patch-qosfile-050721 file makes modifications on oRTP to
> > > > generate the trace
> > > > file and the patch-linphonec-qosfile-050721 modifies linphonec to
> > > > accept aditional
> > > > options about the speech measurement.
> > > >
> > > > --
> > > > Eduardo Bezerra Valentin
> > > > Bacharelado em Ciência da Computação - DCC - UFAM
> > > > Laboratório de VoIP - GRSD - UFAM
> > > >
> > > >
> > > > _______________________________________________
> > > > Linphone-developers mailing list
> > > > address@hidden
> > > >
> > > http://lists.nongnu.org/mailman/listinfo/linphone-developers
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
> > --
> > Eduardo Bezerra Valentin
> > Bacharelado em Ciência da Computação - DCC - UFAM
> > Laboratório de VoIP - GRSD - UFAM
> >
> >
> > _______________________________________________
> > Linphone-users mailing list
> > address@hidden
> > http://lists.nongnu.org/mailman/listinfo/linphone-users
> >
>
--
Eduardo Bezerra Valentin
Bacharelado em Ciência da Computação - DCC - UFAM
Laboratório de VoIP - GRSD - UFAM
[Linphone-users] Re: [Linphone-developers] Mesuring speech quality with linphone, Simon Morlat, 2005/09/14