About me

I am a software developer-cum-programming enthusiast. I love coding stuff and solving problems. I’ve been writing application programs since was in 9th standard.

Portfolio :



I love freedom of speech & work. I like listening medium romantic and patriotic songs, they fuel my engine.

Nitin was very knowledgeable and professional. He was able to troubleshoot and find the solutions necessary to get the job done. He always responded in a timely manner and was very gracious and helpful when it came to ensuring I was pleased with the outcome of the project. I would highly recommend him to anyone, he was an absolute pleasure to work with!
Recurly.js Install (Wordpress)Elance

 

Contact Details :

SkYPE  :  nitin.xcoder

  • Ashish Revar

    Hello there,
    I need to open multiple webpages through different IPs and Port Numbers. I have found your post here: http://stackoverflow.com/questions/5211887/how-to-use-curl-via-a-proxy

    Can you please provide me the code to implement such.

    Thanks.

    • http://nitinsurana.com admin

      $proxy=array();$url=array();$ch=array();

      //Fill these arrays with proxy details and urls

      for($i=0;$i $ch[i] = curl_init();
      curl_setopt($ch, CURLOPT_URL,$url);
      curl_setopt($ch, CURLOPT_PROXY, $proxy);
      $curl_scraped_page = curl_exec($ch);
      curl_close($ch);
      $ch[i]=curl_scraped_page ;
      }

      //All pages are now contained $ch array.

      Hope it helps.

  • Nilesh

    Hi All

    I want to add background
    music to my audio file using ffmpeg for windows operating system in php.
    I am unable to find right command for this. For reference u can listen
    song on http://www.pond5.com/stock-music/1548490/pulse-full-track.html website for refernce. Here the site name is audible after every 5 seconds and i want to do something like this.

    For this, i have two audio files : stock.mp3(2 seconds) and
    sun.mp3(3 minutes 24 seconds). I want to add stock.mp3 after every 5
    seconds in sun.mp3 using ffmpeg like http://www.pond5.com/stock-music/1548490/pulse-full-track.html.

    Please give me reference its very urgent for me.
    Thanks in advance

    • Nitin Surana

      Unfortunately, I haven’t tried something like interval recursive merging. But from quick googling it appears -itoffset shall do the job. If that doesn’t, then you have to create various files using SOX to pad necessary blanks and then merge those with the original using -i option