Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Announcements and Chat > General Discussion

Reply
 
Thread Tools Search this Thread Display Modes
Old 7th February 2011, 13:33   #1  |  Link
ValorSolo
Registered User
 
Join Date: Jul 2010
Posts: 25
file formats for my program?

I've written a little program to catalog video files and play them in the selected player with a single click.
As of now, it supports mkv, mpg, mp4, wmv, flv, avi.
What other file formats should I include?
I suppose vob would be an obvious one.
How about iso?
__________________
Microsoft Windows XP
Home Edition
Version 2002
Service Pack 3

AMD Sempron(tm) Processor 3000+
1.79 GHz, 1.87 GB of RAM
ValorSolo is offline   Reply With Quote
Old 7th February 2011, 15:02   #2  |  Link
mariush
Registered User
 
Join Date: Dec 2008
Posts: 590
MOV is ugly but still used... .qt is also found but rarely ...

RM is still relatively popular...

OGV or whatever ogg video/theora is nowadays (used a lot by archive.org and that tv station that airs and offers for downloads recordings from the US congress/senate), webm...

make sure you detect correctly m2v, m1v, ts, m2ts, avc streams made by digital cameras...

Last edited by mariush; 7th February 2011 at 15:05.
mariush is offline   Reply With Quote
Old 7th February 2011, 21:41   #3  |  Link
ValorSolo
Registered User
 
Join Date: Jul 2010
Posts: 25
Thanks for replying.
I've updated my list to include the following.
avi, flv, mkv, mp4, mpg, wmv, vob, swf, rm, rmvb, mov, asf, w4v, m2v, m2t, ts, m2ts, mts, avc, ogm, ogv, qt, avc

Am I still missing any commonly used formats?
__________________
Microsoft Windows XP
Home Edition
Version 2002
Service Pack 3

AMD Sempron(tm) Processor 3000+
1.79 GHz, 1.87 GB of RAM
ValorSolo is offline   Reply With Quote
Old 7th February 2011, 23:15   #4  |  Link
mariush
Registered User
 
Join Date: Dec 2008
Posts: 590
.divx (made by divx programs)
.camrec (recordings made by camtasia screen recorder): http://pcsupport.about.com/od/fileex...camrecfile.htm

I'm sure there's more but I can't think of them..

3gp ...

See a list of containers... not sure if it's comprehensive but nevertheless good inspiration: http://en.wikipedia.org/wiki/Compari...tainer_formats
mariush is offline   Reply With Quote
Old 8th February 2011, 05:34   #5  |  Link
Mug Funky
interlace this!
 
Mug Funky's Avatar
 
Join Date: Jun 2003
Location: i'm in ur transfers, addin noise
Posts: 4,555
ffmpeg.exe -formats
__________________
sucking the life out of your videos since 2004
Mug Funky is offline   Reply With Quote
Old 8th February 2011, 14:00   #6  |  Link
kurkosdr
Registered User
 
Join Date: Aug 2009
Posts: 165
Just take a peek inside Media Info's code (but don't copy it outright, as it's GPLed). All formats known to man are in there.
kurkosdr is offline   Reply With Quote
Old 8th February 2011, 14:49   #7  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,196
Quote:
Originally Posted by kurkosdr View Post
Just take a peek inside Media Info's code (but don't copy it outright, as it's GPLed). All formats known to man are in there.
I can highly recommend to use MediaInfo anyway!

It's much more reliable to let MediaInfo detect the actual file format from the file's content rather than guessing the format from the file's name.

File extensions are neither reliable nor are they unambiguous.

I can rename a Word Document (.doc) file to "foobar.avi", but does that make it a video file? Qt Linguist saves translations as .ts, but are these MPEG-TS files?

Nope, of course not
__________________
There was of course no way of knowing whether you were being watched at any given moment.
How often, or on what system, the Thought Police plugged in on any individual wire was guesswork.



Last edited by LoRd_MuldeR; 8th February 2011 at 14:52.
LoRd_MuldeR is offline   Reply With Quote
Old 9th February 2011, 03:02   #8  |  Link
ValorSolo
Registered User
 
Join Date: Jul 2010
Posts: 25
Thanks for all the replies.
My app is not very useful to most, as I made it for my Dad, who has very limited use of his hands.
Double-clicking is almost impossible for him, so this lets him watch his videos without the need to open directories or double-click files.
Right-clicking and selecting open is not so easy for him, either.

After using the app for myself, I enjoy it's ease of use, too.
This lead me to share it with others.
But I wanted it to play all the most common file types, even though I never use anything but mkv.
I convert my camcorder files, youtube files and DVD backups to mkv.

Anyways, thanks again for all the info.
__________________
Microsoft Windows XP
Home Edition
Version 2002
Service Pack 3

AMD Sempron(tm) Processor 3000+
1.79 GHz, 1.87 GB of RAM
ValorSolo is offline   Reply With Quote
Old 13th February 2011, 03:07   #9  |  Link
XXXheros
Guest
 
Posts: n/a
I think youb should also add RMVB, SWF, and 3GP, I think these video formats are all popular and widely used.
  Reply With Quote
Old 16th February 2011, 09:26   #10  |  Link
Ghitulescu
Registered User
 
Ghitulescu's Avatar
 
Join Date: Mar 2009
Location: Germany
Posts: 5,735
Quote:
Originally Posted by ValorSolo View Post
I've written a little program to catalog video files and play them in the selected player with a single click.
As of now, it supports mkv, mpg, mp4, wmv, flv, avi.
What other file formats should I include?
I'm afraid you have to answer yourself this question. For me there are already 3 formats too many.

It really depends on what formats do you already have or have access to. There are very few formats a consumer have access: DVD+BD, let's forget the VideoCD, SAT recordings and Camcorder recordings (including here Cellphone and photocamera recordings). So, it will be:
- MPG (sources: all DVD, part SAT, part Camcorder, part BD)
- IFO+VOB (DVD)
- AVI (part Camcorder - MiniDV, some photocameras)
- MTS/M2TS/TS (SAT - both SD and HD, sometimes with a different extension like TRP, most BD, part Camcorder)
- MP4 (mostly compact camera and cellphone videos)
- maybe MKV, as it can store both SD and HD with a nice range of features. With a bit of work, you can store all your legally obtained media in MKV containers and provide your father a unitarian interface, without the need to resort to unsafe codec packs. So if you can afford the time, just repack all your media in MKV and provide support for this file format only.

You don't want to include more, unless your software is just a GUI to a CLI player (like mplayer), because of the complexity of the job - see the sources for VLC and mplayer. Should your cellphone/camera film in MOV or RM or 3GP or whatever you might include them as well. Including RMVB, as suggested, is problematic on all non-real-player environments and it's used almost exclusively for anime (animes have this nasty problem of changing fps and interlacing patterns).

All other formats (MKV, AVI, DIVX, XVID) are obtained from the first, sometimes with time-consuming reconversions, and for me cast a shadow of doubt on their obtention.
__________________
Born in the USB (not USA)
Ghitulescu is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump


All times are GMT +1. The time now is 11:47.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.