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 344205 - vorbisenc ! oggmux fails
vorbisenc ! oggmux fails
Status: RESOLVED DUPLICATE of bug 163841
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-06-07 20:09 UTC by Edgard Lima
Modified: 2006-06-13 16:10 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
the files Ive tested with (720.00 KB, audio/mpeg)
2006-06-07 20:18 UTC, Edgard Lima
Details
the result file by using lame (920.72 KB, audio/mpeg)
2006-06-07 20:28 UTC, Edgard Lima
Details
the resulting file by using vorbisenc ! oggmux (529.81 KB, application/ogg)
2006-06-07 20:31 UTC, Edgard Lima
Details
south.mp3 (394.64 KB, audio/mpeg)
2006-06-12 21:37 UTC, Edgard Lima
Details
UraeusTest.mp3 (720.00 KB, audio/mpeg)
2006-06-12 21:38 UTC, Edgard Lima
Details

Description Edgard Lima 2006-06-07 20:09:20 UTC
gst-launch-0.10 filesrc location=south.mp3 ! mad ! audioconvert ! audioresample ! adder0.sink0 filesrc location=UraeusTest.mp3 ! mad ! audioconvert ! audioresample ! adder ! audioconvert ! vorbisenc ! oggmux ! filesink location=test.ogg

After that, I could just play few seconds of test.ogg

in other hand, just changing "vorbisenc ! oggmux" by "lame":

gst-launch-0.10 filesrc location=south.mp3 ! mad ! audioconvert ! audioresample ! adder0.sink0 filesrc location=UraeusTest.mp3 ! mad ! audioconvert ! audioresample ! adder ! audioconvert ! lame ! filesink location=test.ogg

I can play the file as expected.
Comment 1 Edgard Lima 2006-06-07 20:18:44 UTC
Created attachment 66930 [details]
the files Ive tested with

the other file is:

http://gstreamer.freedesktop.org/media/small/south.mp3
Comment 2 Edgard Lima 2006-06-07 20:27:03 UTC
Now I think the problem is with playbin to play ogg files

gst-launch-0.10 filesrc location=test.ogg ! oggparse ! oggdemux ! vorbisdec ! audioconvert ! alsasink

works *almost* fine

gst-launch-0.10 playbin uri=file:///home/edlima/Projects/testFiles/test.ogg

play just few seconds

*almost* because the final file test.ogg and test.mp3 are a bit different. At the end, test.mp3 plays the audio comming from UraeusTest.mp3 while test.ogg doesn't
Comment 3 Edgard Lima 2006-06-07 20:28:21 UTC
Created attachment 66931 [details]
the result file by using lame
Comment 4 Edgard Lima 2006-06-07 20:31:04 UTC
Created attachment 66933 [details]
the resulting file by using vorbisenc ! oggmux
Comment 5 Edgard Lima 2006-06-07 21:09:15 UTC
not using oggparse I got tha same result as playbin (plays just few seconds)

gst-launch-0.10 -v  filesrc location=test.ogg ! oggdemux ! vorbisdec ! audioconvert ! alsasink
Comment 6 Wim Taymans 2006-06-12 17:55:31 UTC
that's an invalid ogg file. does it still happen with latest adder changes in CVS?
Comment 7 Edgard Lima 2006-06-12 21:37:31 UTC
Created attachment 67219 [details]
south.mp3
Comment 8 Edgard Lima 2006-06-12 21:38:28 UTC
Created attachment 67220 [details]
UraeusTest.mp3
Comment 9 Edgard Lima 2006-06-12 21:40:43 UTC
Yes, I have just update gst* from cvs and compiled it. To reproduce, run (get south.mp3 and UraeusTest.mp3 attacheded in this bug):

1- gst-launch-0.10 filesrc location=south.mp3 ! mad ! audioconvert ! audioresample ! adder0.sink0 filesrc location=UraeusTest.mp3 ! mad ! audioconvert ! audioresample ! adder ! audioconvert ! vorbisenc ! oggmux ! filesink location=test.ogg

2- PLAYS FINE - gst-launch-0.10 -v  filesrc location=test.ogg ! oggparse ! oggdemux ! vorbisdec ! audioconvert ! alsasink

3- PLAYS JUST FEW SECONDS - gst-launch-0.10 -v  filesrc location=test.ogg ! oggdemux ! vorbisdec ! audioconvert ! alsasink
Comment 10 Wim Taymans 2006-06-13 16:10:09 UTC
files have different sample rates. Filtered caps after adder makes it work fine.

gst-launch-0.10 filesrc location=south.mp3 ! mad ! audioconvert ! audioresample ! adder0.sink0 filesrc location=UraeusTest.mp3 ! mad ! audioconvert ! audioresample ! adder ! audio/x-raw-int, rate=44100 ! audioconvert ! vorbisenc ! oggmux ! filesink location=test.ogg


*** This bug has been marked as a duplicate of 163841 ***