GNOME Bugzilla – Bug 344205
vorbisenc ! oggmux fails
Last modified: 2006-06-13 16:10:09 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.
Created attachment 66930 [details] the files Ive tested with the other file is: http://gstreamer.freedesktop.org/media/small/south.mp3
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
Created attachment 66931 [details] the result file by using lame
Created attachment 66933 [details] the resulting file by using vorbisenc ! oggmux
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
that's an invalid ogg file. does it still happen with latest adder changes in CVS?
Created attachment 67219 [details] south.mp3
Created attachment 67220 [details] UraeusTest.mp3
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
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 ***