Reply to topic  [ 6 posts ] 
MOD video files 
Author Message
What's a life?
User avatar

Joined: Thu Apr 23, 2009 8:46 pm
Posts: 10022
Reply with quote
Posted here for max exposure.

We have a 4 year old video camera at work. Panny SDR-S15. Works great at recording but difficulties in playing on computer. It uses an SDHC card so I bought a suitable card reader. The files are MOD format. Tried a codec pack that supported MOD but wouldn't play in WMP11.

A few sites suggest renaming from xxx.MOD to xxx.MPG, which seems to work (albeit compressing widescreen into SD resolution). The camera would be used by medical students and the bosses (and me). Whilst I'm happy to get it working, I need a simple/foolproof method that would mean the medical students could play the video on the computer and then copy it to USB and play at home. This means I can't use codecs.

So is there a way I could use the command line to rename any files from MOD to MPG and copy them to the root folder?

Code:
g:\
cd\sd_video\prg001\mov001.mod mov001.mpg
exit


This would work for one file but could I do a batch conversion of all files eg ren *.mod *.mpg?
Is there a way I could copy the renamed files to a folder in the root directory, without specifying the drive letter (which would vary computer to computer)?

Brain frazzled from work, meeting and no lunch. :(

_________________
Image
He fights for the users.


Wed Sep 12, 2012 2:23 pm
Profile
What's a life?
User avatar

Joined: Thu Apr 23, 2009 7:56 pm
Posts: 12030
Reply with quote
http://www.erightsoft.com/SUPER.html - should do a conversion to .wmv or whatever.
MOD files are a total PITA. I had to fix this issue for someone last term.

_________________
www.alexsmall.co.uk

Charlie Brooker wrote:
Windows works for me. But I'd never recommend it to anybody else, ever.


Wed Sep 12, 2012 4:23 pm
Profile
I haven't seen my friends in so long
User avatar

Joined: Fri Apr 24, 2009 7:55 am
Posts: 7935
Location: Manchester.
Reply with quote
I did try and reply to this earlier, but the stupid internet connection at work crapped out then I had to go and teach...

If Alex's suggestion doesn't work you could always write a small batch file, (as I did in my amazing disappearing post) something along the lines of this...

Code:
g:
cd\sd_video\prg001\
ren *.mod *.mpg
move *.mpg g:\
pause


This assumes that you want to move the files to the root of the g: drive, and I put the pause in there so if there are any problems you can see what they are.

Also, you might want to get someone else to give you a second opinion on whether the script, (which I would save on the desktop as "move_files.bat" without the quotes) will actually work!

_________________
okenobi wrote:
John's hot. No denying it. But he's hardly Karen now, is he ;)

John Vella BSc (Hons), PGCE - Still the official forum prankster and crude remarker :P
Sorry :roll:
I'll behave now.
Promise ;)


Wed Sep 12, 2012 4:39 pm
Profile WWW
What's a life?
User avatar

Joined: Thu Apr 23, 2009 8:46 pm
Posts: 10022
Reply with quote
The problem is the drive letter will change depending on the number of devices attached eg I have two flash drives that I use so the memory card gets called g: but on any other computer it may be called any other letter.

_________________
Image
He fights for the users.


Fri Sep 14, 2012 7:22 am
Profile
I haven't seen my friends in so long
User avatar

Joined: Fri Apr 24, 2009 7:55 am
Posts: 7935
Location: Manchester.
Reply with quote
cloaked_wolf wrote:
The problem is the drive letter will change depending on the number of devices attached eg I have two flash drives that I use so the memory card gets called g: but on any other computer it may be called any other letter.


Are they going to be copying the files to the root of the same drive that they were originally stored in? If so you could potentially put the batch file in the root of the drive and remove the references to the drive letter. You could also have an input in the batch file, to allow you to specify what the drive letter is.

_________________
okenobi wrote:
John's hot. No denying it. But he's hardly Karen now, is he ;)

John Vella BSc (Hons), PGCE - Still the official forum prankster and crude remarker :P
Sorry :roll:
I'll behave now.
Promise ;)


Fri Sep 14, 2012 8:01 am
Profile WWW
What's a life?
User avatar

Joined: Thu Apr 23, 2009 8:46 pm
Posts: 10022
Reply with quote
This is the idea:

Medical student records consultations on camera.
Student removes SD card from camera, plugs it into USB adaptor and into computer
Student opens drive and plays file
Medical student and tutor look at consultation.

The way the camera works:

Records in new MOD format.
Each day of videos is put in a new folder.
The directory is \sd_video\prg001\, \sd_video\prg002\ etc
The flash drive letter will vary according to computer

What I want:

Student records videos, plugs into computer and opens drive.
Student double clicks on bat file - this renames and copies the video to the root directory, which produces mpg versions of the video
Student plays mpg files and watches with tutor.

The other two tutors are non-techie - to the point where they couldn't work a printer and it was because it hadn't been switched on.

_________________
Image
He fights for the users.


Fri Sep 14, 2012 1:03 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 6 posts ] 

Who is online

Users browsing this forum: No registered users and 40 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.