Log in

View Full Version : Need help playing H264 material


Pages : [1] 2

hoops10
21st October 2006, 17:12
I play a bunch of .ts files that were encoded with the H264 codec, but I cannot find anything that will play them. I have and installed the CoreAVC Pro pack but still no luck. I have tried Windows Media Player 10, VLC, Theater Tek, ZoomPlayer Pro and PowerDVD. None of them will play it. Please help. Thanks.

bond
21st October 2006, 17:29
did you install the haali media splitter?

hoops10
21st October 2006, 17:42
Yes, the haali media splitter installed along with the Coreavc pro pack.

bond
21st October 2006, 17:53
and you enabled ts support when installing it?

you could also try playing the file in MPC and enabling the internal mpeg splitter

hoops10
22nd October 2006, 02:19
Yes, I enabled that, too. Do I have to somehow tell Theater Tek or one of the other players I listed above to use the CoreAVC codec?

Jay Bee
22nd October 2006, 06:13
Zoom Player has a nice filter management system. Here's an old post of mine at CoreAVC forums that describes how to set up ZP for CoreAVC.
http://www.corecodec.com/index.php?option=com_smf&Itemid=29&expv=0&topic=2894.msg17297#msg17297

Not really up to date for the newer versions of ZP but you should be able to work it out.

hoops10
22nd October 2006, 13:19
Jay Bee, those settings helped out. I can now see the video but the audio is messed up. It's filled with static. What should the settings for audio be? Also, the video is very slow and choppy. I had to add 'MPEG2 Transport' under the 'special purpose source filters.' Could that be causing a stuttering problem? I am running an Athlon XP at 2.0 ghz. Is that enough?

Jay Bee
22nd October 2006, 16:18
Which clips are you trying? BBC's test clips? If so, I think they need something like a 2.6 GHz Dual-Core to play perfectly. A sample of what you're trying to play would help with the sound problem.

hoops10
22nd October 2006, 17:15
I download Media Player Classic to see if that would work, no luck. Only got audio to work ,but it worked correctly. Anyway, I uninstalled CoreAVC and Haali Media Splitter, and reinstalled according to your directions. Now, ZP pro isn't showing the video but the audio is working correctly now.

The material is a high defintion capture of a movie is .ts files that were encoded with the h264 codec. When playing it in Zp pro now, I get perfect audio but no video, just black screen. What should the video renderer be set to? Am I missing something else?

bond
22nd October 2006, 17:20
propably your coreavc doesnt support interlaced

hoops10
22nd October 2006, 17:56
Yeah, but before I uninstalled and reinstalled it, it was playing the video fine but the audio was full of static. Now, it won't play the video but the audio is fine. So the CoreAVC Pro pack that I installed must be able to handle interlaced video if it played it the first time. BTW, the material is 1080i, so it is interlaced.

bond
22nd October 2006, 17:59
Yeah, but before I uninstalled and reinstalled it, it was playing the video fine but the audio was full of static. Now, it won't play the video but the audio is fine. So the CoreAVC Pro pack that I installed must be able to handle interlaced video if it played it the first time. BTW, the material is 1080i, so it is interlaced.use graphedit to check what filters are really used and tell us which ones. you can find it on the doom9 download section

hoops10
22nd October 2006, 19:02
I used Grapedit and Rendered the huge .ts file and what it shows was that it was first going thru the CoreAVC codec and then the FFDSHOW mpeg-4 codec and then finally to the video renderer. That doesn't seem right. I would think it should only have to go thru the CoreAVC codec and then straight thru to the video renderer. Sound right? If so, how do I get ffdshow codec out of there? It doesn't show up in ZP pro settings under the Audio/video decoders -> h264.

Thunderbolt8
22nd October 2006, 20:47
I had a bbc planet earth .ts hdtv test streamfile with ~500mb size for like 30 seconds of film. it could be played with powerdvd 7 deluxe edition. well "play" is maybe a bit too much, i could basically start it with my older p4 3ghz and then it would play for some seconds and then just get stuck due to low cpu performance -.-

foxyshadis
22nd October 2006, 21:29
ffdshow in this case is attaching because you've enabled "raw" video, which is what the video coming out of coreavc is - raw yv12 or yuy2. It may slow it down a bit but it shouldn't hurt, and might help if you want to use its deinterlacers. Anyway, by disabling raw formats you can remove it.

Are you sure that when you reinstalled coreavc, you didn't reinstall 0.4b or 1.0 by accident? Those don't work with interlaced at all, and will return garbage if it doesn't crash. You have to use 1.1.

bond
22nd October 2006, 21:43
remove ffdshow as foxy said

also what parser is used? haali? you can see this on the tray icon showing up or by the right clicking on the first filter in the graph

hoops10
22nd October 2006, 21:53
Where do I disable 'raw' formats at? ffdshow or zp pro?

I am sure that I reinstalled 1.1, its the only ver. i have.

foxyshadis
22nd October 2006, 22:04
The very bottom of ffdshow's codecs page.

hoops10
23rd October 2006, 00:24
Ok, disabled raw formats in ffdshow and now I can see the video. But the audio begins to studder after a few secs and then continues to studder. The video also gets real choppy. What should my audio decoder/settings be? Anyway to fix the choppy video. I am running an Athlon XP at 2ghz with a Radeon 9600pro vid card. Could that be my problem?

bond, yes, I am using the haali because I can see it in the system tray as the movie is playing.

BTW, thank you all for all your patience and help.

Jay Bee
23rd October 2006, 01:03
I am running an Athlon XP at 2ghz with a Radeon 9600pro vid card. Could that be my problem?


Yes, this is very likely. HD AVC eats CPU's for breakfast.

hoops10
23rd October 2006, 02:37
But I can play regular high defintion .ts files (non-encoded) easily with no stutter at all. Doesn't make sense.

foxyshadis
23rd October 2006, 02:50
Are the h.264 ts or mpeg 2? If DGIndex can read them, they're mpeg 2.

arfster
23rd October 2006, 02:58
But I can play regular high defintion .ts files (non-encoded) easily with no stutter at all.

The ending on a file doesn't tell you anything about what's in it, or how difficult it is to play. Files ending in .ts _usually_ contain MPEG2, because of all the American HD captures out there in that format - these are easy to play. However, it's quite possible to have AVC/h264 in there also, which is extremely difficult on hardware at the best of times. The BBC HD clips magnifies this because the bitrate is so huge, and because it uses a particularly challenging form of interlacing.

Basically, to play BBC HD with CoreAVC you need a dual core, perhaps a 3ghz pentiumD , or a 2.2ghz Athlon X2.

hoops10
23rd October 2006, 18:42
The material I am trying to play is a high defintion capture of Star Wars Ep.3. It is of PAL origin and it is h264 encoded. It says that the bitrate is right around 17.50 mbps. Does that help?

foxyshadis
23rd October 2006, 22:02
If you don't have an overclocked dual-core and coreavc (or a 7950 and cyberlink's gpu-decoder), you'll never be able to play that without re-encoding.

hoops10
24th October 2006, 00:46
Great idea, I never thought about re-encoding it. But since it already has been encoded (using the h264 codec obviously), what format can I encode it into without losing any quality (or minimal quality loss)? Is there anything that can be used to keep the 1080i resolution?

nm
24th October 2006, 00:57
You can encode to almost any video format, but I'd recommend XviD or some other MPEG-4 ASP codec. They offer a good balance of encoding efficiency and decoding speed. Bitrate of 10 mbps might be enough, but use more if that is not satisfactory. MPEG-2 is also a good option since most graphics cards can accelerate its decoding. You'll need to increase the bitrate for it though.

hoops10
24th October 2006, 03:08
Which codec should I use that will still let me keep the HD resolution and will run smoothly on my system (Athlon XP @ 2ghz, 1 gb ram, Radeon 9600 pro AGP card)?

Jay Bee
24th October 2006, 04:57
I would say give XviD a try first. Just do a small sample encode and see if your CPU can do it. If not you'll have to do MPEG-2. BTW what's the name of your CPU? There are different kinds of 2 GHz XP's. If it's a Barton I think you might be OK with XviD but I'm not all that optimistic.

hoops10
24th October 2006, 16:25
My CPU is a Barton, its an Athlon XP 2500+. It runs normally at 1.83 Ghz, but I have it slightly overclocked to just over 2Ghz. If I encode to Xvid, can I keep the HD resolution of 1800x1080i?

Jay Bee
24th October 2006, 17:43
My CPU is a Barton, its an Athlon XP 2500+. It runs normally at 1.83 Ghz, but I have it slightly overclocked to just over 2Ghz. If I encode to Xvid, can I keep the HD resolution of 1800x1080i?

MPEG-2 is the only decent codec to keep it interlaced, but since your content is film based, deinterlacing before encoding would be wise anyway. The pixel resolution is really a question of filesize and decoding power. You'll just have to do some test encodes, although I'm not sure what the best software combination is for handling AVC in TS files is. I would try VirtualDubMod together with Avisynth's DirectShowSource.

nm
24th October 2006, 18:02
If it's PAL like he said, the actual movie content is pretty much progressive already (even if it was encoded as interlaced MBAFF or PAFF). No need to deinterlace that unless combing is clearly visible.

hoops10
24th October 2006, 18:30
I am very familiar with encoding dvds using 'The Big 3' method, but I haven't done much Xvid. I would assume it's fairly similiar. Is there anything closely related when encoding to Xvid like 'The Big 3', where a lot of the processes are automated? If not, are there any guides on here I could follow?

Jay Bee
24th October 2006, 18:48
I doubt there are any easy all-in-one programs that can handle that type of file. Maybe Nero Recode? If there is a version without significant bugs, that is.

nm
24th October 2006, 18:59
Try MeGUI or StaxRip, for example. More here: http://forum.doom9.org/forumdisplay.php?f=78

tomos
24th October 2006, 19:02
cant you just use avisynth and directshowsource?

he can then encode in vdub to whatever he likes

that video is deffo not interlaced afaik. same as ep 1 and 2. afaik all sky HD stuff is progressive apart from star wars in 20 mins

Jay Bee
24th October 2006, 21:14
cant you just use avisynth and directshowsource?

he can then encode in vdub to whatever he likes


Just tested, works fine. And is a lot simpler to use than MeGui, especially for quick editing etc.

hoops10
24th October 2006, 22:01
I like the idea of using just avisynth and directshowsource. Problem is, it's been a while since I have manually created a .avs file.

Jay Bee, what did your avs script look like? Did you test encode to xvid?

Jay Bee
24th October 2006, 22:17
I just used the "Open via Avisynth" option in virtualdubmod. I didn't try any encoding but the file seemed to open correctly.

hoops10
24th October 2006, 23:05
Can't find that option at all. Will keep looking.

Edit: Nothing, where is that option at? I am using the latest vdubmod from Doom9's site. I can't find "Open via Avisynth" option anywhere.

Jay Bee
24th October 2006, 23:32
Strange, it really isn't in the newest version. In 1.5.4.1 it's right under "open video file".

foxyshadis
24th October 2006, 23:46
It's on the file select when you open a new file. There's a "use avisynth template" option at the bottom. It was never a part of the vanila virtualdub, just virtualdubmod.

tomos
25th October 2006, 00:58
just found it on mine with the latest vdubmod. never noticed that before :)

always made the avs file myself.

hoops10
25th October 2006, 01:27
Ahh, I found it. So I use the DirectShowSource option, and just do all the encoding in vdubmod? I have dled the Gordon Knot Codec Pack from Doom9 so I have the Xvid codec installed. I choose it under Compression. Any other settings I need to worry about? Remeber, I am trying to get the same video quality as I am starting with, I don't care about file size.

tomos
25th October 2006, 01:48
once you have it showing in vdub then just pretend like you;ve opened an avi or something.

i personally re-encode via megui/x264 so it fits on 1 dvd and will do the same with this capture as well

failing that, encoding the movie with divx/xvid and making it about 8gig should be cool.

hoops10
25th October 2006, 02:27
I did a sample encode of about 6000 frames. Using the xvid codec, a couple of problem arose. Video is still choppy for most of the sample and the audio is out of synch (it is ahead of the video.)

tomos, this capture is already in h264 and my current setup can't play it back smoothly, that is why I am encoding to xvid. What settings do you recommend with xvid to get it play back smoothly and the audio to be in synch?

tomos
25th October 2006, 02:56
my sys can play it back fine as is so the reason i reencode is to fit on 1 dvd-r thats all.

personally, i prefer divx over xvid (personal preference) and would just go with balanced settings (norm)

i also re-encode the audio to AAC as to me it sounds the same but takes up less space to frees up a little more room for the video.

as for the xvid playback, if you are still getting stuttering, then maybe your pc isnt powerful enough?

run the encoded vid in MPC and check task manager for the CPU usage. it thats 100% then its not powerful enough IMO. you may have to encode it to mpeg-2 to be able to view it properly - but that would take up a 'lot' more space

tomos
25th October 2006, 03:05
just checked and found you have a

Athlon XP at 2ghz

i have a 2500+ A XP and some 1080p divx vids play ok, some dont. 720p always plays fine tho. that might be your best bet - downscale it to 720 res

hoops10
25th October 2006, 03:36
Yeah you are running the same cpu as I am. You said that you can playback the video fine as is, in other words, encoded with the h264 codec? If we have the same cpu, then mine should work too. What player are you playing it in? Settings? If I did go the mpeg-2 route, would I still use vdubmod or some other encoder? I tried dropping in into CCE, but it said that the max resolution it would take is only 573 res.

tomos
25th October 2006, 03:53
ah no, the h264 ones are played back on X2s and Core 2 Duos (my fault - forgot that part)

there isnt a prayer of playing those vids on an athlon XP.

the XP has trouble playing some divx/xvids at 1080p res but is fine with all 720p

i pretty much play everything in media player classic

for mpeg-2, the best afaik is CCE. in your case, i would encode to xvid/divx with vdub but downscale to 1280x720.

the quality from that source should still be good and would fit fine on 1dvdr