After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 727987 - Various problems with some formats
Various problems with some formats
Status: RESOLVED FIXED
Product: gnome-sound-recorder
Classification: Other
Component: General
3.12.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-sound-recorder maintainer(s)
gnome-sound-recorder maintainer(s)
: 728612 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2014-04-10 17:50 UTC by Balló György
Modified: 2014-04-27 01:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
File recorded in MOV format (45.95 KB, application/octet-stream)
2014-04-11 00:07 UTC, Balló György
Details

Description Balló György 2014-04-10 17:50:35 UTC
I experienced the following problems with some formats:

- FLAC and MP3: the recorded sound is not visible on the list, and I have to manually delete the file to be able to use gnome-sound-recorder again. It throws the following error:

(gnome-sound-recorder:3674): Gjs-WARNING **: JS ERROR: TypeError: allFilesInfo[this.idx] is undefined
Listview<._onDiscovererFinished@/usr/share/gnome-sound-recorder/listview.js:220
wrapper@resource:///org/gnome/gjs/modules/lang.js:169
Listview<._runDiscover/<@/usr/share/gnome-sound-recorder/listview.js:206
main@/usr/share/gnome-sound-recorder/main.js:45
start@/usr/share/gnome-sound-recorder/package.js:155
@/usr/bin/gnome-sound-recorder:6

- MOV: I can see the recorded sound but can't play it. I can see the following message in the console: "File cannot be played"

- Ogg Vorbis and Opus formats are work fine.

Package versions:
- js 24.2.0
- gjs 1.40.0
- gstreamer 1.2.3
- gst-plugins-base 1.2.3
- gst-plugins-good 1.2.3
- gst-plugins-bad 1.2.3
- clutter-gst 2.0.10
- gnome-sound-recorder 3.12.0

Distribution:
- Arch Linux
Comment 1 Meg Ford 2014-04-10 23:15:52 UTC
What size are the files that can't be played?
Comment 2 Balló György 2014-04-10 23:44:34 UTC
Some seconds of recording. I can't play it in other media players either, so it's a recording problem with the MOV format.
Comment 3 Meg Ford 2014-04-10 23:46:55 UTC
Can you attach some of the files here? I've run into this problem when the correct codecs weren't installed, but the application should recover without you having to manually delete the files.
Comment 4 Balló György 2014-04-11 00:07:38 UTC
Created attachment 274057 [details]
File recorded in MOV format

Some more details: the problem with FLAC and MP3 formats happen only on Hungarian locale. I can't reproduce the problem on C locale.

I attached a file that recorded in MOV format. It can't be played with any media players.
Comment 5 Meg Ford 2014-04-11 00:33:39 UTC
Thanks! I'll take a look at it this weekend.
Comment 6 Meg Ford 2014-04-14 04:20:45 UTC
(In reply to comment #4)
> Created an attachment (id=274057) [details]
> File recorded in MOV format
> 
> Some more details: the problem with FLAC and MP3 formats happen only on
> Hungarian locale. I can't reproduce the problem on C locale.
> 
> I attached a file that recorded in MOV format. It can't be played with any
> media players.

So I'm trying to reproduce and I don't see Hungarian in the locale list in GNOME. Can you tell me what it is called (e.g. paste the name here)?

I can't play the MOV file, either. The sound recorder lists the time as zero, which seems odd because usually when something goes wrong nothing is recorded and the file size is 0 KB. It's possible that there is a type mismatch between the recording format and the file extension that is being assigned by the recorder.
Comment 7 Balló György 2014-04-14 19:39:37 UTC
> So I'm trying to reproduce and I don't see Hungarian in the locale list in
> GNOME. Can you tell me what it is called (e.g. paste the name here)?

Run with:
LANG=hu_HU.UTF8 gnome-sound-recorder

But I could reproduce the problem with MP3 also on German locale (FLAC works fine):
LANG=de_DE.UTF8 gnome-sound-recorder
Comment 8 Meg Ford 2014-04-19 03:10:25 UTC
Yeah, I'm able to reproduce the problem with FLAC and MP3 now. It's being caused by some strings that are being translated by GStreamer but aren't translated in the application. the name isn't translated in GStreamer in German but it is in Hungarian, which is why you aren't seeing the problem for FLAC when you run the app with German. 

I'll ask the GStreamer devs if the names are supposed to be translated or not, since how I fix it will depend on that.
Comment 9 Meg Ford 2014-04-20 15:26:28 UTC
*** Bug 728612 has been marked as a duplicate of this bug. ***
Comment 10 Meg Ford 2014-04-25 20:48:28 UTC
This is fixed in master now: https://git.gnome.org/browse/gnome-sound-recorder/commit/?id=d9df7ec774876ad7535c9b17fa2c4d101f20449b

The issue with MOV is a problem in GioSink, which was fixed here: http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=e8d176c20c6bbde070701bf029913a4fa930e51f

I will switch from using Giobasesink to filesink before the next release since the fix won't be used in GNOME for a while.

I'll close the bug after I've committed that.

Please feel free to re-open or file another bug if you experience issues after the next release. Thanks!
Comment 11 Meg Ford 2014-04-27 01:07:44 UTC
The issue with MP4 is fixed in master now: https://git.gnome.org/browse/gnome-sound-recorder/commit/?id=b79f5b8beb9d8fd75ece6b02a764ffb1c5b2b4cd