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 678590 - subparse: Add support for LRC subtitles
subparse: Add support for LRC subtitles
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.10.36
Other Linux
: Normal enhancement
: 1.3.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-06-22 05:11 UTC by ausante.teamglobal
Modified: 2013-12-18 14:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Parachutes-lrc-base.com.lrc (1.22 KB, application/octet-stream)
2012-06-23 09:02 UTC, ausante.teamglobal
Details

Description ausante.teamglobal 2012-06-22 05:11:04 UTC
Hi,

I am trying to play .lrc file by passing it to suburi property of gst-launch.
.lrc contains the lyrics of a song (to be displayed as subtitles on screen)

But gstreamer reports an error. The error log is attached.

Does gstreamer not support .lrc files ?

gst-launch playbin2 uri=file:///abc.avi suburi=file:///home/subtitles/lrc/Sick\ And\ Tired-lrc-base.com.lrc --gst-debug=2

Setting pipeline to PAUSED ...
0:00:00.027238666 15828  0x8414070 WARN              decodebin2 gstdecodebin2.c:2265:type_found:<decodebin20> error: This appears to be a text file

0:00:00.027267378 15828  0x8414070 WARN              decodebin2 gstdecodebin2.c:2265:type_found:<decodebin20> error: decodebin2 cannot decode plain text files

Thanks,
Developer
Comment 1 Tim-Philipp Müller 2012-06-22 19:15:14 UTC
Could you attach a .lrc file?
Comment 2 ausante.teamglobal 2012-06-23 09:02:33 UTC
Created attachment 217062 [details]
Parachutes-lrc-base.com.lrc
Comment 3 Edward Hervey 2012-06-26 07:24:18 UTC
looks like it might be this : https://en.wikipedia.org/wiki/LRC_%28file_format%29
Comment 4 Sebastian Dröge (slomo) 2013-12-18 14:53:27 UTC
commit 4f4ff6bda695b501ea0933ea488c93475919b141
Author: Sebastian Dröge <sebastian@centricular.com>
Date:   Wed Dec 18 15:52:09 2013 +0100

    subparse: Add unit test for LRC subtitles

commit 218d0702c921b6353c3bae4b1e14348ca2dba9d5
Author: Sebastian Dröge <sebastian@centricular.com>
Date:   Wed Dec 18 15:24:02 2013 +0100

    subparse: Add support for parsing LRC subtitles
    
    https://bugzilla.gnome.org/show_bug.cgi?id=678590

commit bc2342e4adaac9652054a52cccb4dac12b0b929c
Author: Sebastian Dröge <sebastian@centricular.com>
Date:   Wed Dec 18 15:07:47 2013 +0100

    subparse: Add typefinder for LRC subtitles