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 > Video Encoding > MPEG-4 AVC / H.264

Reply
 
Thread Tools Search this Thread Display Modes
Old 9th August 2008, 21:43   #1  |  Link
nuaris
Registered User
 
Join Date: Mar 2008
Posts: 11
Playing raw .h264 files

How can I play raw .h264 files in MPC/zplayer? I have the latest version of ffdshow installed.

Thanks.
nuaris is offline   Reply With Quote
Old 9th August 2008, 22:22   #2  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
You'd need a suitable source-filter for DirectShow -- ffdshow is only a decoder!

BTW: MPlayer can play raw h.264 streams by default...
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 11th August 2008, 09:08   #3  |  Link
nuaris
Registered User
 
Join Date: Mar 2008
Posts: 11
VLC can play .h264 too. Where can I get a directshow filter for h264?
nuaris is offline   Reply With Quote
Old 11th August 2008, 20:27   #4  |  Link
crypto
@DVBPortal
 
crypto's Avatar
 
Join Date: Feb 2004
Posts: 434
Sonic HD Demuxer 4.2 can do raw H.264.
crypto is offline   Reply With Quote
Old 11th August 2008, 20:35   #5  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Why not simply use MKVToolnix to mux the raw H.264 stream into MKV and then use Haali Media Splitter or even MPC's internal Matroska splitter?
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 11th August 2008, 21:37   #6  |  Link
Adub
Fighting spam with a fish
 
Adub's Avatar
 
Join Date: Sep 2005
Posts: 2,699
Exactly. You shouldn't need to view the stream in just raw form. If MKV is not your thing, then try MP4. If you desire an easy to use GUI, I recommend YAMB.
__________________
FAQs:Bond's AVC/H.264 FAQ
Site:Adubvideo
Adub is offline   Reply With Quote
Old 12th August 2008, 03:17   #7  |  Link
nuaris
Registered User
 
Join Date: Mar 2008
Posts: 11
Quote:
Originally Posted by crypto View Post
Sonic HD Demuxer 4.2 can do raw H.264.
I can't find any info about "Sonic HD demuxer". The closest I can find is Sonic Cineplayer DVD decoder 4.2/4.3, but that didn't work, the video looks corrupted(messed up colours, very blocky).

The reason I'm looking for a directshow filter is so that other applications can read them. I will mux it into mkv for the time being. Is there a h264 directshow filter alternative besides the Sonic Cineplayer one?

Thanks.
nuaris is offline   Reply With Quote
Old 12th August 2008, 03:51   #8  |  Link
Ranguvar
Registered User
 
Ranguvar's Avatar
 
Join Date: Feb 2007
Location: ::1
Posts: 1,236
The demuxer filter is probably included with Cineplayer. You could make a filter graph with GraphStudio or GraphEdit
Ranguvar is offline   Reply With Quote
Old 12th August 2008, 09:57   #9  |  Link
nuaris
Registered User
 
Join Date: Mar 2008
Posts: 11
The default graph does not work:

h264 File -> Sonic HD Demuxer -> Sonic Cinemaster? Video Decoder 4.2 -> Avi Compressor -> Video Renderer

After a bit of trial and error, the following graph works:

h264 File -> Sonic HD Demuxer -> Nero Video Decoder -> Video Renderer

Is it possible to force the above graph to be the default behavior when dealing with .h264 files?

Last edited by nuaris; 12th August 2008 at 10:15.
nuaris is offline   Reply With Quote
Old 12th August 2008, 16:45   #10  |  Link
Ranguvar
Registered User
 
Ranguvar's Avatar
 
Join Date: Feb 2007
Location: ::1
Posts: 1,236
Not sure for global changing... in a roundabout way, you can do it solely in MPC.

But I would just advise h264 File -> Sonic HD Demuxer -> ffdshow video decoder -> Video Renderer
Ranguvar is offline   Reply With Quote
Old 12th August 2008, 20:54   #11  |  Link
Blue_MiSfit
Derek Prestegard IRL
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,989
Quote:
Originally Posted by Merlin7777 View Post
Exactly. You shouldn't need to view the stream in just raw form. If MKV is not your thing, then try MP4. If you desire an easy to use GUI, I recommend YAMB.
But, sometimes you do At least, sometimes you don't want to wait for MKVToolnix to mux a 10GB file...

~MiSfit
__________________
These are all my personal statements, not those of my employer :)
Blue_MiSfit is offline   Reply With Quote
Old 12th August 2008, 22:11   #12  |  Link
STaRGaZeR
4:2:0 hater
 
Join Date: Apr 2008
Posts: 1,302
Quote:
Originally Posted by Blue_MiSfit View Post
But, sometimes you do At least, sometimes you don't want to wait for MKVToolnix to mux a 10GB file...

~MiSfit
10GB only? Try MKVMerge with 25+GB files
__________________
Specs, GTX970 - PLS 1440p@96Hz
Quote:
Originally Posted by Manao View Post
That way, you have xxxx[p|i]yyy, where xxxx is the vertical resolution, yyy is the temporal resolution, and 'i' says the image has been irremediably destroyed.
STaRGaZeR is offline   Reply With Quote
Old 13th August 2008, 07:59   #13  |  Link
nuaris
Registered User
 
Join Date: Mar 2008
Posts: 11
The video looks corrupted when using 'ffdshow video decoder'. I found that unregistering the filters will force another h264 decoder filter to take it's place.

After unregistering 'ffdshow video decoder', 'AVS H264 decoder' will take it's place, unregister 'AVS H264 decoder' and 'Sonic Cinemaster Video Decoder' will take it's place. That temporarily fixes the problem, but other media that rely on the unregistered filters will cause problems if an alternative cannot be found. How can I make a certain filter rank higher so that it would be the default when handling certain files?
nuaris is offline   Reply With Quote
Old 13th August 2008, 08:08   #14  |  Link
Snowknight26
Registered User
 
Join Date: Aug 2007
Posts: 1,430
http://forum.doom9.org/showthread.php?t=140217
Just adjust the steps for your prefered decoder.
Snowknight26 is offline   Reply With Quote
Old 13th August 2008, 08:21   #15  |  Link
nuaris
Registered User
 
Join Date: Mar 2008
Posts: 11
Quote:
Originally Posted by Snowknight26 View Post
http://forum.doom9.org/showthread.php?t=140217
Just adjust the steps for your prefered decoder.
I just found this a few minutes ago:
http://www.free-codecs.com/download/...er_Manager.htm

But the one you posted looks better.

Thanks for all the help.
nuaris is offline   Reply With Quote
Old 15th August 2008, 04:46   #16  |  Link
foxyshadis
Angel of Night
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,559
You can also turn h.264 decoding off in ffdshow's configuration, the same as unregistering but only for that format.
foxyshadis is offline   Reply With Quote
Old 15th August 2008, 09:05   #17  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,227
Quote:
Originally Posted by nuaris View Post
I just found this a few minutes ago:
http://www.free-codecs.com/download/...er_Manager.htm

But the one you posted looks better.
indeed.... That filter pack is three years old
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital 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 06:32.


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