Nice set of perl scripts for h264 encoding stuff

I have found a nice set of perl script written for flexible h264 related encoding. They were originally developed for gentoo but they also run fine under Debian. I guess running them under arch will work as well.
Here is the original thread over at the Gentoo Forum:
http://forums.gentoo.org/viewtopic-t-74 … 444a855600
Here is the webpage from the author plus a newly build install bash script which will download and install the encoding suite:
http://blog.fangornsrealm.eu/
May be someone likes to build a package ?
I am not using arch this much the last few month. So I am kind of the wrong guy for building such a package
-D$

I have found a nice set of perl script written for flexible h264 related encoding. They were originally developed for gentoo but they also run fine under Debian. I guess running them under arch will work as well.
Here is the original thread over at the Gentoo Forum:
http://forums.gentoo.org/viewtopic-t-74 … 444a855600
Here is the webpage from the author plus a newly build install bash script which will download and install the encoding suite:
http://blog.fangornsrealm.eu/
May be someone likes to build a package ?
I am not using arch this much the last few month. So I am kind of the wrong guy for building such a package
-D$

Similar Messages

  • Help! I want a perl script for test

    I am not familar with perl and XMLDB.
    The database which managed by other team report the following errors.
    They said the error was caused by the perl scipt which contents a statment using XML object.
    So I want a perl script for test.
    Please help me.
    oracle 9.2.0.3.0
    Alert.log
    ORA-00600: internal error code, arguments: [qmxarElemAt2], [0], [], [], [], [], [], []
    listener.log
    connect_data=(sid=###)(cid=(PROGRAM=perl@###)(USER=oracle)))*(ADDRESS=(PROTOcol=tcp)(host=)
    establish###
    Edited by: 964446 on Oct 10, 2012 6:10 AM

    I can't check on iTunes until tomorrow morning, but in the meantime I can tell you what's wrong with your original feed. The top two lines read
    <?xml version="1.0"?>
    <rss version="2.0">
    They should read
    <?xml version="1.0" encoding="UTF-8"?>
    <rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
    Without the itunes URL in the second line iTunes cannot parse the required tags to show your episodes. I would guess that the line was there originally but got removed, after which iTunes would not recognize new episodes. Put it back and reload the feed, and it should work if iTunes hasn't terminated your podcast in the meantime.
    But to answer your original question: assuming you have access to both feeds; copy everything in the original feed from the first <item> to the last </item> near the bottom.
    In the new feed, find the last </item> tag at the bottom (just above the </channel> and </rss> tags), start a new line just after it and insert the material you posted from the original feed (though there are an awful lot of episodes there, and though it's technically not a problem you might want to consider whether you really need all of them in the feed).
    If you don't have direct access to the feeds but are using one of the podcast creation services which don't allow this, you will have to follow whatever method they provide for adding the episodes, possibly one at a time.

  • Creating a Perl script for SAP sytem profile parameter

    Hi,
    I need to create a perl script for all th eprofile parameter to check as a security directive ,so that whenever the system is started it checks for this profile parameter.
    As per my company sap directive ,these are the profile parameter i need to set.
    Can anyone let me know how to write the scripts.
    login/min_password_lng Minimum password length for user password 320 Min.
    8
    login/password_expiration_t
    ime
    Number of days between forced password change. 0 Max.
    35
    login/fails_to_session_end Number of invalid logon attempts allowed before the
    SAP GUI is disconnected.
    3 Max.
    3
    login/fails_to_user_lock Number of invalid logon attempts before the user id is
    automatically locked by the system.
    12 Max.
    6
    rdisp/gui_auto_logout Time, in seconds, that SAPGUI is automatically disconnected
    because of in-activity.
    0 60-
    7200
    21
    auth/test_mode Jump into report RSUSR400 at every authority check N N22
    auth/system_access_check_
    off
    Switch off automatic authority check for special ABAP
    commands
    0 0
    auth/no_check_in_some_ca
    ses
    Special authorization checks turned off by customer.
    Enabling of Profile Generator
    N/Y23 Y
    login/ext_security Security access controlled by external software. N N24
    auth/rfc_authority_check Permission for remote function calls from within ABAP
    programs
    0 1
    login/failed_user_auto_unlo
    ck
    Enable system function for automatic unlock of users
    at midnight. (0 = locks remain)
    0 0
    login/
    no_automatic_user_sapstar
    (as of 3.1h)
    login/no_automatic_user_sa
    p* (prior to 3.1h)
    Disable ability to logon as SAP* with PASS as password
    when SAP* deleted.
    0 125,26
    auth/tcodes_not_checked TCode checking for SU53 & SU56 analysis disabled (empty
    "SU5
    3
    Regards,
    Chetan.

    Here's a simple perl script that should help you get what it is you're looking for - you can add all the parameters you want to search for, I just took a few of them:
    #!/usr/bin/perl -w
    use strict;
    use sapnwrfc;
    SAPNW::Rfc->load_config;
    my $rfc = SAPNW::Rfc->rfc_connect;
    my @parms = (   "login/min_password_lng",
              "login/password_expiration_time",
              "login/fails_to_session_end",
              "login/fails_to_user_lock" );
    for my $x (0 .. $#parms) {
         my $rcc = $rfc->function_lookup("SXPG_PROFILE_PARAMETER_GET");
         my $slr = $rcc->create_function_call;
         $slr->PARAMETER_NAME($parms[$x]);
         $slr->invoke;
         print "Value for $parms[$x] is: ".$slr->PARAMETER_VALUE."\n";
    $rfc->disconnect();
    And running it, you'll get:
    [dhull@397 scripts]$ ./read-profile.pl
    Value for login/min_password_lng is: 7
    Value for login/password_expiration_time is: 90
    Value for login/fails_to_session_end is: 3
    Value for login/fails_to_user_lock is: 6
    [dhull@397 scripts]$
    If you need to get your perl environment read to make RFC calls to your SAP system, check my series of blogs on how to do so here:
    https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/u/251752730
    Cheers,
    David.

  • Perl script for xchat doesnt work

    I like to start a perl script for xchat.
    Thats my problem:
    Can't locate Socket.pm in @INC (@INC contains: /usr/lib/perl5/5.8.3/i686-linux /usr/lib/perl5/5.8.3 /usr/lib/perl5/site_perl/5.8.3/i686-linux /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .) at (eval 3) line 31.
    line 31 is "use Socket;"
    I tried also use IO::Socket; but that changes nothing.
    Anyone knows whats the problem or wich perl-modul isnt on my system?
    btw: sry for the bad english..

    bigh wrote:
    Thats my problem:
    line 31 is "use Socket;"
    I tried also use IO::Socket; but that changes nothing.
    Anyone knows whats the problem or wich perl-modul isnt on my system?
    Hello  bigh,
    Socket and IO::Socket are standard perl modules:
    me@here:~/tmp]$ tar tvzf perl-5.8.4.tar.gz | grep Socket.pm
    -r--r--r-- nwc10/nwc10 11882 2003-08-13 21:55:04 perl-5.8.4/ext/IO/lib/IO/Socket.pm
    -r--r--r-- nwc10/nwc10 9801 2004-04-01 17:58:43 perl-5.8.4/ext/Socket/Socket.pm
    In Arch they should belong to the perl package (i don't have an Arch box at the moment to confirm it more explicitely). So it is strange that neither Socket.pm nor IO/Socket.pm can be found in your @INC on your host.
    Hope it helps anyway

  • Asp or perl script for IIS

    does anyone have a asp or perl script for use on an iis server they can share? I am not worried about pulling creds from any place at this point, just a hard coded user....admin for now thanks.

    Guys,
    I am not the ASP expert ... but isn't it true that in the .NET common runtime that VB.Script and C# are very similar? ... barring language semantics, of course. If so, couldn't you take C# code and turn it into VB.Script? ... or even use C# code outright within ASP?
    The reason I ask is because this thread:
    http://discussions.apple.com/thread.jspa?messageID=2710342&#2710342
    contains a C# example of a transfer CGI suitable for an IIS server ... or, at the very least, it shows an approach to creating one.
    MacBook Pro   Mac OS X (10.4.8)   I lied. I'm running Leopard

  • To write a perl script for running a java program from cgi of web server

    I have to write a perl script to call a java program(.exe).I want to run this file through the cgi of the web server.
    java myprogram
    can anyone help me to write a perl script??

    It depends on what the java program does. For example, does it parse HTTP headers from standard input, or what?
    Are you sure it wouldn't be easier to turn the class into a servlet? etc.
    Take a look at IPC::Open2 and IPC::Open3 though. You may need them. (That's just a guess.)

  • [solved] Perl script for pacman updates in Conky

    Hi
    I've been using this script in Perl Conky to check on updates. It works well.
    It's not mine - I got it here;
    http://bbs.archlinux.org/viewtopic.php?id=57291
    #!/usr/bin/perl
    ## script by Xyne
    ## http://bbs.archlinux.org/viewtopic.php?id=57291
    use strict;
    use warnings;
    my $n = (`pacman -Qu | wc -l`);
    chomp ($n);
    if ($n == 0)
    print "System up to date"
    elsif($n == 1)
    print "1 new package"
    else
    print "$n new packages (inc. IgnorePkg) "
    I have some packages listed in IgnorePkg in pacman.conf - is there a way to exclude them from the packages counted in $n?
    I thought something like this would help but I don't see how to take only part of a line from IgnorePkg
    http://www.perlfect.com/articles/perlfile.shtml
    Thanks for any help
    EDIT I added a --ignore clause to the pacman query. Seems to have worked. Sorry to waste your time.
    Last edited by Bazzaah (2012-07-04 09:25:46)

    bump...
    Edit: Finally figured it out. My router assigns IP adresses dynamically on each reboot. When my IP adress changed from 192.169.1.2 to 192.168.1.3 the hellaconk script got all confused. Ahh...
    Last edited by Perre (2009-03-12 18:59:40)

  • Camera.setquality() not working for h264 encoding

    Hi,
    Im using H264 encoder for encoding my live video to broadcast to ios devices. But there seems a big loss in quality while using the H264 encoder. The code im using for encoding is
    var h264Settings:H264VideoStreamSettings = new H264VideoStreamSettings();
        h264Settings.setProfileLevel(H264Profile.MAIN, H264Level.LEVEL_3_1);
        _ns.videoStreamSettings = h264Settings;
        camera.setQuality( 0, 100 );
        camera.setMode( 320, 240, 30, true );
        camera.setKeyFrameInterval( 15 );
        camera.setLoopback(true);
        _ns.publish("videoname?adbe-live-event=liveevent","record");
    Is there any possiblity to improve my video quality or any other way of encoding the video?.
    Im using flex sdk 4.6 and flash player 11.8.
    Thanks in advance

    Hi Jozsef,
    thanks for your answer. In which version and on which date will the CBR be implemented? Flash Player 12? Or a minor release of FP11?
    And until then I have no chance to have a constant bitrate? The bitrate I am passing to Camera.setQuality will just be ignored? Or is there any workaround?
    Thanks and I will test using RTMFP instead of RTMP, but the CBR is the most important thing for us.
    Best

  • Perl script for dbms_stats

    Hi,
    oracle version : 8i
    os:solaris 5.9
    i used to do manually gathering statistics of tables using dbms_stats package, and i thought of automate using perl and i am new to PERL and required suggestions, documents, links greately appreciated.
    Thanks
    Prakash

    Hi Łukasz Mastalerz damorgan ,
    Thanks for your inputs;
    suppose this is the example of dbms_jobs, and it will be done in schema(pin) level
    SET SERVEROUTPUT ON
    DECLARE
    l_job NUMBER;
    BEGIN
    DBMS_JOB.submit(l_job,
    'BEGIN DBMS_STATS.gather_schema_stats(''PIN''); END;',
    SYSDATE,
    'SYSDATE + 1');
    COMMIT;
    DBMS_OUTPUT.put_line('Job: ' || l_job);
    END;
    but i want to do table level in pin schema and it should be scheduled in month end :
    exec DBMS_STATS.GATHER_TABLE_STATS(NULL,'prakash1',CASCADE=>TRUE,METHOD_OPT=>'FOR ALL COLUMNS SIZE 254',ESTIMATE_PERCENT=>20,DEGREE=>2);
    here prakash1 is table name similarly 500 tables are there in that schema and one by one table it has to analyze
    how i can change the code dbms_jobs:
    Thanks
    Prakash

  • Help Scripting for PDF Form List Box

    I am attempting to write JavaScript for an Adobe Acrobat X Pro form. I would like to set an action script for a List Box titled "customer_name" so that when a specific customer name is selected, a corresponding text box titled "cutomer_number" will automatically fill with the correct number. I am not very familiar with JavaScript so any help would be greatly appreciated.

    The easiest way to do this is to set the export value of each list box item to the corresponding customer number. The script for the custom number field could then simply be:
    // Set this field's value to the export value of the selected item in the list box
    event.value = getField("customer_name").valueAsString;
    Post again if you don't want to set up the list box that way for some reason since there are other ways to deal with this.

  • Perl scripts

    I am attempting to run a perl script that creates RSS feeds of iTunes playlists that are compatible with the PSP gaming system from sony. The guy who released the script provided a lite webserver for windows, but just the perl script for Mac OS. I have no idea how to get a perl script running, and this one is supposed to run on port 8080--I've worked with apache before, but that's always been in linux and I'm not particularly comfortable messing around with anything on my Mac yet--I'd rather know what I'm doing first. Right now I've got the script in \Library\WebServer\CGI-Executables and I've chmod 755 it. I've got personal web sharing on, and the apache help page shows up when I go to localhost. What all do I have to do to get this script running? Any help would be greatly appreciated. Thanks in advance to anyone who wants to help me accomplish this wonderful waste of time.
    James

    I should add I am trying to get CGI scripts to run also and not having much
    luck. Perl 5.8.4.
    "Cyrus" <[email protected]> wrote in message
    news:xZbAi.391$[email protected]..
    > Perl scripts run from the command line but not browser.
    >
    > "Guenter" <[email protected]> wrote in message
    > news:UAbAi.390$[email protected]..
    > > Hi,
    > > "Cyrus" <[email protected]> wrote in news:ShbAi.384$vI3.370@prv-
    > > forum2.provo.novell.com:
    > >
    > > > I have a NW65 SP5 SBS server. The perl scripts appear in the browser
    as
    > a
    > > > text file and don't run. It appears as if the perl interperter is not
    > > > running or doesn't see the script.
    > > the NW65 default config only executes scripts located in sys:/perl/web
    > > through mod_perl; see the file:
    > > sys:/apache2/conf/mod_perl.conf
    > >
    > > Gnter.
    > >
    >
    >

  • Can I run perl scripts on a iplanet App Server instead of web server

    Hello,
    We have some perl scripts running on a iWS 6.0 in DMZ (Tier1) which acess Oracle Server(Tier 3). I want to restrict machines on DMZ access Oracle server directly. Instead I want all the database calls to orignate from iPlanet App server on Tier 2. To make this happen I have to run Perl scripts on App server. Is this feasible as the J2EE iPlanet App can run only C++ or Java.. Any leads helps me lot..
    Thanks
    Sudhir Nallagangu

    According to the J2EE specs you should use EJBs and Servlets in the iAS! Running a perl script for db access sounds like good old cgi times.
    But generally it is possible to call a perl script from within iAS. But don't do it!

  • Perl script server error 502

    Upgraded to Windows Server 2008 and Instructor login Perl Script for iTunesU stopped working. It now gives...
    "Server Error 502 - Web server received an invalid response while acting as a gateway or proxy server. There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) contacted the upstream content server, it received an invalid response from the content server."
    Login scripts for Public and Student access still work fine.  Has anyone else ran into this error?

    Hi,
    The forums have been having problems for about a month or so. The 502 error is less frequent than the generic 'Internal Server Error' pages, but they've been noticed as well:
    https://social.technet.microsoft.com/Forums/en-US/098dc7d7-b12a-4a6d-ae74-47e612531e68/internal-server-error-coming-when-accessing-msdn-forum?forum=reportabug
    The best way to report this issue is to send in an email to fissues (at) microsoft [dot] com with a link to the URL you received the error from and when it happened.
    Don't retire TechNet! -
    (Don't give up yet - 13,085+ strong and growing)

  • About shell scripts for large-scale automation of  encoding tasks

    in the user menu of Compressor, it said that we can use the command line to write shell scripts for large-scale automation of encoding tasks.
    I would like to have more information about the shell script for compressor, is that any document link?
    Thanks

    You can use a script function to set-up a more secure environment that you call at the start of every admin script. This could be your main stamp album for stuff that can be moved there.
    A few more stamps to add to the collection (be sure to read up on them before use):
    1) reset the command hash
    hash -r
    2) prevent core dumps
    ulimit -H -c0
    3) set the IFS
    4) clear all aliases  (see unalias -a)
    Also you can remove the ALL from sudo and add explicit commands to the the sudoers file. There's a lot of fine tuning you can do in sudoers - inc. env variables as teekay said.
    But I'm no expert so best to check all of the above.

  • Script for setting priority - PID unknown ???

    Hi,
    On this G4 Mac Classic runs unbearably slow under Mac OS 10.4.5. This is a problem many have (click here for link). Only my kids use Classic and they have their own managed account. Classic auto-launches when they log in.
    What I want to do is have a script run for my kids' account. This script should run after Classic is started and set the priority to -20. I know the terminal command is this: "renice PID -20" The problem is that I do not know how to get the PID for "TrueBlueEnvironme" (the process name for Classic). I cannot seem to get "renice" to work with the process name.
    So, my two questions:
    1) What would the text of a script be which performs the "renice" command on a the process TrueBlueEnvironme when TrueBlueEnvironme has a different PID with each login?
    2) How should I set up this script (auto-launch at login or tell it to pause?) so that it automatically runs after Classic launches?
    Thanks much,
    Mace

    Hi Mace,
       Here's a function that waits five minutes until a single process is found that matches its argument. Thus, if you invoke the function, "psnice TrueBlue", it will renice TrueBlueEnvironment if a single PID is found within five minutes of the function being invoked. By the way, this function minimizes the priority of TrueBlueEnvironment as was suggested in the thread to which you linked. This is different from your question here, which was to maximize the priority of TrueBlueEnvironment.
    function psnice
        INDEX=0
        until [ $INDEX -gt 100 ]; do
            PID=$( ps -axwwo pid,command | awk '/'$1'/{ if ( $0 !~ /grep|awk/ ){ print $1 }}' )
            PID_COUNT=$( echo $PID | wc -w )
            if [ $PID_COUNT -eq 1 ]; then
                renice 20 -p $PID
                break
            elif [ $PID_COUNT -gt 1 ]; then
                echo "Too many processes found."
            fi
            sleep 3
            let INDEX++
        done
    }By the way, don't copy the above code using copy-and-paste because indention is produced with non-breaking spaces. Scripts won't like those. You would have to replace leading spaces with the "regular" kind.
    Gary
    ~~~~
       Always do right. This will gratify some people and astonish
       the rest.
             -- Mark Twain

Maybe you are looking for

  • Debugging tools in SAP Enterprise portal

    Hi All. I need to find the debugging tools which can be used on the enterprise portal.. I had heard about Log watch tool.. How to use this tool? Is it software do i need to deploy that dc or how to move further? What is the best debugging tool for th

  • KB2977320 Update fails with error 0x80070643

    Posted in case this impacts you too. Security Update for SQL Server 2008 R2 Service Pack 2 (KB2977320) repeatedly failed to install today on a 2012.R2 server (SQL Express instance which runs Kaspersky Security Center). Error 0x80070643 is issued.  Mo

  • CUSTOM DOCUMENT over internet file name convention

    Hi , I am sending an OAGIS xml file(CUSTOM DOCUMENT over internet) through interal delivery channel to our supplier, I am getting an below error. I got the same error while processing an EDI transaction, I change the file name, and then it processed

  • APEX_MAIL - how to set the SMTP Domain

    APEX Version: 3.0.0.00.20 I need to be able to set the domain for mail sent from my application. I have used package UTL_SMTP in the past and have set the domain in the call: utl_smtp.helo(conn, smtp_domain); Is it possible to set the domain when usi

  • Create 3d cel animation look after effects

    Im trying to achieve this look for a project I am working on. (Link below), The artist said that they only used after effects for all the cube animations, and was wondering if anybody new a tutorial or guide that would help with best way to acieve th