Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am using melt utility to flatten vidoes. in it there is a plugin called kdenlivetitle. this plugin imposes title text on video but it requires X server. for that i am using xvfb-run but it hangs in-between sometime. I know basic linux and script writing. below is the output of "ps"

    root@ip-10-112-249-15:/home/ubuntu# ps -ef| grep melt
root      5632 32532  0 03:44 ?        00:00:00 sudo /usr/local/scripts/melt_title.sh /usr/local/tomcat/temp/231/composition.mlt EXP_temp.mp4
root      5633  5632  0 03:44 ?        00:00:00 sh /usr/local/scripts/melt_title.sh /usr/local/tomcat/temp/231/composition.mlt EXP_temp.mp4

//melt_title.sh has command which running belove

root      5634  5633  0 03:44 ?        00:00:00 /bin/sh /usr/bin/xvfb-run -a -e /var/log/xvfb.log --server-args=-screen 0 1920x1080x24 melt /usr/local/tomcat/temp/231/composition.mlt -consumer avformat:EXP_temp.mp4 acodec=aac ab=384k ar=48000 vcodec=libx264 g=10
root      5650  5634  0 03:44 ?        00:01:17 melt /usr/local/tomcat/temp/231/composition.mlt -consumer avformat:EXP_temp.mp4 acodec=aac ab=384k ar=48000 vcodec=libx264 g=10

could it be because of this command running simultaniously simultaneously? if it is i can restrict it to one at a time.

if you require any of other log or output please provide me how to get it.

Thanks in advanced.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Used Xdummy instead of xvfb and it worked like a charm Download Xdummy scrip Xdummy script

run it like this

Xdummy :99 -geometry 1920x1080x24

then you can run melt or any gui application headless using

DISPLAY=:99 melt

or

DISPLAY=:99 firefox
share|improve this answer
    
Can you give more detail on how you did this? –  RolandiXor May 16 '13 at 16:31
    
We used Xdummy script instead of xvfb because it was in consistence –  user1629362 May 17 '13 at 5:35
    
I just answered the question in the original reply because I wanted to add links and code. –  user1629362 May 17 '13 at 5:41

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.