Go to advanced search

by udara
Thu Oct 02, 2014 4:39 am
Forum: Beginners
Topic: How To Change Access Permission of a File In boot Folder.
Replies: 10
Views: 6973

Re: How To Change Access Permission of a File In boot Folder

Thanks for replies, My idea is as "Joe Schmoe" says anyone can easily access that .conf file in windows and change settings according to them. Conf file is in /boot/configuration.conf and python programme is in /home/pi/App/code.py It seems changing permission of .conf file in boot folder also not p...
by udara
Wed Oct 01, 2014 12:35 pm
Forum: Beginners
Topic: How To Change Access Permission of a File In boot Folder.
Replies: 10
Views: 6973

How To Change Access Permission of a File In boot Folder.

I have a .conf file in 'boot' folder and I want to read it and get data from it, also I want to modify it and save it. Data reading part is working but the problem is my python programme cannot edit .conf file because of permission issue. When I use sudo python code.py it works correctly. I want to ...
by udara
Tue Sep 23, 2014 7:36 am
Forum: Beginners
Topic: How to Start Omxplayer Immediately When Playing UDP Stream
Replies: 0
Views: 695

How to Start Omxplayer Immediately When Playing UDP Stream

When I use following code to play udp stream omxplayer wait until video_queue become 10MB but I want to start omxplayer as soon as possible without waiting to filling video_queue. omxplayer udp://224.1.1.1:1234 But in omxplayer options there is --threshold option and when I use it there is no differ...
by udara
Sat Sep 13, 2014 5:22 am
Forum: Beginners
Topic: Omxplayer Have a Nice Day
Replies: 4
Views: 3710

Re: Omxplayer Have a Nice Day

I tried streaming by using FFMPEG with following codes (windows 7) and still omxplayer exits but cannot say exactly when it exits. And I'm using this omxplayer version pi@raspberrypi ~ $ omxplayer --version omxplayer - Commandline multimedia player for the Raspberry Pi Build date: Tue, 19 Aug 2014 0...
by udara
Sun Sep 07, 2014 11:05 am
Forum: Beginners
Topic: How To Reduce Delay When Changing Omxplayer Resolution
Replies: 3
Views: 856

Re: How To Reduce Delay When Changing Omxplayer Resolution

Yes I checked with local files, compare to udp stream changing resolution of local file is really fast. Is there any other way to do this other than using dbus command.
Thanks.
by udara
Sun Sep 07, 2014 9:32 am
Forum: Beginners
Topic: How To Reduce Delay When Changing Omxplayer Resolution
Replies: 3
Views: 856

How To Reduce Delay When Changing Omxplayer Resolution

I'm using Raspbian on my RPi, first I start a omxplayer instance using following command omxplayer --win '0 0 1920 1080' --dbus_name org.mpris.MediaPlayer2.omxplayer1 udp://224.1.1.1:1234 Then occasionally I need to open another omxplayer instance, before that I need to change "org.mpris.MediaPlayer...
by udara
Mon Aug 25, 2014 11:25 am
Forum: Beginners
Topic: How to Update Date and Time With out Internet
Replies: 34
Views: 9191

Re: How to Update Date and Time With out Internet

Thanks for replies, I tried out different ways setup a NTP server 1. http://nts.softros.com/ this is a great server and raspberry pi automatically update date and time unfortunately it need license. 2.As "ame" suggest http://www.satsignal.eu/ntp/setup.html this is free and work nicely but some times...
by udara
Mon Aug 25, 2014 6:24 am
Forum: Beginners
Topic: How to Update Date and Time With out Internet
Replies: 34
Views: 9191

Re: How to Update Date and Time With out Internet

Thanks for the reply,
I ran those commands (in screen shot) and I think there is version mismatch if I'm right how can i resolve it or is it a different issue?
Thanks.
by udara
Mon Aug 25, 2014 5:06 am
Forum: Beginners
Topic: How to Update Date and Time With out Internet
Replies: 34
Views: 9191

Re: How to Update Date and Time With out Internet

Thanks.
I changed it but it didn't work.
When RPi update its date time? at start up only or any time when internet available?
Thanks.
by udara
Sun Aug 24, 2014 10:19 am
Forum: Beginners
Topic: How to Update Date and Time With out Internet
Replies: 34
Views: 9191

Re: How to Update Date and Time With out Internet

Thanks for the replies, Now I think NTP service is running on my pc, http://windowsforum.com/threads/windows-7-authoritative-time-server.43921/#post-159346 http://javadotnet.in/2013/01/create-your-own-ntp-server-for-lan-with-windows-2008-windows-7/ I checked with following python code import ntplib ...
by udara
Sat Aug 23, 2014 12:27 pm
Forum: Beginners
Topic: How to Update Date and Time With out Internet
Replies: 34
Views: 9191

Re: How to Update Date and Time With out Internet

I enabled NTP server from windows registry and enabled time service from administrative tools - services and then I open TCP and UDP port 123 then I add my pc ip address to ntp.conf but it didn't work. I would really appreciate if someone can give me some points or a different method to do this. Tha...
by udara
Wed Aug 20, 2014 2:29 pm
Forum: Beginners
Topic: How to Update Date and Time With out Internet
Replies: 34
Views: 9191

Re: How to Update Date and Time With out Internet

Thanks for the ideas. I found out few options update raspberry pi date time without internet. 1. Starting NTP server in a PC. http://social.technet.microsoft.com/Forums/windowsserver/en-US/ffb1df0b-7c6e-4b2d-8fdf-b4ca0c014266/configuring-windows-7-as-an-ntp-server?forum=winserverPN 2. Using a RTC mo...
by udara
Wed Aug 20, 2014 1:17 pm
Forum: Beginners
Topic: How to Update Date and Time With out Internet
Replies: 34
Views: 9191

Re: How to Update Date and Time With out Internet

Is it possible to start a NTP server in my PC and then add its IP address in raspberry pi ntp pool.
Thanks.
by udara
Mon Aug 18, 2014 2:18 pm
Forum: Beginners
Topic: Video Processing
Replies: 48
Views: 8253

Re: Video Processing

I'm posting 2 screen shots and I cant figure out the problem please help.
Thanks.
by udara
Mon Aug 18, 2014 2:02 pm
Forum: Beginners
Topic: Video Processing
Replies: 48
Views: 8253

Re: Video Processing

I'm trying to open a UDP video stream from omxplayer but after playing short time it display 'have a nice day' what are the reasons for this is it cause because of buffer size. How can I increase omxplayer buffer size? Using --audio_queue=10 --video_queue=40 is the correct way to do it? https://gith...
by udara
Sun Aug 17, 2014 9:44 am
Forum: Beginners
Topic: How to Update Date and Time With out Internet
Replies: 34
Views: 9191

Re: How to Update Date and Time With out Internet

I'm using Windows 7 on my PC and I'm not an expert on programming but I think I can handle.
by udara
Sun Aug 17, 2014 8:58 am
Forum: Beginners
Topic: How to Update Date and Time With out Internet
Replies: 34
Views: 9191

How to Update Date and Time With out Internet

I have connect my RPi to LAN but there is no internet available so is there any method to update RPi date time by using a PC in LAN. I want to get computer date and time to my RPi when it booting.
Thanks.
by udara
Mon Aug 04, 2014 4:30 pm
Forum: Beginners
Topic: Omxplayer Have a Nice Day
Replies: 4
Views: 3710

Re: Omxplayer Have a Nice Day

Yes UDP,

Code: Select all

omxplayer udp://224.1.1.1:1234
by udara
Mon Aug 04, 2014 3:42 pm
Forum: Beginners
Topic: Omxplayer Have a Nice Day
Replies: 4
Views: 3710

Omxplayer Have a Nice Day

I have a C# code developed to stream a video file encoded to H264 RAW video and stream using UDP protocol when I receive that stream using omxplayer it played about 30s and then stopped and display 'have a nice day'. But I can receive that stream using ffplay and vlc player (in windows) with out any...
by udara
Mon Aug 04, 2014 3:14 pm
Forum: Beginners
Topic: (Solved) Save Files In RPi SD Card
Replies: 4
Views: 4147

Re: Save Files In RPi SD Card

Thanks for the replies.
I checked with linux OS and Raspbian OS took only 2.9 GB in SD card and then I expand the file system using 'sudo raspi-config' then Raspbian OS expand to total available in SD card and I copied 1 GB video file using 'PuTTY' and it successfully copied.
Thanks.
by udara
Sun Aug 03, 2014 5:02 pm
Forum: Beginners
Topic: Video Processing
Replies: 48
Views: 8253

Re: Video Processing

Sorry about the misread, then I think its better to change my code. When I receiving UDP stream using omxplayer if stream unavailable omxplayer automatically closed is there any way to keep omxplayer open until UDP stream available and playing again.
Thanks.
by udara
Sun Aug 03, 2014 1:20 pm
Forum: Beginners
Topic: Video Processing
Replies: 48
Views: 8253

Re: Video Processing

Thanks.
Mainly I need to stop the all players currently playing so I thought sending stop command through dbus and stop them but in your (gkreidl) solution I found out that you are using "killall omxplayers.bin" command so I used that for stop all players and it worked.
Thanks.
by udara
Sun Aug 03, 2014 1:11 pm
Forum: Beginners
Topic: (Solved) Save Files In RPi SD Card
Replies: 4
Views: 4147

(Solved) Save Files In RPi SD Card

In my Raspberry pi I'm using 2014-06-20-wheezy-raspbian image in 16 GB SD card and I want to save some video files around 1 GB in SD card but it allows me to copy about 300MB of data. Is there any way to do this or only option is saving files in a pen drive and plug it to RPi.
Thanks.
by udara
Mon Jul 28, 2014 2:54 pm
Forum: Beginners
Topic: How to Connect MS SQL Server From RPi
Replies: 3
Views: 18222

Re: How to Connect MS SQL Server From RPi

Thanks.
I tried to create the connection by editing these files,
/etc/odbc.ini
/etc/odbcinst.ini
/etc/freetds/freetds.conf
but it didn't work. I think it is better to use MySQL for database because it can configure very easily.
Thanks.
by udara
Mon Jul 28, 2014 2:46 pm
Forum: Beginners
Topic: Video Processing
Replies: 48
Views: 8253

Re: Video Processing

Is there any way to find out dbus names of currently playing omxplayers in RPi. I define dbus name when player is starting but i need to make sure whether they are running or not before sending dbus commands.
Thanks.

Go to advanced search