Go to advanced search

by udara
Sun Jul 27, 2014 5:24 am
Forum: Beginners
Topic: How to Connect MS SQL Server From RPi
Replies: 3
Views: 18223

Re: How to Connect MS SQL Server From RPi

I also tried to connect using pymssql it seems like it connect to database but it returns a empty data list "[]"
pymssql 1.0.2 and I cannot update this to 2.0 because it requires "setuptools-0.6c9-py2.7.egg" and I cant find it out, I cant figure out the issue please help.
Thanks
by udara
Sat Jul 26, 2014 6:26 am
Forum: Beginners
Topic: Video Processing
Replies: 48
Views: 8253

Re: Video Processing

Mainly I need set video position, mute, unmute and quit options in omxplayer now these are working fine. I just try to create volume option but I think there is some thing wrong with my code. But now I'm stuck at database connection. http://www.raspberrypi.org/forums/viewtopic.php?f=91&t=82896 If yo...
by udara
Sat Jul 26, 2014 5:27 am
Forum: Beginners
Topic: How to Connect MS SQL Server From RPi
Replies: 3
Views: 18223

How to Connect MS SQL Server From RPi

I have a computer with MS SQL Server database in my net work and I need to connect it and read data and modify data from RPi. I'm using 2014-06-20-wheezy-raspbian in my RPi and already updated. I install pyodbc using sudo apt-get install unixodbc python-pyodbc I'm using following code, import pyodbc...
by udara
Sat Jul 26, 2014 4:39 am
Forum: Beginners
Topic: Video Processing
Replies: 48
Views: 8253

Re: Video Processing

Try adding: mute) dbus-send --print-reply=literal --session --dest=$1 /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Mute >/dev/null ;; unmute) dbus-send --print-reply=literal --session --dest=$1 /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Unmute >/dev/null ;; to the script. Not te...
by udara
Fri Jul 25, 2014 2:12 pm
Forum: Beginners
Topic: Video Processing
Replies: 48
Views: 8253

Re: Video Processing

First of all thank you for giving me your solution. Lets just say I already open a omxplayer after some time I change its resolution and open another player now I want to mute 1 omxplayer until 2 omxplayer finish playing its video. But I think there is no mute in key bindings in omxplayer or dbuscon...
by udara
Fri Jul 25, 2014 1:02 pm
Forum: Beginners
Topic: Video Processing
Replies: 48
Views: 8253

Re: Video Processing

Oh yes... dbuscontrolm.sh not dbuscontrol.sh sorry about that.
by udara
Thu Jul 24, 2014 5:00 pm
Forum: Beginners
Topic: Video Processing
Replies: 48
Views: 8253

Re: Video Processing

Thank you gkreidl
bash dbuscontrol.sh org.mpris.MediaPlayer2.omxplayer1 setvideopos 0 0 1920 880
works fine.
Thanks.
by udara
Thu Jul 24, 2014 4:25 pm
Forum: Beginners
Topic: Video Processing
Replies: 48
Views: 8253

Re: Video Processing

I'm using two different names for --dbus_name command1='omxplayer', '--win', '0 0 1920 880', '-o', 'hdmi', '--dbus_name', 'org.mpris.MediaPlayer2.omxplayer1', '--layer', '5', 'DD.mp4' command2='omxplayer', '--win', '0 880 1920 1080', '-o', 'hdmi', '--dbus_name', 'org.mpris.MediaPlayer2.omxplayer2', ...
by udara
Sun Jul 20, 2014 11:15 am
Forum: Beginners
Topic: Video Processing
Replies: 48
Views: 8253

Re: Video Processing

Finally got it working perfectly...... for two SD videos will let you know how it works with HD videos. EDIT : nicely work for 1080p video and 720p video. command1='omxplayer', '--win', '0 0 1920 880', '-o', 'hdmi', '--dbus_name', 'org.mpris.MediaPlayer2.omxplayer1', '--layer', '5', 'DD.mp4' command...
by udara
Sat Jul 19, 2014 3:16 pm
Forum: Beginners
Topic: Video Processing
Replies: 48
Views: 8253

Re: Video Processing

I go through your code omxplayergui.py and I notice that you have use pargs='lxterminal' ,'-e', 'omxplayer',..... But I have use command1= 'omxplayer'....... what is the use of "lxterminal" and "-e". I used them in my python program and it gives me a error "lxterminal:2068 gtk warning cannot open di...
by udara
Sat Jul 19, 2014 6:45 am
Forum: Beginners
Topic: Video Processing
Replies: 48
Views: 8253

Re: Video Processing

May I ask how you open four omxplayers, using your solution or using four sub processes. Now I feel like there is some wrong with my code but I cannot figure it out. Is it possible to use one omxplayer and one vlc player without using two omxplayers and is it possible to change screen position and t...
by udara
Fri Jul 18, 2014 2:31 pm
Forum: Beginners
Topic: Video Processing
Replies: 48
Views: 8253

Re: Video Processing

Thanks for your solution "gkreidl".
I'm using Raspbian in my Raspberry Pi, If I use OpenELEC or RaspBMC is there any chance to work using my code?
Thanks.
by udara
Thu Jul 17, 2014 10:30 am
Forum: Beginners
Topic: Video Processing
Replies: 48
Views: 8253

Re: Video Processing

Is there any way to do these things with using HTML5, omxplayer and python.

Thanks,
by udara
Thu Jul 17, 2014 10:15 am
Forum: Beginners
Topic: Video Processing
Replies: 48
Views: 8253

Re: Video Processing

How can I get your solution.
Thanks.
by udara
Thu Jul 17, 2014 9:50 am
Forum: Beginners
Topic: Video Processing
Replies: 48
Views: 8253

Re: Video Processing

I set it to 400 by using gpu_mem=400 still not working.
by udara
Thu Jul 17, 2014 8:27 am
Forum: Beginners
Topic: Video Processing
Replies: 48
Views: 8253

Re: Video Processing

command1='omxplayer', '--win', '0 0 1920 880', '-o', 'hdmi', '-d', '--dbus_name', 'org.mpris.MediaPlayer2.omxplayer1', '--layer', '5', 'DD.mp4' command1=['omxplayer', '--win', '0 0 1920 880', '-o', 'hdmi', '-d', '--dbus_name', 'org.mpris.MediaPlayer2.omxplayer1', '--layer', '5', 'DD.mp4'] When i use...
by udara
Thu Jul 17, 2014 6:56 am
Forum: Beginners
Topic: Video Processing
Replies: 48
Views: 8253

Re: Video Processing

I downloaded the latest image (2014-06-20-wheezy-raspbian) and then, sudo apt-get update sudo apt-get upgrade sudo rpi-update completed. Then installed latest omxplayer from http://omxplayer.sconde.net/ sudo apt-get install libpcre3 fonts-freefont-ttf sudo apt-get install fbset sudo wget http://omxp...
by udara
Wed Jul 16, 2014 2:38 pm
Forum: Beginners
Topic: Video Processing
Replies: 48
Views: 8253

Re: Video Processing

Sorry about that and thanks for the help but same error message. I tried in root user also, but same.
I'm using 2013-09-25-wheezy-raspbian image but updated, do I need download latest image.

Thanks.
by udara
Wed Jul 16, 2014 2:02 pm
Forum: Beginners
Topic: Video Processing
Replies: 48
Views: 8253

Re: Video Processing

I entered the following commands wget http://omxplayer.sconde.net/builds/omxplayer_0.3.5~git20140624~0be4eec_armhf.deb dpkg -i omxplayer_0.3.5~git20140624~0be4eec_armhf.deb In second command it gives me error message saying files list file for package `libxext6:armhf contain' contains empty file nam...
by udara
Wed Jul 16, 2014 11:23 am
Forum: Beginners
Topic: Video Processing
Replies: 48
Views: 8253

Re: Video Processing

Thanks for the reply. I used "sudo apt-get install omxplayer" and it says omxplayer is already newest version. build date : sat 22 march 2014 20:58:15 +0000 version : 39e6342 [master] Also I changed the code like this command1='omxplayer --win "0 0 1920 880" -o hdmi -d --dbus_name org.mpris.MediaPla...
by udara
Wed Jul 16, 2014 6:29 am
Forum: Beginners
Topic: Video Processing
Replies: 48
Views: 8253

Re: Video Processing

command1='omxplayer --win "0 0 1920 880" -o hdmi -d --layer 10 DD.mp4' command2='omxplayer --win "0 880 1920 1080" -o hdmi -d --layer 20 CC.mp4' sp.Popen(command1,shell=True) sp.Popen(command2,shell=True) Using above codes I can open two omxplayers like in above picture. But when playing videos they...
by udara
Mon Jul 14, 2014 9:16 am
Forum: Beginners
Topic: Video Processing
Replies: 48
Views: 8253

Re: Video Processing

Thank you.
by udara
Mon Jul 14, 2014 6:12 am
Forum: Beginners
Topic: Video Processing
Replies: 48
Views: 8253

Re: Video Processing

Thank you for your information. Is there any tutorials that I can find more details about this.
by udara
Sat Jul 12, 2014 4:15 am
Forum: Beginners
Topic: Video Processing
Replies: 48
Views: 8253

Re: Video Processing

I'm trying to do is add .jpeg frames or .gif frames to UDP video stream and display through TV.
Is there any way to play two or more files/UDP video streams at same time and display on TV using omxplayer with different resolution.
by udara
Fri Jul 11, 2014 3:47 pm
Forum: Beginners
Topic: Video Processing
Replies: 48
Views: 8253

Video Processing

I'm new with this and I want to do is receive UDP video stream and modify the video and display through TV (HDMI) and I have to do this using python. I'm thinking of using openCV and receive stream and modify the frames and I have no idea about how to rebuild the video without saving the video or is...

Go to advanced search