Announcement: Our new CyberLink Feedback Forum has arrived! Please transfer to our new forum to provide your feedback or to start a new discussion. The content on this CyberLink Community forum is now read only, but will continue to be available as a user resource. Thanks!
CyberLink Community Forum
where the experts meet
| Advanced Search >
Codec spelled backwards is "Aaargh!" (Resolved)
jerrys
Senior Contributor Location: New Britain, CT, USA (between New York and Boston) Joined: Feb 10, 2010 21:36 Messages: 1038 Offline
[Post New]
Does anyone know of a description about how codecs interact with each other and with programs? I don't need to know the ins and outs of individual codecs, I'm interested in what happens when you install two codecs for the same encoding.

Thanks.

This message was edited 1 time. Last update was at Jun 30. 2012 16:33

Jerry Schwartz
Dafydd B [Avatar]
Senior Contributor Joined: Aug 26, 2006 08:20 Messages: 11973 Offline
[Post New]
Hi Jerry,
RE: I'm interested in what happens when you install two codecs for the same encoding. Can you throw some light on what you're referring to please? Dual pass or audio and video codecs etc.

Dafydd
babindia
Senior Contributor Location: India Joined: Aug 16, 2007 06:11 Messages: 884 Offline
[Post New]
Dafydd
He is referring to codecs from two different sources residing side by side and which one PD uses in particular codec and why ?

This message was edited 1 time. Last update was at Jun 29. 2012 08:51

PC specs :
OS Windows 10.0 Pro
MB - AS rock Z77 extreme 11
Intel 3770K @ 4.0 Ghz OC
Gskill 32 GB RAM 1800 Mhz
6 TB HDD, SSD bootable
nVidia ASUS GTX 660 Ti
BenQ 22" LCD monitor 1920x1080

Dafydd B [Avatar]
Senior Contributor Joined: Aug 26, 2006 08:20 Messages: 11973 Offline
[Post New]
Quote: Dafydd
He is referring to codecs from two different sources residing side by side and which one PD uses in particular codec and why ?

I see no reference to that in the post by Jerry.
Dafydd
stevek
Senior Contributor Location: Houston, Texas USA Joined: Jan 25, 2011 12:18 Messages: 4663 Offline
[Post New]
First a Warning from Microsoft:

"Warning

Use caution when installing codecs that you find on the Internet, particularly some of the free codec packs that claim to include codecs from a wide variety of companies or organizations. Incompatibilities are known to exist with some of the components in these codec packs that can cause serious playback issues in the Player and other players, lead to system corruption, and make it difficult for Microsoft Support to diagnose and troubleshoot playback issues. For these reasons, we strongly discourage you from installing these codec packs, and recommend that you remove them if you have installed them and you are having problems with the Player. Install only codecs, filters, or plug-ins from trusted, authorized sources, such as the website of the official supplier. Even then, use caution: some codec suppliers offer minimal customer support. Before installing any digital media components, set a system restore point. The restore point enables you to return to your original system configuration, if necessary."

Now some non-empirical comments

It depends on the program. Sometimes the new duplicate codec will go to the top of the list when the program looks to see what codec should be used for the file. If that duplicate is different in content or even in version, it could cause the program to malfunction. If the codec is the same as what the program expects, there is no issue.

That is why it is important to use only trusted sources for codecs and, if you can, download only the codec you need.

Does that answer your question? Are you concerned about PD using the wrong codec?



.
.
BoilerPlate: To posters who ask for help -- it is nice to thank the volunteers who try to answer your questions !
Anything I post unless stated with a reference is my personal opinion.
jerrys
Senior Contributor Location: New Britain, CT, USA (between New York and Boston) Joined: Feb 10, 2010 21:36 Messages: 1038 Offline
[Post New]
[Sorry -- I should have included some diagnostic files.]

My question is more general than just PD. It seems like whenever people have trouble with a particular format (WMV, MPEG-4, etc.) someone will recommend installing this or that codec pack. At this point I've lost track of how many codec packs I've installed, although I know that some of the packs do overlap; but it always seems that there's something that doesn't work.

What sent me down this path is that when I use PD to capture from my composite -> digital adaptor (dubbing from a VCR), the audio is significantly behind the video.

When I tried using the dumb-as-a-box-of-rocks software that came with the adaptor, the synchronization problem disappeared; but it will only work right if I capture to AVI, WMV, and MPEG-4. Although this software has options for half a dozen other formats, each with various resolution and bit rate options, it will not put the audio into the resulting file. The video is fine.

The program does "get" the audio stream, because I can monitor it while recording; but when I open the saved file it is gone. None of the players I've tried, including PD, find any audio stream; or, perhaps, the audio stream is there but empty.

I called the manufacturer about this problem, and their suggestion was guess what? Install the K-Lite codec pack. That didn't accomplish anything. Both of my problems persist, so I have no solution.

That's why I want to understand how programs cope with this grab-bag of codecs.
 Filename
64_Jerry_Schwartz_DxDiag.txt
[Disk]
 Description
 Filesize
35 Kbytes
 Downloaded:
488 time(s)
 Filename
klcp_codec_log.txt
[Disk]
 Description
 Filesize
79 Kbytes
 Downloaded:
937 time(s)
 Filename
Jerry_Schwartz_DxDiag.txt
[Disk]
 Description
 Filesize
42 Kbytes
 Downloaded:
497 time(s)

This message was edited 1 time. Last update was at Jun 29. 2012 12:39

Jerry Schwartz
jerrys
Senior Contributor Location: New Britain, CT, USA (between New York and Boston) Joined: Feb 10, 2010 21:36 Messages: 1038 Offline
[Post New]
Quote: Hi Jerry,
RE: I'm interested in what happens when you install two codecs for the same encoding. Can you throw some light on what you're referring to please? Dual pass or audio and video codecs etc.

Dafydd

If I knew what I was referring to, I wouldn't have asked the question. Jerry Schwartz
stevek
Senior Contributor Location: Houston, Texas USA Joined: Jan 25, 2011 12:18 Messages: 4663 Offline
[Post New]
Have you tried using either or both VLC player and/or GSpot to determine codecs used or needed? .
.
BoilerPlate: To posters who ask for help -- it is nice to thank the volunteers who try to answer your questions !
Anything I post unless stated with a reference is my personal opinion.
jerrys
Senior Contributor Location: New Britain, CT, USA (between New York and Boston) Joined: Feb 10, 2010 21:36 Messages: 1038 Offline
[Post New]
Quote: Have you tried using either or both VLC player and/or GSpot to determine codecs used or needed?

No, I've never heard of them. These are players? What would they tell me?

In PD, I can see the lag between the video and the audio while previewing the capture, so a player wouldn't tell me anything about that.

As for the "silent" videos captured by GrabBee (the software that came with the hardware), I can run MediaInfo against them.

 Filename
628213937.txt
[Disk]
 Description
MediaInfo analysis of MPEG-2 captured by GrabBee
 Filesize
5 Kbytes
 Downloaded:
462 time(s)
 Filename
628213937.mpeg
[Disk]
 Description
MPEG-2 captured by GrabBee
 Filesize
8600 Kbytes
 Downloaded:
548 time(s)
Jerry Schwartz
stevek
Senior Contributor Location: Houston, Texas USA Joined: Jan 25, 2011 12:18 Messages: 4663 Offline
[Post New]
GSpot is a codec appliance that will tell you what codecs are/were used for the video.

You can get it here. http://www.headbands.com/gspot/ .
.
BoilerPlate: To posters who ask for help -- it is nice to thank the volunteers who try to answer your questions !
Anything I post unless stated with a reference is my personal opinion.
jerrys
Senior Contributor Location: New Britain, CT, USA (between New York and Boston) Joined: Feb 10, 2010 21:36 Messages: 1038 Offline
[Post New]
Quote: GSpot is a codec appliance that will tell you what codecs are/were used for the video.

You can get it here. http://www.headbands.com/gspot/

Thanks.

It tells me that the codecs I need for playback are installed, but I can't see where it tells me which specific codec my system used to record the file.

It appears that playback is working fine. Somehow the sound isn't being recorded. If my problem is a missing or defective codec, I can't spot it.

I didn't mean to take up a lot of bandwidth on this, and I apologize to the group. I will begin a new thread focusing on the part of my problem that centers around PD. Jerry Schwartz
jerrys
Senior Contributor Location: New Britain, CT, USA (between New York and Boston) Joined: Feb 10, 2010 21:36 Messages: 1038 Offline
[Post New]
Hal, did you say (in the other thread) that 628213937.mpeg has sound?

Nothing on my system will get it to make any noise.

This is getting more and more troubling. Jerry Schwartz
jerrys
Senior Contributor Location: New Britain, CT, USA (between New York and Boston) Joined: Feb 10, 2010 21:36 Messages: 1038 Offline
[Post New]
Quote: Hal, did you say (in the other thread) that 628213937.mpeg has sound?

Nothing on my system will get it to make any noise.

This is getting more and more troubling.

I uninstalled the K-Lite codec pack, and everything seems to be working now. This is very odd, because I installed it precisely to fix these problems. I don't know what to think.

I'm still looking for a pointer to a first steps for little feet description of how programs select codecs, and how codecs interact, if there is such. Jerry Schwartz
Carl312
Senior Contributor Location: Texas, USA Joined: Mar 16, 2010 20:11 Messages: 9090 Offline
[Post New]
I tried your 628213937.mpeg Video it has sound and video in just about every player (Windows Media Player and VLC) and Powerdirector 9 Ultra 64.

VLC reported a strange thing, VLC says the frame rate is 59.97 fps.
MediaInfo reports 29.97 fps.

It has a Green screen as the first few frames which is disturbing when I bring it into PD 9, but plays fine once I click the play button.

Jerrys, If I was in your situation, I would remove all third party Codec packs you have installed and start over.

Most can be removed in Windows Add/Remove programs (XP) or in Windows 7 Control Panel > Programs and features.

Some Codec Packs have a uninstall item in the Start Menu. K-Lite does.

I am curious, what is your source for the video, as it is 320x240, I would expect a Capture from VHS would be 720x480.

Carl312: Windows 10 64-bit 8 GB RAM,AMD Phenom II X4 965 3.4 GHz,ATI Radeon HD 5770 1GB,240GB SSD,two 1TB HDs.

James1
Senior Contributor Location: Surrey, B.C., Canada Joined: Jun 10, 2010 16:20 Messages: 1783 Offline
[Post New]
Hi,
This is just a guess..but I run the K-lite Codec pack, I downloaded two version (I am on W7 Premium 64Bit system) but I downloaded the k Lite for both 64Bit installer and the 32Bit installer and I haven't had any problems (yet). I believe that some of the modules within Power Director are still 32Bit process' that are references through Power Director and it launches the relevant drivers.
I do have a hearing impairment and utilize an amplified headset system to access sound tho' in video editing.
Jim Intel i7-2600@3.4Gz Geforce 560ti-1GB Graphic accelerator, windows 7 Premium 12GB memory

Visit GranPapa64's channel for your YouTube experience of the day!
jerrys
Senior Contributor Location: New Britain, CT, USA (between New York and Boston) Joined: Feb 10, 2010 21:36 Messages: 1038 Offline
[Post New]
Quote: I am curious, what is your source for the video, as it is 320x240, I would expect a Capture from VHS would be 720x480.


The capture program I used has different resolutions available for different formats. In this case, I dropped the resolution just in case that helped. (It didn't.)

With certain combinations I was getting an error message saying "ffmpeg.dll" was missing. Since that file is supposed to be part of the K-Lite pack, I uninstalled that. Uninstalling K-Lite allowed all of my captured files to sing.

That probably isn't the end of the story. The lack of sound was the reason that I installed K-Lite in the first place. Evidently the codecs were all tripping over one another.

I'm going to take your suggestion and uninstall any codec packs I can find. Jerry Schwartz
Carl312
Senior Contributor Location: Texas, USA Joined: Mar 16, 2010 20:11 Messages: 9090 Offline
[Post New]
I'm still looking for a pointer to a first steps for little feet description of how programs select codecs, and how codecs interact, if there is such.

I saw one explanation that said the order of selection is left to right. I take that to mean that it you have a list of the codecs installed, the player searches for the first matching codec in the list.

Carl312: Windows 10 64-bit 8 GB RAM,AMD Phenom II X4 965 3.4 GHz,ATI Radeon HD 5770 1GB,240GB SSD,two 1TB HDs.

jerrys
Senior Contributor Location: New Britain, CT, USA (between New York and Boston) Joined: Feb 10, 2010 21:36 Messages: 1038 Offline
[Post New]
Quote:
I'm still looking for a pointer to a first steps for little feet description of how programs select codecs, and how codecs interact, if there is such.

I saw one explanation that said the order of selection is left to right. I take that to mean that it you have a list of the codecs installed, the player searches for the first matching codec in the list.


Thanks, I guess.

The only three codec packs I see in Control Panel are "Windows Media Encoder 9 Series", "Xvid", and "DivX".

I bought DivX. I could uninstall and re-install it.

I don't know where Xvid came from. I know that something is using it, because its icon pops up from time to time. I can uninstall that, too, since it is readily available for download.

As for the Windows Media Encoder 9, again I don't know where that came from but I presume it's part of Windows. I probably don't want to get too aggressive with it.

I suspect that the order in which the codecs are installed determines their position in the hierarchy, so it might make a difference how I re-install them. Jerry Schwartz
Dafydd B [Avatar]
Senior Contributor Joined: Aug 26, 2006 08:20 Messages: 11973 Offline
[Post New]
Hi Jerry,
Keep Windows Media Encoder 9 if you want to manipulate the wmv prx templates.
Dafydd
ynotfish
Senior Contributor Location: N.S.W. Australia Joined: May 08, 2009 02:06 Messages: 9977 Online
[Post New]
Jerry -

I don't know how useful this is to you, but...

1. with no lack of audio, the clip you attached (628213937.mpeg) played fine in VLC Player, DivX Plus Player, MPC, WMP
2. with no lack of audio or sync issues, it played in the media library & timelines of PD9 & PD10

Some players install their own set of codecs built in (VLC, for example).

You mentioned that you uninstalled K-Lite & it fixed the problem. My PC is running K-LIte (Full), & it played your captured clip as described above.

I guess all that tells you is that the capture is actually being done correctly.

Cheers - Tony
Visit PDtoots. PowerDirector Tutorials, tips, free resources & more. Subscribe!
Full linked Tutorial Catalog
PDtoots happily supports fellow PowerDirector users!
Powered by JForum 2.1.8 © JForum Team