You are not logged in.

#1 2008-06-19 02:11:51

CaspianXI
Member
Registered: 2007-05-29
Posts: 59

[solved] Encoding high-quality videos the rest of the world can play

I have some high-resolution videos I want to be able to give to people using windows and mac. They're currently encoded in avi, but my windows and mac friends can't open them. I've tried converting them to flv, h264, and mp4, but the details in my high-quality videos become very fuzzy.

Should I be using different a different file format which will preserve my high resolution? If not, how can I decrease the loss of quality during the conversion?

Thanks!

Last edited by CaspianXI (2008-06-21 11:43:05)

Offline

#2 2008-06-19 03:15:44

Daenyth
Forum Fellow
From: Boston, MA
Registered: 2008-02-24
Posts: 1,244

Re: [solved] Encoding high-quality videos the rest of the world can play

I'm sure several people will yell; avi isn't a codec, but rather a container. Try running "file" on the videos to see what you have. And tell your friends to install some codec packs or use vlc.

Offline

#3 2008-06-19 10:56:07

schivmeister
Developer/TU
From: Singapore
Registered: 2007-05-17
Posts: 971
Website

Re: [solved] Encoding high-quality videos the rest of the world can play

If they're going to be compressed anyway, they're going to lose detail.

Last edited by schivmeister (2008-06-19 10:56:23)


I need real, proper pen and paper for this.

Offline

#4 2008-06-19 15:07:13

CaspianXI
Member
Registered: 2007-05-29
Posts: 59

Re: [solved] Encoding high-quality videos the rest of the world can play

Well, is it possible to convert my avi to another format which mac and windows can read? My friends are pretty computer illiterate, and can't (and don't like to - lol) install software on their machines.

Both mac and windows recognize avi as a movie file, but they can't open them (mac can tell how long my movie is). Is there a difference between the avi mencoder makes and what mac/windows uses? Is it possible to convert to *that* avi format?

Mac and windows have to have some uncompressed file format -- don't they?

Offline

#5 2008-06-19 15:35:27

carlocci
Member
From: Padova - Italy
Registered: 2008-02-12
Posts: 368

Re: [solved] Encoding high-quality videos the rest of the world can play

file highqualityvideoyouhave.avi
highqualityvideoyouhave.avi: RIFF (little-endian) data, AVI, 9999 x 9999, 119.98 fps, video: XviD, audio: MPEG-1 Layer 3 (stereo, 48000 Hz)

have them install the right codecs, or better the combined community codec pack, or worse VLC (windows)
mplayer + codecs (linux and osX)

I don't think you can produce wmv 9 or quicktime video on linux.
You could also try to convert the file to mpeg2, but it's very space consuming

Offline

#6 2008-06-19 15:55:19

pelle.k
Member
From: Åre, Sweden (EU)
Registered: 2006-04-30
Posts: 667

Re: [solved] Encoding high-quality videos the rest of the world can play

Well, if it's SD (standard definition) DV, it'll take up about 215 Megs per minute, and that isn't even RAW, but compressed. So uncompressed video takes up HUGE amounts of space. It's not an ideal format for sharing your video clips.
I'm fairly sure most computers can play mpeg1 video, and PCM audio without any modifications though. mpeg1 loses quite a bit of quality using much compression though.
Mac avis are often encoded using quicktime, which supports quite a bit of exotic codecs so the resulting avi is often not playable on you average windows pc out of the box, while windows avis are often some form of mpeg4 + mp3 audio, which is commonly supported by many media players / encoders.

method 1; xvid (mpeg4 codec) (2 pass is better than 1 pass encoding) + mp3 audio = Small size, good quality. (They would have to run *some* mpeg4 codec pack to play such content though. xvid/divx/3ivx, on a pc, quicktime on a mac.)

method 2; mpeg1 (2 pass is better than 1 pass encoding) + pcm audio = Big size, good quality


"Your beliefs can be like fences that surround you.
You must first see them or you will not even realize that you are not free, simply because you will not see beyond the fences.
They will represent the boundaries of your experience."

SETH / Jane Roberts

Offline

#7 2008-06-19 16:17:25

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: [solved] Encoding high-quality videos the rest of the world can play

I used the msmpeg4v2 codec to encode some high quality video for a windows-only visualization machine at work. The machine is attached to a 20-foot wide super resolution (4200x1080) wall display and the video was clear and crisp. It played without the addition of any new software and once the bitrate was set to proper level, managed quality on par with my uncompressed video.

Offline

#8 2008-06-19 16:25:42

watsonalgas
Member
Registered: 2007-01-15
Posts: 92

Re: [solved] Encoding high-quality videos the rest of the world can play

If they don't want to install anything, have them download the VLC zip package, which they only have to unpack and run, not install.  This is for Windows, you may have to install Mac one, but then again it may just be a binary.  This is much preferred than installing all the crap that something like CCCP (combined community codec pack) would do.

Offline

#9 2008-06-19 19:44:24

pelle.k
Member
From: Åre, Sweden (EU)
Registered: 2006-04-30
Posts: 667

Re: [solved] Encoding high-quality videos the rest of the world can play

speaking of codec packs, there is only one "codec pack" i use in windows, and that is "ffdshow". It isn't really a codec pack per se, but it plays pretty much everything you throw at it. It is essentially the open source "ffmpeg", made for windows distribution. But VLC is very nice as well.


"Your beliefs can be like fences that surround you.
You must first see them or you will not even realize that you are not free, simply because you will not see beyond the fences.
They will represent the boundaries of your experience."

SETH / Jane Roberts

Offline

#10 2008-06-19 20:18:51

carlocci
Member
From: Padova - Italy
Registered: 2008-02-12
Posts: 368

Re: [solved] Encoding high-quality videos the rest of the world can play

watsonalgas wrote:

If they don't want to install anything, have them download the VLC zip package, which they only have to unpack and run, not install.  This is for Windows, you may have to install Mac one, but then again it may just be a binary.  This is much preferred than installing all the crap that something like CCCP (combined community codec pack) would do.

you don't know what you are talking about.
cccp is the latest ffdshow + vobsub for decent subtitle rendering (much much better than vlc)+ a splitter for matroska containers + mediaplayer classic (much better than vlc)

CCCP is very common among the anime community which has been using mkv,h264 and fancy subtitle renders for quite while now.
The linux counterpart is mplayer with libass support.

Offline

#11 2008-06-21 05:07:17

watsonalgas
Member
Registered: 2007-01-15
Posts: 92

Re: [solved] Encoding high-quality videos the rest of the world can play

carlocci wrote:
watsonalgas wrote:

If they don't want to install anything, have them download the VLC zip package, which they only have to unpack and run, not install.  This is for Windows, you may have to install Mac one, but then again it may just be a binary.  This is much preferred than installing all the crap that something like CCCP (combined community codec pack) would do.

you don't know what you are talking about.
cccp is the latest ffdshow + vobsub for decent subtitle rendering (much much better than vlc)+ a splitter for matroska containers + mediaplayer classic (much better than vlc)

CCCP is very common among the anime community which has been using mkv,h264 and fancy subtitle renders for quite while now.
The linux counterpart is mplayer with libass support.

I may not know what I'm talking about, but I know the situation the original poster is talking about and the people he is dealing with.  He specifically said they didn't want to install anything, and a codec pack (for people who may not know much about these things) is going to put stuff on there that they will not know how to handle or uninstall.  Basically, I don't think we are dealing with anime fans or anything of the sort, just a normal computer user that is trying to play one video.

Offline

#12 2008-06-21 11:42:47

CaspianXI
Member
Registered: 2007-05-29
Posts: 59

Re: [solved] Encoding high-quality videos the rest of the world can play

Hi, Thanks everyone for your replies smile. Sorry it took me so long to reply... it took me a while to get access to both Mac and Windows machines to try out some test videos I had encoded.

I was able to use msmpeg4v2 to make some avis which I was able to play on Mac (using quicktime), Windows (using windows media player), and Linux (using mplayer), and the quality is exactly the same as my original avi which I created on Linux.

For reference, I using the following tutorial on how to do 2-pass encoding using mencoder and the msmpeg4v2 codec:
http://personal.cscs.ch/~mvalle/mencoder/mencoder.html

Finally, as a clarification, watsonalgas is right that the people I'm dealing with only use the software which came pre-installed on their computers. So, it's very difficult for me to convince them to install something (or even let me install it for them).

Thanks, everyone for your help big_smile.

Last edited by CaspianXI (2008-06-21 11:45:38)

Offline

#13 2008-06-21 19:55:17

jacko
Member
Registered: 2007-11-23
Posts: 840

Re: [solved] Encoding high-quality videos the rest of the world can play

burn vlc to a cd and pop it in their cdrom, no install, just run vlc into mem and watch a video.

Offline

#14 2008-06-21 20:50:34

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [solved] Encoding high-quality videos the rest of the world can play

CaspianXI wrote:

I was able to use msmpeg4v2 to make some avis which I was able to play on Mac (using quicktime), Windows (using windows media player), and Linux (using mplayer), and the quality is exactly the same as my original avi which I created on Linux.

msmpeg4v2 playing in QuickTime on Mac? Wow! They must have Windows Media Player installed on that machine also.

Offline

#15 2008-06-22 16:48:38

schivmeister
Developer/TU
From: Singapore
Registered: 2007-05-17
Posts: 971
Website

Re: [solved] Encoding high-quality videos the rest of the world can play

Should be added to somewhere in wiki..those multimedia-dedicated pages smile


I need real, proper pen and paper for this.

Offline

Board footer

Powered by FluxBB