GNOME Bugzilla – Bug 727987
Various problems with some formats
Last modified: 2014-04-27 01:07:44 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
What size are the files that can't be played?
Some seconds of recording. I can't play it in other media players either, so it's a recording problem with the MOV format.
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.
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.
Thanks! I'll take a look at it this weekend.
(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.
> 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
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.
*** Bug 728612 has been marked as a duplicate of this bug. ***
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!
The issue with MP4 is fixed in master now: https://git.gnome.org/browse/gnome-sound-recorder/commit/?id=b79f5b8beb9d8fd75ece6b02a764ffb1c5b2b4cd