[SOLVED] "No codec present that can handle the stream's type" issue
Hello. I got a python program that would play musics on a website, which doesn't work for a "no codec present that can handle the stream's type" issue. I have installed things like gstreamer, gstreamer-plugins, gstreamer-python, gstreamer-ffmpeg, and libmpeg2, etc. However, this issue still remains. Would someone here be able to help?
Here's the error message:
** Message: don't know how to handle audio/mpeg, mpegversion=(int)1, mpegaudioversion=(int)2, layer=(int)3, rate=(int)24000, channels=(int)2, parsed=(boolean)true
Error: There is no codec present that can handle the stream's type. gstplaybasebin.c(2322): prepare_output (): /GstPlayBin:player
Here's the program, written by a Chinese: https://github.com/zhendi/DoubanFM-CLI
Edit:
I'm able to play the musics on the websites via chromium.
Edit:
I tried to download the music, and use gst-launch-0.10 filesrc location=~/p535960.mp3 ! decodebin ! autovideosink, but only find these messages:
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMpegAudioParse:mpegaudioparse0: GStreamer encountered a general stream error.
Additional debug info:
gstbaseparse.c(2695): gst_base_parse_loop (): /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMpegAudioParse:mpegaudioparse0:
streaming stopped, reason not-linked
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
Last edited by lastland (2012-02-18 07:47:47)
Sorry. I just found the reason. I missed gstreamer-ugly in this case.
Similar Messages
-
WL-JAAS-No Configuration was registered that can handle the configuration
Hi,
A) I am trying to run JAAS on Weblogic. We have got our own login module developed based on JAAS specification.
I have created jas.config which is as follows:
abcjaas {
<pkg>.DBLoginModule required
which I have included in the system properties as
set JAVA_OPTIONS=%JAVA_OPTIONS% -Djava.security.auth.login.config=D:\BeaWL\jaas.config
B) I had also tried setting this
set JAVA_OPTIONS=%JAVA_OPTIONS% -Dlogin.configuration.provider=com.bea.common.security.jdkutils.JAASConfiguration. This I have also tried configuring in the java.security file in the JDK folder.
While in Java code, it precisly throws error here on this statement:
loginContext = new LoginContext("abcjaas", callHandler);
But for all the above trials, it gives the same error as follows:
C)
Inside : Authenticator ::authenticateUser()....
<Sep 10, 2009 2:32:49 PM IST> <Error> <HTTP> <BEA-101020> <[weblogic.servlet.internal.WebAppServletContext@609547 - appName: CommercialLines_EAR', name: 'App', context-path: '/App', spec-version: '2.5'] Servlet failed with Exception
java.lang.IllegalArgumentException: No Configuration was registered that can handle the configuration named abcjaas
at com.bea.common.security.jdkutils.JAASConfiguration.getAppConfigurationEntry(JAASConfiguration.java:124)
at javax.security.auth.login.LoginContext.init(LoginContext.java:243)
at javax.security.auth.login.LoginContext.<init>(LoginContext.java:403)
at <pkg>.Authenticator.authenticateUser(Authenticator.java:38)
at <pkg>.LoginFilter.doFilter(LoginFilter.java:40)
Truncated. see log file for complete stacktrace
>
D) Kindly help, the Weblogic 10.3.0.0 running on JDK1.6 -Sun provided. I am not using the JDK1.6 in WL10.3 or its Jrockit1.6.
Please let me know the resolution.
Cheers,
-Vishal KumarI came across the potential fix through the document: http://docs.oracle.com/cd/E23717_01/doc.71/e23699/adm_troubleshoot.htm#BABIHJJF . The fix works fine.
However I would like a better explanation of the issue and the fix. The issue happens only on Solaris servers that run sftp, but not on linux servers. -
Hosting company that can handle large videos.
I currently have 9 videos on my website that range from 3.5 minutes to 1 hour. 8 of them range in file sizes from 21MB to 389MB. My latest video is 40 minutes long and 1.57GB. I know, that is huge, but it was taken with an HD camera and is in MP4 format encoded with the H.264 codec. I tried to convert this to FLV, but the video looked terrible. My current host has informed me that the video is to large for his server to handle. I don't know exactly how all that works, so I am hoping that someone can tell me how to make the video smaller so that his server can handle it or suggest a host that can handle the files as is. So if anyone has any suggestion, either way, please let me know. It will be greatly appreciated.
http://www.liquidfirefishing.com/videos
My host did ask me to delete the 1.57GB video off his server, so it is not currently on there.If you want to be in the video streaming business... then you need to move from shared hosting to a dedicated server. FWIW: I highly recommend Lunar Pages. They have dedicated server packages starting as low as $99/month. If you're so inclined, here's my affiliate link. http://www.lunarpages.com/id/NancyO
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
www.alt-web.com/
HTML Validator - http://validator.w3.org
CSS Validator - http://jigsaw.w3.org/css-validator/
Tutorials - http://w3schools.com/ -
Want my JFrame to be the *only* one that can end the program when closed
Hi all,
I have an application that is essentially a launcher for other applications -- it's a holder to allow us to demo our work and other Java examples (not necessarily our work). The launcher will either run methods to launch an application or will find a class's main method and invoke that.
In all cases, the other applications open up their own JFrames, separate from my launcher (this is a good thing). The problem is that, in general, the other JFrames are set to EXIT_ON_CLOSE. This means that if the user closes the second window, everything will close.
Is there anyway to prevent this from happening? I'd like either a way to say that my JFrame is the only one that can exit the program when closed, or to say globally that JFrames can't exit on close, and then re-work my initial frame so that it is still able to exit.
Note that changing all the other applications so that they do not include the EXIT_ON_CLOSE line is not an option (several of the applications we have the right to use, but not the right to modify, for instance).
Any thoughts?
Thanks,
SamDarryl.Burke wrote:
I have a similar launcher application and this is how I tackled the issue....
Window[] windows = Window.getWindows();
This seems like a great work-around. The only problem is that Window.getWindows() is only 6.0, and unfortunately I can only assume 5.0. I can't see another method in the Window class that will return unowned windows -- is there another method that you know of?
Edit: I found I can use Frame.getFrames() instead, but unfortunately I've discovered this doesn't solve my problem. One of the applications is listening to window closing and is calling System.exit(0) itself, and is not using EXIT_ON_CLOSE as I previously thought. So I think that launching a new JVM may be the only option.... Any advice on how to do this? I'm a little stuck with the ProcessBuilder stuff above.
>
edit In future (not this time), Swing related questions should be posted in the [Swing forum|http://forums.sun.com/forum.jspa?forumID=57]
I guess I was thinking this as a process-oriented question (I had already been thinking of the "different JVM" tactic), but the other option was to think of it as a pure-swing problem, like your solution above. Guess I should have just cross-posted -- everyone loves that! ;-)
Edited by: Asbestos on Dec 18, 2008 12:32 PM -
Looking for Mac that can handle CPU intensive apps (Music & Video)
Hi everyone, I am looking to get a new mac in the near future but wanted to know which Desktop mac is best for music and video? I was thinking of the new iMac but not sure if they are powerful enough? I need something that can handle CPU intensive stuff. I will be using it mainly for video editing and music producing
In a nutshell,
Look at the new 27 inch screen iMac models.
Get the fastest optional CPU,
Decide which optional GPU you'd be comfortable with.
Get the base 8 GBs of RAM and then purchase extra, cheaper RAM through third party Mac RAM sellers.
Then add as much RAM as you think you need. The 27 inch screen models can take up to 32 GBs of RAM.
Decide on optional storage sizes.
If you need a CD / DVD optical drive, these are no longer built-in and you will need to budget for a good external optical drive.
Budget for 3-year extended AppleCare warranty service.
In case of reliability issues with the first 5 years of operational life, the iMac will be covered with free warranty service for the first three years.
Good Luck! -
Search application that can handle regular expressions
I am desperately seeking for my PhD an OSX 10.6 application that can search through all my data. That application need to have *efficient search algorithms* for complex pattern searching.
For example I want to search all my documents having the word cancer inside the file.
Not only search for the filename cancer BUT search inside the documents with all the extensions (pdf, rtf, doc, etc.)
In Windows I use +Filelocator Pro+.
Is there a Mac OSX application like +Filelocator Pro+ for search?
An application that can handle regular expression support, with any of the following options:
+Export results to Text, command line options, Network drive searching, Boolean searches (e.g. AND, OR, and NOT), Perl compatible regexp option, Built in file viewer, Word, Excel and PDF searching, Open Office, Word Perfect option using IFilters, Unicode support, support for: ZIP, RAR, CAB, 7-Zip, ARJ, Bzip, CHM, CPIO, DEB, DMG, GZIP, HFS, ISO, LZH, MSI, NSIS, RPM, TAR, UDF, WIM, XAR, Z formats, Active Scripting support, Export as Text, CSV, XML, HTML, or XSLT custom format, File attribute searching , Relative date/time searches, Repositionable contents pane, Search within search, Exclude folders list,+ etcYou might try the freeware EasyFind. It allows boolean and wildcard searches. How many of the other features in your "wish list" it offers I haven't checked. If EasyFind doesn't offer sufficient power, take a look at FoxTrot Personal Search or FoxTrot Professional Search.
And of course there's always grep which can be incredibly powerful once you learn all its ins and outs.
Regards. -
I have a .mov file that is 59 gigs. Is there a converter that can reduce the file size with minor resolution loss so I can import it into final cut express?
Open the file in QuickTime Player. Then do Tools > Show Movie Inspector. What does it say for Format and FPS?
At 59GB, I suspect you have either a 4 hour DV video or a 1+ hour video that was converted to Apple Intermediate Codec. If it's either of those, you can import it directly into FCE provided you select the appropriate Easy Setup first. Your clips have to match the properties of the Easy Setup you are using.
If it's neither DV or AIC then you need to convert it to one of those codecs. (QuickTime/DV or QuickTime/AIC) Many people in this forum rely on MPEG Streamclip (it's free and works great). -
Is there a MBP model (Configuration) that can handle multicam editing?
I do a lot of multicam editing. Is there a MBP configuration that can handle multicam editing (giving smooth playback
In that editing mode) I am also desiring to have the fastest rendering I can get in that MBP.
Any suggestions are appreciated.I do a lot of multicam editing. Is there a MBP configuration that can handle multicam editing (giving smooth playback
In that editing mode) I am also desiring to have the fastest rendering I can get in that MBP.
Any suggestions are appreciated. -
Is there standard functionality in ECC 6 that will handle the quotation of scale pricing?
Inquiry and quotation functionality assumes that the quote to the customer will be for a specific material and quantity. Is there standard functionality in ECC 6 that will handle the quotation of scale pricing?
Thank you for the question. In our scenario, we are not quoting a specific quantity. We are quoting the scales. Below is a theoretical example:
Customer: 12345
Validity period: 21.03.2014 - 30.06.2014
Material: 123456 Widget with order UoM of EA
Price:
Up to 10,000 EA: $2.25/1EA
10,001 EA to 50,000 EA: $2.00/1EA
50,0001 +: $1.75/1EA
I am very familiar with inquires and quotations, and I understand that we can maintain scale price condition records and the price routine will determine the price based on the quantity of the inquiry, quotation, or order. Unfortunately, I do not have a quantity to enter in the quotation. I only have the scales. I do hope this clarifies the question.
Best regards,
Mark -
Is there an iPod that can handle 24 bit 192 hz
Is there an iPod or iPad that can handle music files 24 bit 192 hz
No. The highest resolution iPods can handle is 24/48.
-
Does anyone know of an iPad app that can lock the iPad after a period of months (i.e., 6 months)? I am looking to give ipads to contestant participants and need a way to automatically lock the device once the set duration (measured in days, weeks, months or years) is complete. Does anyone know of an iPad app that locks the device after a period longer than 24 hours (ike most parental control apps)??
Thanks for any help!!It's called "SelfControl". It can be a little hard to learn to use but it's worth the effort.
-
How can I read on my Apple Arabic files of Times New Roman or Arial fonts made in PC? when I get the files the Arabic letters are separate and not joined. Is there a common font in Arabic that can convert the Arabic PC Windows files to my Apple?
The same with email messages ,
And when I get Power Point files made in PC Windows, they are like PDF, not Power Point!
Anybody with a good suggestion?Yewtree wrote:
when I get the files the Arabic letters are separate and not joined
Do not use MS Word for Mac, it does not support Arabic. Instead use Mellel, TextEdit, Nisus Writer or OpenOffice. Try the font Geeza Pro if others do not work.
What are you using to read email?
What are you using to read powerpoint? -
How to create a user that can login the LDAP?
I want to create a user that can login the OID/LDAP. I know how to create a user, it is allowed to login OIDDAS, but I also want the user to grant access to ldap directly. How do i do that?
And how can I give it read rights and or update/delete rights on a specific tree?
Regards
EelcoEelco,
did you see the OiD developers guide? Here you find some examples how to create users in OiD using pl/sql or java.
http://download-west.oracle.com/docs/cd/A97329_03/manage.902/a95193/smplcode.htm#637294
how to use directory access control can be found in
http://download-west.oracle.com/docs/cd/A97329_03/manage.902/a95192/access.htm#1054232
--Olaf -
Report that can take the system: (users, utilization, T-CODE)
I need a report that can take the system:
How many times a user logged into the system in the last month
Most used transactions
Changes passwords.
Etc., all you have to do with a user-level tuning.
thanks,
VLopesHi
If you Activate the audit log you can keep track all information,
have a look at -successful and unsuccessful dialog and RFC logon attempts
--successful and unsuccessful transaction and report stats ...
how many times a user logged -in and all .yah you need to count
the number of times a user logged based on the report.
Once you activate....every day transaction details are recorded for every user
who tries to log in.keep an eye on the below parameters
In RZ10
rsau/enable :set to 1 to activate audit logging
rsau/local/file :to specify name and location of audit log file
rsau/max_diskspace/local :To specify maximum space for audit file say if
max.size is reached auditing stops
Hope that helps.
regards
Manjula .U -
Function module that can give the last value or the highest value of a key
hi,
Is there any function module that can give the last value or the highest value of a key feild in a z table.
regards,
johnsonHi ,
We have aggregate functions in SQL. Some of the functions are as follows.
MAX(col ) Determines the maximum value of the value in the column col in the resulting set or in the current group.
MIN( col ) Determines the minimum value of the content of the column col in the resulting set or in the current group.
AVG( col ) Determines the average value of the content of the column col in the resulting set or in the current group. The data type of the column has to be numerical.
SUM( col ) Determines the sum of the content of the column col in the resulting set or in the current group. The data type of the column has to be numerical.
COUNT( col ) Determines the number of different values in the column col in the resulting set or in the current group.
For further details , type the function name name and press F1 for further help.
Eg: select count(mantr) from mara into workarea where condition.
Reward points if helpful.
Thanks and Regards.
Maybe you are looking for
-
Segment E1EDK23 in idoc is missing
Hi All, I have written a program for outbound idoc inside user exit FM EXIT_SAPLVEDF_002. which triggers via standard FM idoc_output_invoic. Now I have to pass currency code in sagment E1EDK23. I have coded for that in my program but it is not appe
-
Problem finding WordService for Contract Generation in SAP E-Sourcing5.1
Hi, I'm currently deploying Contract Generation Web Service in SAP E-Sourcing5.1/CLM 2.0 SP02. The problem is that I can't find WordService software which is mandatory for adding XML Schema in MS Word. In the instGuide it says that the installer is o
-
Viewing pictures in emails on Samsung Continuum
I just recently got a Samsung Continuum and I really like it. However, I ran into a problem today. I got an email with pictures attached. How do I open them on the phone?
-
Does anyone kbnow how to have Keychain use passwords in my iOS device (iPad)? I find my self writing down passowrds now which completely defeats the concept behind Keychain and iCloud, right? Thanks for any help.
-
Formula - days before or after a given date = date
Hi - I'm not great with formulas and have looked through all the help text and still can't find what I need. I am looking for a version of the workday formula that doesn't exclude weekends....so, the function would return a date based on the given nu