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

Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 16th March 2007, 21:44   #181  |  Link
foxyshadis
ангел смерти
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Lost
Posts: 9,558
ffdshow incorporates a MSVC-buildable version of libavcodec. Very helpful for debugging, but I know a couple of months ago it wasn't quite buildable anymore. I've seen a few MSVC compatibility messages go through svn since then, not sure of the exact status now, I'll test when I get home. That might be simpler to use than the raw ffmpeg version. (MSVC can't do any of the inline asm, though.)
foxyshadis is offline  
Old 16th March 2007, 22:18   #182  |  Link
Inventive Software
Turkey Machine
 
Join Date: Jan 2005
Location: Lowestoft, UK (but visit lots of places with bribes [beer])
Posts: 1,953
I think libavcodec was recently made MSVC buildable according to the SVN changelog...
__________________
On Discworld it is clearly recognized that million-to-one chances happen 9 times out of 10. If the hero did not overcome huge odds, what would be the point? Terry Pratchett - The Science Of Discworld
Inventive Software is offline  
Old 16th March 2007, 23:40   #183  |  Link
ToS_Maverick
x264 Tester
 
Join Date: Dec 2005
Location: Austria, near Vienna
Posts: 223
just a small bug report:
- if the disk is full, dgavcindex continues, without an error, but the file is incomplete, because the disk is full
ToS_Maverick is offline  
Old 17th March 2007, 11:12   #184  |  Link
foxyshadis
ангел смерти
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Lost
Posts: 9,558
Okay, it builds fine in VC 2005. Can't test whether the VC 2003 project is up to date. If you want to check it out, it's under sourceforge project ffdshow-tryout, path /trunk/src/ffmpeg, and it will build the dll by default in /trunk/bin. Of course, you can strip out all the extraneous codecs.

It has some dependencies on ffdshow, mainly replacing its codec naming/ordering etc with ffdshow's, and some ffdshow-specific hooks, so it's worth checking the whole project out, or at least the trunk branch. Any patch you make against it should be applyable back onto the svn ffmpeg code.
foxyshadis is offline  
Old 17th March 2007, 14:30   #185  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Is there a free version of VC 2005 that will build it? I still use VC 6.0

Does it also build the libs needed to dynamically link the DLLs?

Last edited by Guest; 17th March 2007 at 14:33.
Guest is offline  
Old 17th March 2007, 15:23   #186  |  Link
orbitlee
Registered User
 
Join Date: Apr 2006
Posts: 78
Quote:
Originally Posted by neuron2 View Post
Is there a free version of VC 2005 that will build it? I still use VC 6.0

Does it also build the libs needed to dynamically link the DLLs?

@neuron2: VC2005 Express edition is free.
http://msdn.microsoft.com/vstudio/express/support/faq/
orbitlee is offline  
Old 17th March 2007, 17:48   #187  |  Link
Eastermeyer
Happy Easter!
 
Eastermeyer's Avatar
 
Join Date: Aug 2005
Posts: 73
I would appreciate a version based on the reference implentation by JM , because of the PAFF-Support and the Accurancy.
__________________
Sorry for my terrible English!
I am from Germany.
Eastermeyer is offline  
Old 17th March 2007, 18:48   #188  |  Link
Inventive Software
Turkey Machine
 
Join Date: Jan 2005
Location: Lowestoft, UK (but visit lots of places with bribes [beer])
Posts: 1,953
Quote:
Originally Posted by neuron2 View Post
I still use VC 6.0
Dinosaur!

VC Express is indeed the way to go for a free kit. I think they were doing the VC2003 binaries a while ago too, not sure if they're still kicking around MSDN somewhere.
__________________
On Discworld it is clearly recognized that million-to-one chances happen 9 times out of 10. If the hero did not overcome huge odds, what would be the point? Terry Pratchett - The Science Of Discworld
Inventive Software is offline  
Old 17th March 2007, 18:57   #189  |  Link
lucassp
Registered User
 
Join Date: Jan 2007
Location: Romania, Timisoara
Posts: 223
Quote:
Originally Posted by Eastermeyer View Post
I would appreciate a version based on the reference implentation by JM , because of the PAFF-Support and the Accurancy.
it would be nice. but that will take a lot of time to optimize. i don't want to even imagine how fast it will run on my A64 3000+@2,34GHz
lucassp is offline  
Old 17th March 2007, 19:05   #190  |  Link
bond
Registered User
 
Join Date: Nov 2001
Posts: 9,770
the reference is damn slow. i doubt people would be happy reencoding their stuff a whole week
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau)
I know, that I know nothing (Socrates)

MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide)
Ogg Theora | Ogg Vorbis
use WM9 today and get Micro$oft controlling the A/V market tomorrow for free
bond is offline  
Old 17th March 2007, 19:12   #191  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by bond View Post
the reference is damn slow.
Well yes, but so was the reference MPEG2 decoder that developed into the heart of DVD2AVI, DGMPGDec, etc. I'm still mulling it over.
Guest is offline  
Old 18th March 2007, 14:42   #192  |  Link
foxyshadis
ангел смерти
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Lost
Posts: 9,558
Quote:
Originally Posted by neuron2 View Post
Does it also build the libs needed to dynamically link the DLLs?
Yeah, the libs will show up in ./Release (Debug, whatever), and not the bin folder, though.
foxyshadis is offline  
Old 19th March 2007, 14:19   #193  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
OK, thank you. I have managed to build it using VC 2005. Now it seems sensible to just make DGAVCIndex buildable under VC 2005 and then incorporate the AVC decoder code directly, so that no external DLL is necessary.

Then add PAFF.

BTW, active SPS/PPS management is something of a nightmare for random access.
Guest is offline  
Old 19th March 2007, 17:20   #194  |  Link
Hans Ohlo
Registered User
 
Hans Ohlo's Avatar
 
Join Date: Apr 2003
Posts: 123
Quote:
Originally Posted by neuron2 View Post
Then add PAFF.
.... oh 'then' :/

Hans Ohlo is offline  
Old 20th March 2007, 18:45   #195  |  Link
bob0r
Pain and suffering
 
bob0r's Avatar
 
Join Date: Jul 2002
Posts: 1,337
@neuron2

Only if you care:
Video: MPEG4 Video (H264) 960x1088 [Video] <-- AR 16:9
(from canal ad on hispasat 30 west)
(maybe bond is interested too, how crappy it looks)

But for DGAVCDEC testing purposes:
Canal.AD.ts 23mb

(playback: mpc internal .ts splitter works, haali splitter says: Unspecified error, reported to Haali)
bob0r is offline  
Old 20th March 2007, 19:27   #196  |  Link
bond
Registered User
 
Join Date: Nov 2001
Posts: 9,770
Quote:
Originally Posted by bob0r View Post
Only if you care:
Video: MPEG4 Video (H264) 960x1088 [Video] <-- AR 16:9
(from canal ad on hispasat 30 west)
(maybe bond is interested too, how crappy it looks)
yeah gimme gimme. at the start bbc also used that res
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau)
I know, that I know nothing (Socrates)

MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide)
Ogg Theora | Ogg Vorbis
use WM9 today and get Micro$oft controlling the A/V market tomorrow for free
bond is offline  
Old 20th March 2007, 20:03   #197  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,219
Quote:
Originally Posted by bob0r View Post
But for DGAVCDEC testing purposes:
Canal.AD.ts 23mb

(playback: mpc internal .ts splitter works, haali splitter says: Unspecified error, reported to Haali)
Jeez....

That sample contains six different "Program" sectors. Only the last one (Program 900) contains the video and audio stream.
__________________
| 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  
Old 22nd March 2007, 09:21   #198  |  Link
G_M_C
Registered User
 
Join Date: Feb 2006
Posts: 1,076
I want to make this post just to thank you, and compliment you on your excellent work.

I've just used DGAVCIndex to succesfully replace the video on my DVD with a, resized but very much improved, AVC-720p version My DVD went from OK to sublime after the replacing (50i PAL to PAL anamorphic 25 fps progressive). So for me the tool works like a charm.

Now only VC-1 is left to do, as far as i can read around here, and all HD-possible formats can be input in AviSynth succesfully (i.e. without using DSS() ).

So
G_M_C is offline  
Old 22nd March 2007, 13:20   #199  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Glad to hear it. But there's still a lot of work to do. Right now I am in the midst of upgrading to VC++ 2005 and pulling in libavcodec code so that I will be able to develop and debug transparently, without the hassle of DLLs built in a different environment, etc.
Guest is offline  
Old 27th March 2007, 03:13   #200  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Just a little progress update in case you're wondering what is going on.

Recall that I am in the process of moving to the ffdshow-tryouts based code that will allow me to build the DLLs using Visual Studio and later integrate the code directly, eliminating the DLLs. That will greatly simplify further development and debugging, especially adding PAFF support.

Converting DGAVCIndex and DGAVCDecode for building under Visual Studio 2005 Express was straightforward. (I also did it for DGMPGDec.)

The first problem I ran into was that the ffdshow-tryouts build of ffmpeg's DLLs includes only a stub for libavformat, whereas I was heavily relying on it. So I had to find a way to use libavcodec for H264 decoding without libavformat. I have now accomplished that successfully.

The next step is to convert from the DLLs built in the pseudo-linux (MSYS) environment to the DLLs built in the ffdshow-tryouts environment. At that point everything will be buildable and debuggable using Visual Studio. After that I will integrate the decoder directly and eliminate the DLLS. Then proper development of needed functionality will resume.
Guest is offline  
Closed Thread

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 13:44.


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