Pixel format selection

Bug report and feature request
wallaguest1
Amateur
Amateur
Posts: 64
Joined: Mon Apr 02, 2007 8:29 am

Pixel format selection

Post by wallaguest1 » Wed Apr 25, 2007 9:34 am

i got a portable media player that play's asf (M4S2 codec) and when i encode videos using M4S2 as fourcc, the outputed video can't be played in the pmp, bcos pixel format is YV12 by default, and i don't find the option to select RGB24 (RGB24 is what i need so file can be played)

so that's why i request that feauture,

thnks very much.

(will it be added?)

B!ink
Expert
Expert
Posts: 1275
Joined: Sun Nov 26, 2006 9:08 am

Post by B!ink » Wed Apr 25, 2007 11:21 am

I found this setting in MediaCoder when I was changing something.

File Menu --> Settings

MediaCoder Preference Window
Overall --> Decoding Options --> Override color space (ffourcc)

Put in RGB24 in the box below, click apply.

Not sure if this going to make any difference when outputting the format. This setting is meant to change the input files color space.

wallaguest1
Amateur
Amateur
Posts: 64
Joined: Mon Apr 02, 2007 8:29 am

Post by wallaguest1 » Wed Apr 25, 2007 12:25 pm

thnks for help;


it just allow 4 digits


i type RGB24 i click aply and so on... then i close browser tab, i click on setting and i go to

Overall --> Decoding Options --> Override color space (ffourcc)

then i see "RGB2"

an error? :-s
Last edited by wallaguest1 on Wed Apr 25, 2007 1:21 pm, edited 2 times in total.

stanley
Site Admin
Site Admin
Posts: 4135
Joined: Mon May 15, 2006 7:43 pm
Location: Sydney

Post by stanley » Wed Apr 25, 2007 1:12 pm

The YV12 is the (most common) pixel format that used feed encoders. It has nothing to do with the fourcc of output file.
When things work together, things work.

wallaguest1
Amateur
Amateur
Posts: 64
Joined: Mon Apr 02, 2007 8:29 am

Post by wallaguest1 » Wed Apr 25, 2007 1:22 pm

so maybe thats not the problem:


mmmmmm


man can you see any codec differences between this two videos?


just about video codec, sound hz and bitrate is different but it's not important that.
the problem is video codec :-s
i can't understand why one can be played and the other one no :-s
the one encoded with mediacoder can't be played :s


as kmplayer show, both are M4S2 (what i need) :-s

(1.9 mb)
http://d01.fileflyer.com/d/71dfca67-702 ... itorio.rar

User avatar
Placio74
Advanced
Advanced
Posts: 455
Joined: Sun Sep 17, 2006 11:02 pm
Location: Poland
Contact:

Post by Placio74 » Wed Apr 25, 2007 5:03 pm

I'm look at - encoded with the provided software in cd.asf.

M4S2 / ISO MPEG-4 V1
Image

Check in MediaInfo - FFmpeg MPEG-4 / Microsoft MPEG-4 (hacked MS MPEG-4)

GSpot - M4S2 / Compliant MPEG-4 v2 Simple Profile

Re-mux to AVI and check in GSpot - see (Container):
Note: MPEG info in AVI stream header.
I'm produce similiar file in WME, but FourCC=MP4S (ISO MPEG-4 V1 and MPEG info in AVI stream header).

B!ink
Expert
Expert
Posts: 1275
Joined: Sun Nov 26, 2006 9:08 am

Post by B!ink » Thu Apr 26, 2007 12:43 am

Here's are the FourCC codes of Microsoft MPEG-4 video codecs when I was doing some research. Not sure the time line when each video codec was released.

Microsoft MPEG-4 video codecs (non-compliant MPEG-4 specs)

Microsoft MPEG-4 version 1 has a FourCC of MPG4. This was consider (at least I think) an early draft of MPEG-4 specs from what I read online.

Microsoft MPEG-4 version 2 has a FourCC of MP42.

Microsoft MPEG-4 version 3 has a FourCC of MP43.

Microsoft ISO MPEG-4 video codecs (MPEG-4 compliant specs)

Microsoft MPEG-4 version 1 has a FourCC of MP4S.

Microsoft MPEG-4 version 1.1 has a FourCC of M4S2. This is MPEG-4 v2 Simple Profile video codec.

OTHER

DivX 3 ;-), was a hacked version of Microsoft MPEG-4 version 3 (non-compliant version) video codec to remove the ASF container restriction so you can put it in other containers like AVI (basically re-enabling AVI encoding). Two profiles of Divx 3 ;-) existed, Fast-Motion and Low-Motion with two different FourCC.

The only reason I had you change the FourCC in MPEG4 fomat in another topic wallaguest1 was to trick your PMP into thinking it was another video codec.

wallaguest1
Amateur
Amateur
Posts: 64
Joined: Mon Apr 02, 2007 8:29 am

Post by wallaguest1 » Thu Apr 26, 2007 6:49 am

thnks for help to all but i don't understand why a file can be played and the other one can't of both are M4S2, means MediaCoder encode file badly? or maybe i kmplayer is giving a bad info?

i don't understand what else show i click or select so the file generated by mediacoder got same propieties than the encoded with provided software.

something must be wrong, bcos one file can be played in Windows Media Player, and the other one (encoded with mediaencoder) can't be played, so that's a sign that means file is not exactly equal right ? :-s

B!ink
Expert
Expert
Posts: 1275
Joined: Sun Nov 26, 2006 9:08 am

Post by B!ink » Thu Apr 26, 2007 12:58 pm

Maybe MEncoder or FFMPEG backend is buggy. Don't know. I've tried ever combination I can think of.

or

Maybe IMA Adaptive PCM audio portion of the code is buggy.

stanley
Site Admin
Site Admin
Posts: 4135
Joined: Mon May 15, 2006 7:43 pm
Location: Sydney

Post by stanley » Thu Apr 26, 2007 2:19 pm

Same format can have different profile (different vbv, vcv, vmv, max bitrate options ... lots of different characteristics).
When things work together, things work.

Post Reply