Video data conversion

GEC: Discuss gaming, computers and electronics and venture into the bizarre world of STGODs.

Moderator: Thanas

Post Reply
User avatar
Rogue 9
Scrapping TIEs since 1997
Posts: 18679
Joined: 2003-11-12 01:10pm
Location: Classified
Contact:

Video data conversion

Post by Rogue 9 »

Okay, I have a slight problem. I own a Canon FS100 camcorder. It's not the greatest camera in the world, but it meets my needs.

My only real problem with it is that for some unknown reason the video files it takes are MPEGs, but have the file extension .mod instead of .mpg. This causes video editing programs to refuse to recognize them as video files; clearly I need to convert the data in some way. Until now I've been using Any Video Converter, and while it works, it won't convert to a resolution equal to the camera's, so I always degrade video quality when I use it. I thought I might be able to get Adobe Premiere to do something with it now that it's at my disposal, but the program refuses to accept .mod files as input, so I can't do anything with it. All I need is some way to directly convert the video files to .mpg, .wmv, or some kind of standard video format; I don't need or want to change resolution or anything else. I know for a fact that they're simply MPEG-II files with a different name, so it can't be that hard. Searches on the subject tell me to simply rename the files, but that isn't working; they still doesn't register as video files to editors (though media players will play them either way). Help? :|
It's Rogue, not Rouge!

HAB | KotL | VRWC/ELC/CDA | TRotR | The Anti-Confederate | Sluggite | Gamer | Blogger | Staff Reporter | Student | Musician
User avatar
Dominus Atheos
Sith Marauder
Posts: 3904
Joined: 2005-09-15 09:41pm
Location: Portland, Oregon

Re: Video data conversion

Post by Dominus Atheos »

I've never heard of that filetype before, can you take a 15 sec video of your goldfish and upload it to rapidshare or someplace? There's almost certainly something that can convert it, but I need a file to test with.
User avatar
Rogue 9
Scrapping TIEs since 1997
Posts: 18679
Joined: 2003-11-12 01:10pm
Location: Classified
Contact:

Re: Video data conversion

Post by Rogue 9 »

Sure. Ever seen the movie Elizabeth? Well here's my Geoffrey Rush impression. :D
It's Rogue, not Rouge!

HAB | KotL | VRWC/ELC/CDA | TRotR | The Anti-Confederate | Sluggite | Gamer | Blogger | Staff Reporter | Student | Musician
User avatar
Beowulf
The Patrician
Posts: 10621
Joined: 2002-07-04 01:18am
Location: 32ULV

Re: Video data conversion

Post by Beowulf »

download ffmpeg and use the following command:
ffmpeg -i myclip.TOD -acodec copy -vcodec copy myclip.mpg
"preemptive killing of cops might not be such a bad idea from a personal saftey[sic] standpoint..." --Keevan Colton
"There's a word for bias you can't see: Yours." -- William Saletan
User avatar
Dominus Atheos
Sith Marauder
Posts: 3904
Joined: 2005-09-15 09:41pm
Location: Portland, Oregon

Re: Video data conversion

Post by Dominus Atheos »

This program was able to convert it successfully to DivX or WMV. Just make sure you select "original resolution", "size: same as source", and "Container: avi or wmv".
User avatar
Rogue 9
Scrapping TIEs since 1997
Posts: 18679
Joined: 2003-11-12 01:10pm
Location: Classified
Contact:

Re: Video data conversion

Post by Rogue 9 »

Dominus Atheos wrote:This program was able to convert it successfully to DivX or WMV. Just make sure you select "original resolution", "size: same as source", and "Container: avi or wmv".
I downloaded everything it said was required and then some, and it's still bitching about missing files.
Beowulf wrote:download ffmpeg and use the following command:
ffmpeg -i myclip.TOD -acodec copy -vcodec copy myclip.mpg
Okay. The command doesn't do anything. As written, Windows cannot find ffmpeg; fair enough, I replaced that line with its location in the file system in the command. Once that's done, the command simply opens the folder it's located in rather than doing anything useful.
It's Rogue, not Rouge!

HAB | KotL | VRWC/ELC/CDA | TRotR | The Anti-Confederate | Sluggite | Gamer | Blogger | Staff Reporter | Student | Musician
User avatar
phongn
Rebel Leader
Posts: 18487
Joined: 2002-07-03 11:11pm

Re: Video data conversion

Post by phongn »

Well, he is expecting you to figure out all the other nitty-gritty, though, are you using the full path, e.g:

Code: Select all

C:\PROGRA~1\FFMPEG\FFMPEG.EXE 


or just

Code: Select all

C:\PROGRA~1\FFMPEG 


(substitute your file layout as needed)
User avatar
Dominus Atheos
Sith Marauder
Posts: 3904
Joined: 2005-09-15 09:41pm
Location: Portland, Oregon

Re: Video data conversion

Post by Dominus Atheos »

Rogue 9 wrote:
Dominus Atheos wrote:This program was able to convert it successfully to DivX or WMV. Just make sure you select "original resolution", "size: same as source", and "Container: avi or wmv".
I downloaded everything it said was required and then some, and it's still bitching about missing files.
Post the log.
User avatar
Rogue 9
Scrapping TIEs since 1997
Posts: 18679
Joined: 2003-11-12 01:10pm
Location: Classified
Contact:

Re: Video data conversion

Post by Rogue 9 »

Dominus Atheos wrote:
Rogue 9 wrote:
Dominus Atheos wrote:This program was able to convert it successfully to DivX or WMV. Just make sure you select "original resolution", "size: same as source", and "Container: avi or wmv".
I downloaded everything it said was required and then some, and it's still bitching about missing files.
Post the log.

Code: Select all

Windows cannot find 'F:\Programs\AviSynth\exe\Matroska\VirtualDubMod\VirtualDubMod.exe' Please make sure you typed the name correctly, and then try again. To search for a file, click the Search button and then click Search.
I know enough to put VirtualDubMod.exe in the folder it wants it to be in; the trouble is that there's no VirtualDubMod.exe anywhere in the files I downloaded for it.
It's Rogue, not Rouge!

HAB | KotL | VRWC/ELC/CDA | TRotR | The Anti-Confederate | Sluggite | Gamer | Blogger | Staff Reporter | Student | Musician
User avatar
Rogue 9
Scrapping TIEs since 1997
Posts: 18679
Joined: 2003-11-12 01:10pm
Location: Classified
Contact:

Re: Video data conversion

Post by Rogue 9 »

Fucking edit time ran out. Anywho:
Dominus Atheos wrote:
Rogue 9 wrote:
Dominus Atheos wrote:This program was able to convert it successfully to DivX or WMV. Just make sure you select "original resolution", "size: same as source", and "Container: avi or wmv".
I downloaded everything it said was required and then some, and it's still bitching about missing files.
Post the log.

Code: Select all

Windows cannot find 'F:\Programs\AviSynth\exe\Matroska\VirtualDubMod\VirtualDubMod.exe' Please make sure you typed the name correctly, and then try again. To search for a file, click the Search button and then click Search.
I know enough to put VirtualDubMod.exe in the folder it wants it to be in; the trouble is that there's no VirtualDubMod.exe anywhere in the files I downloaded for it. After that, it gives me this.

Code: Select all

AutoMKV need that libsndfile-1.dll (used for audio encoding) is copyed [sic] to your system folder ([location of Windows folder]). Allow copy?
Clicking yes has no effect; it will ask me the same question the next time I start it up. I suspect this is due either to libsndfile-1.dll being entirely missing as well (which it is) or the fact that the program freezes immediately after being told yes, and so can't execute the command. Either way, it isn't working.
phongn wrote:Well, he is expecting you to figure out all the other nitty-gritty, though, are you using the full path, e.g:

Code: Select all

C:\PROGRA~1\FFMPEG\FFMPEG.EXE 


or just

Code: Select all

C:\PROGRA~1\FFMPEG 


(substitute your file layout as needed)
I don't even know what file type FFmpeg is; it certainly isn't an EXE, or if it is, Windows doesn't think it is. I know the basics of using a command line, but I need to know what extension to use first. I've been experimenting with file extensions, and nothing's worked so far. It's a C file, and all I know about C is that it's a programming language.
It's Rogue, not Rouge!

HAB | KotL | VRWC/ELC/CDA | TRotR | The Anti-Confederate | Sluggite | Gamer | Blogger | Staff Reporter | Student | Musician
User avatar
phongn
Rebel Leader
Posts: 18487
Joined: 2002-07-03 11:11pm

Re: Video data conversion

Post by phongn »

Ohh, you downloaded the source file, though I'm not sure if any binaries are easily available.
User avatar
phongn
Rebel Leader
Posts: 18487
Joined: 2002-07-03 11:11pm

Re: Video data conversion

Post by phongn »

FFmpeg binaries are available here.
User avatar
Rogue 9
Scrapping TIEs since 1997
Posts: 18679
Joined: 2003-11-12 01:10pm
Location: Classified
Contact:

Re: Video data conversion

Post by Rogue 9 »

*Shrug* I followed the instructions on their page. Thanks.

Edit: Okay, now it appears to be working.
It's Rogue, not Rouge!

HAB | KotL | VRWC/ELC/CDA | TRotR | The Anti-Confederate | Sluggite | Gamer | Blogger | Staff Reporter | Student | Musician
Post Reply