Home User CP Donate Chat Register Today!  
  Get New posts Faq / Help?
   


Go Back   Hackint0sh > Projects and Hacks > iPhone > General > Tools

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-17-2009, 01:01 AM
tamiya
Status: Offline
Trial Member
 
Join Date: Jul 2009
Posts: 1
Rep Power: 0
tamiya is on a distinguished road
Lightbulb Easiest way to sync cycorder video

Hey hey hey!
I've been looking around to find the easiest way to sync cycorder video (as the title shows) with my Mac and I think i found one (may be somebody else came up with this as well but didn't find it so here it goes):

First, the "official" way to get your recorded video is with SSH which is a pain in that special place. Also a pretty smart improvement was to use a file sharing app to download the videos. Well, with little effort you can have iphoto downloading your precious videos and once they're in you can put them easily like "legit" video in your iphone ipod.

Let's begin from the beginning:

* I strongly suggest you to get firm 3.0
-> Install Cycorder from Cydia
-> Install MobileTerminal from Cydia because we're unix geks.
-> Run mobileterminal and type: cd /private/var/mobile/Media
-> Type: mv Videos Videos.old
-> Type: ln -s "./private/var/mobile/Media/DCIM" ./Videos
-> Try to record some fancy video with cycorder, connect your iphone via usb to the mac and open iphoto.

It works? Happy? Now the explanation: Usually the 3G$ stores the video in this very folder "DCIM" like every camera plus dog. The iphoto and may be other windows applications just download every media inside that folder. The trick is to just put away the cycorder videos folder and create an alias or link to the DCIM folder named Videos.

Creators of Cycorder: Why not store the videos in the DCIM? Will be a 5 minutes job and a major update.

So far it's working but if my mobile explodes will be posted here.

Last edited by tamiya; 07-17-2009 at 01:04 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 10-20-2009, 02:52 AM
fred41
Status: Offline
Trial Member
 
Join Date: Oct 2009
Posts: 1
Rep Power: 0
fred41 is on a distinguished road
Default make cycorder crash

hi
nice try, cool if it work for you, but make me crash cycorder...
unless I deleted video shortcut trough ssh, it work again
have a idea?
thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 11-10-2009, 06:18 AM
c_cool_la_vie
Status: Offline
Junior Member
 
Join Date: Nov 2009
Posts: 4
Rep Power: 0
c_cool_la_vie is on a distinguished road
Default Found it !

Hi,

Thank you for your tip.

I'm a windows-noob but I have a few knowledge in Unix and Mac systems.

I think it's a matter of rights !!

I Know that r/w rights are OK for the original photo Folder

Well, in order to create "the same rights folder", I used SSH (WinSCP for Windows) to rename DCIM/100APPLE folder :
/private/var/mobile/Media/DCIM/100APPLE
to this folder :
/private/var/mobile/Media/DCIM/Videos
I then created the link, and it works. Took a photo, and 100APPLE is back !

So finally, here is how to have cycorder videos recorded in the public DCIM photos folder (works for 3.1.2) :

-> Install Cycorder from Cydia
---> EITHER : Install MobileTerminal from Cydia because we're unix geks.
-> AND run mobileterminal,
---> OR use SSH and WinSCP from windows as you like.

-> Type folowing commands :
cd /private/var/mobile/Media/
mv ./DCIM/100APPLE ./DCIM/Videos

// -> STOP ! Simply go to iPhone, and take a photo !! This will put another 100APPLE folder with good rights. Go back to terminal, or if SSH link still online, keep typing :

ls ./DCIM

// -> Check you have 2 folders : "100APPLE" and "Videos" at least.

mv ./DCIM/Videos/*.JPG ./DCIM/100APPLE/
mv ./Videos/*.* .DCIM/Videos/
rmdir ./Videos
ln -s ./DCIM/Videos ./Videos

// That just did : replace photos in original folder, replace videos in new vid folder, delete videos folder, and create alias to new location.
// -> Try to record some fancy video with cycorder, connect your iphone via usb to the mac and open iphoto.

There MUST be a simpler way to manage rights in this folder... But this one works well.

Bye bye

c_cool_la_vie

Last edited by c_cool_la_vie; 11-10-2009 at 06:45 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Remove advertisements
Advertisement
Advertisement Sponsored links

  #4 (permalink)  
Old 11-12-2009, 09:17 PM
telnetdoogie
Status: Offline
Trial Member
 
Join Date: Nov 2009
Posts: 2
Rep Power: 0
telnetdoogie is on a distinguished road
Default

chown mobile {foldername} is what you're looking for.

so if you're logged in as root,

mkdir /var/mobile/Media/DCIM/Videos

chown mobile /var/mobile/Media/DCIM/Videos

if the folder still shows in the 'wheel' or 'root' group, then you can also do

chgrp mobile /var/mobile/Media/DCIM/Videos


funny I found this thread, this was exactly what I was doing this morning too. Makes it very easy to 'sync' or download the videos from Cycorder this way. One thing I noticed though is that if your iphone is connected to your machine (at least in my case (Vista)) - If you make a new video using cycorder, it won't show in the Videos folder on the connected computer until you disconnect and reconnect the phone (it looks like the file list is retrieved upon connection and new videos don't show up until you reconnect again)

Good stuff...

Here's another nice thing... if you copy those videos using SSH to the 100APPLE folder and rename them to, say, IMG_0365.MOV (or whatever your 'next number' is) then you can now view and trim the videos in the iPhone's photo app a' la' 3GS. Nice!

...I haven't tried taking a photo after that though since the 'last number' used is stored in a plist file in a hidden folder under the DCIM folder.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 11-12-2009, 09:20 PM
telnetdoogie
Status: Offline
Trial Member
 
Join Date: Nov 2009
Posts: 2
Rep Power: 0
telnetdoogie is on a distinguished road
Default

...FYI, the command:

chown username:groupname

is supposed to take care of owner AND group at the same time but this isn't working for me on my iPhone... may not be implemented properly?

so:

chown mobile:mobile /var/mobile/Media/DCIM/Videos

should change the ownership appropriately.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 11-17-2009, 11:57 PM
c_cool_la_vie
Status: Offline
Junior Member
 
Join Date: Nov 2009
Posts: 4
Rep Power: 0
c_cool_la_vie is on a distinguished road
Default Synthesis

So here is the synthesis of all, to have Cycorder videos appear on the computer when you connect the iPhone (Just tested with iPhone 2G & 3G)

Thank you telnetdoogie and tamiya for contributions.

Connect to you iPhone via SSH (do whichever way) as "root".
Cycorder supposed to be already installed.

cd /private/var/mobile/Media/
mkdir ./DCIM/Videos
mv ./Videos/*.* .DCIM/Videos/
rmdir ./Videos
ln -s ./DCIM/Videos ./Videos
chown mobile:mobile ./DCIM/Videos

Ok, now you can make a video, and then connect iPhone to PC. Note : the folder is "updated" by the PC every connection. Recording while connected won't show the new video at first.

Bye bye

c_cool_la_vie
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Remove advertisements
Advertisement
Advertisement Sponsored links

  #7 (permalink)  
Old 11-18-2009, 07:44 PM
c_cool_la_vie
Status: Offline
Junior Member
 
Join Date: Nov 2009
Posts: 4
Rep Power: 0
c_cool_la_vie is on a distinguished road
Default

Now you can send videos and publish on youtube, if you know the iSpazio plist change, see here :
http://www.ihackintosh.com/2009/06/h...ne-2g3g-os-30/

but it implies to switch the old and the new plist file :
The first lets you view and send videos from photoapp, but take no photos !
The original file lets you take photos as usual.

The swap must be done manually. So you might find it useful to have your cycorder videos sent to the photos folder 100APPLE (It becomes "101APPLE" after 1000 pics) :
To do so, simply type this to ssh :

cd /private/var/mobile/Media/
mv ./Videos/*.* .DCIM/100APPLE/
rmdir ./Videos
ln -s ./DCIM/100APPLE ./Videos

Then, I suggest that you have "terminal" installed...

I managed to write a few scripts to be able to see the cycorder and videorecorder videos in the normal photo application. I even found a way to edit and send those videos.

See further details here, where I just posted :
http://www.ihackintosh.com/2009/06/h...#comment-10810

Have fun and enjoy,

c_cool_la_vie
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8 (permalink)  
Old 11-18-2009, 07:45 PM
c_cool_la_vie
Status: Offline
Junior Member
 
Join Date: Nov 2009
Posts: 4
Rep Power: 0
c_cool_la_vie is on a distinguished road
Default

Now you can send videos and publish on youtube, if you know the iSpazio plist change, see here :
How to Activate Video Camera in iPhone 2G/3G OS 3.0 | iPhone

but it implies to switch the old and the new plist file :
The first lets you view and send videos from photoapp, but take no photos !
The original file lets you take photos as usual.

The swap must be done manually. So you might find it useful to have your cycorder videos sent to the photos folder 100APPLE (It becomes "101APPLE" after 1000 pics) :
To do so, simply type this to ssh :

cd /private/var/mobile/Media/
mv ./Videos/*.* .DCIM/100APPLE/
rmdir ./Videos
ln -s ./DCIM/100APPLE ./Videos

Then, I suggest that you have "terminal" installed...

I managed to write a few scripts to be able to see the cycorder and videorecorder videos in the normal photo application. I even found a way to edit and send those videos.

See further details here, where I just posted :
How to Activate Video Camera in iPhone 2G/3G OS 3.0 | iPhone

Have fun and enjoy,

c_cool_la_vie
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

Tags
video tutorials

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Upgrade 1.1.4 to 2.0.1] Help to upgrade needed c_rafa Winpwn 7 08-28-2008 03:54 AM



All times are GMT +2. The time now is 06:04 AM.



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2 Ad Management by RedTyger
follow us on Twitter!

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105