Quantcast FFmpeg: Built-in Libavcodec/Libavformat Codecs - Page 2 - digitalFAQ.com Forums [Archives]
  #21  
04-16-2004, 10:43 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by digitall.doc
Karl...

... it was 3 loooong days ago.
And I see lots of blue faces waiting
Well, they'll probably now turn purple, because they'll have to wait longer
I'm too busy with other things, and yesterday I was updating DIKumciser.
So your best bet is to go with vmesquita's "Mencoder ME", as it's far ahead of my program
Who knows, if Mencoder ME gets to a point that it's very useable, is there really a need for another GUI
After all, they all use the same internal libraries, so there won't be really any quality advantage from one over the other.
Anyway, I still have some ideas that I woould like to test, but the way I see it, it's going to take some time.

Don't you guys have enough toys to play with already

-kwag
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #22  
04-16-2004, 03:13 PM
black prince black prince is offline
Free Member
 
Join Date: Jul 2002
Posts: 1,224
Thanks: 0
Thanked 0 Times in 0 Posts
@Kwag,

Kwag wrote:
Quote:
Don't you guys have enough toys to play with already

-kwag
No!!

This is fun improving KVCD processes and even thought most
of it I still don't understand, the parts that I do are real learning
experiences. MEncoderME is getting there and with your inputs
it's going to be ready for the Newbe masses. I'd like to see
an intergrated bitrate calculator (very useful) like CalcuMatic.
I just wondering whether an avs MA script should be incorporated
or not. An "Optimal Conf" sticky would be nice just as in forum KVCD.
And last, and probably the easiest thing to do is System Shut Down
incorporated in GUI. I am happy vmesquita and you are working
on this and excited with the results so far.

-BP
Reply With Quote
  #23  
04-16-2004, 03:56 PM
digitall.doc digitall.doc is offline
Free Member
 
Join Date: Jul 2003
Location: Valencia (España)
Posts: 741
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by kwag
So your best bet is to go with vmesquita's "Mencoder ME", as it's far ahead of my program
Who knows, if Mencoder ME gets to a point that it's very useable, is there really a need for another GUI
I know you're all very busy. I even feel guilty to ask for things I cannot help with. I just can test
But I didn't think you were talking about a GUI, but a different approach, integrating libavcodec libraries, and maybe (even you didn't say a thing like this) avisynth support.
Well, I'll just sit down and wait, while I keep testing very nice vmesquita GUI
Reply With Quote
  #24  
04-18-2004, 10:48 AM
Latexxx Latexxx is offline
Free Member
 
Join Date: Jun 2002
Location: Tampere, Finland
Posts: 65
Thanks: 0
Thanked 0 Times in 0 Posts
Which IDE are you using?
Reply With Quote
  #25  
04-18-2004, 11:56 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Latexxx
Which IDE are you using?
Something that blows away every current C compiler in existence
The power of assembly (machine) language, with the syntax of BASIC.




http://www.purebasic.com/screenshots.php3
http://www.purebasic.com/index.php3

Now you all know my little secret

Moral of the story:
Use the right tool for the right job.
Never use a bulldozer (C) to trim your lawn, and never use a pair of scissors (VB) to cut large trees


Note: This environment is not for newbies
You must have some programming experience to work with it.
If you want something easier to work with, go look at Delphi or Visual Basic or some other RAD tools.
This system is still relatively new, and every new version breaks some compatibility with previous sources.
However, if you want the full Win32 API and assembly power, controlled by an easy "BASIC" like syntax, then you'll be pleased with this.
And you can target your applications with a simple compile to Windows, Linux and AmigaOS

BTW, I still use the bulldozer (C), but *ONLY* when needed

-kwag
Reply With Quote
  #26  
04-18-2004, 02:23 PM
Latexxx Latexxx is offline
Free Member
 
Join Date: Jun 2002
Location: Tampere, Finland
Posts: 65
Thanks: 0
Thanked 0 Times in 0 Posts
Well, I wouldn't go back to any form of Basic even if somebody tried to force me to do so. Lets say that I've used Basic and I've used Object Pascal (Delphi) and if it would be up to me I would use either. Java and C# are the languages. Unfortunately they both do require bloated virtual machine which kill my Pentium III 500 MHz.

- I don't like basic anymore because I know other programming languages (I was a Qbasic junkie).
- The code doesn't look very elegant and isn't very easy to understand because of its structure.
- Braces are easier to perceive.

eg

C#:
Code:
namespace Microsoft.Samples.WinForms.Cs.SimpleHelloWorld {
    using System;
    using System.Windows.Forms;

    public class SimpleHelloWorld : Form {

        [STAThread]
        public static int Main(string[] args) {
            Application.Run(new SimpleHelloWorld());
            return 0;
        }

        public SimpleHelloWorld() {
            this.Text = "Hello World";
        }
    }
}
VB.net:
Code:
Imports System
Imports System.ComponentModel
Imports System.Drawing
Imports System.Windows.Forms

Namespace Microsoft.Samples.WinForms.VB.SimpleHelloWorld

    Public Class SimpleHelloWorld
        Inherits System.Windows.Forms.Form

        'Run the application
        <STAThread()> Shared Sub Main()
            System.Windows.Forms.Application.Run(New SimpleHelloWorld())
        End Sub

        Public Sub New()
            MyBase.New()
            Me.Text = "Hello World"
        End Sub
    End Class

End Namespace
End Sub/Namespace: just stupid

But its your choiche, not mine. Get your program ready![/list]
Reply With Quote
  #27  
04-18-2004, 03:10 PM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by kwag
Something that blows away every current C compiler in existence
The power of assembly (machine) language, with the syntax of BASIC.
Do you know what kind of limitations has the demo version?
Reply With Quote
  #28  
04-18-2004, 03:15 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Now we're off topic, but here it goes
(Please reply or comment on the programming languages threads, for further discussions )

Quote:
Originally Posted by Latexxx
C#:
Code:
namespace Microsoft.Samples.WinForms.Cs.SimpleHelloWorld {
    using System;
    using System.Windows.Forms;

    public class SimpleHelloWorld : Form {

        [STAThread]
        public static int Main(string[] args) {
            Application.Run(new SimpleHelloWorld());
            return 0;
        }

        public SimpleHelloWorld() {
            this.Text = "Hello World";
        }
    }
}
VB.net:
Code:
Imports System
Imports System.ComponentModel
Imports System.Drawing
Imports System.Windows.Forms

Namespace Microsoft.Samples.WinForms.VB.SimpleHelloWorld

    Public Class SimpleHelloWorld
        Inherits System.Windows.Forms.Form

        'Run the application
        <STAThread()> Shared Sub Main()
            System.Windows.Forms.Application.Run(New SimpleHelloWorld())
        End Sub

        Public Sub New()
            MyBase.New()
            Me.Text = "Hello World"
        End Sub
    End Class

End Namespace
End Sub/Namespace: just stupid

But its your choiche, not mine. Get your program ready![/list]
Yep. It's my choice, and that's exactly why I chose PureBasic for most of the programming I do now.
Unless I have to do a device driver, then I'll do it in C ( which is what C was designed to do. Low level stuff)
Sadly, the industry chose C/C++ for high level applications, which is probably the biggest mistake

If anyone looks closely, those samples only print "Hello World".
Well, this is what I call elegant What follows is the complete source for a complete small web browser
Code:
; ------------------------------------------------------------
;
;   PureBasic - MiniBrowser
;
;    (c) 2002 - Fantaisie Software
;
; ------------------------------------------------------------
;
; This program requiers the Microsoft freely distribuable 
; ATL.dll shared library.
;

Procedure ResizeWebWindow()
  ResizeGadget(10, -1, -1, WindowWidth(), WindowHeight()-52)
  ResizeGadget(4, -1, -1, WindowWidth()-185, -1)
  ResizeGadget(5, WindowWidth()-25, -1, -1, -1)
  ResizeGadget(6, -1, -1, WindowWidth(), -1)
EndProcedure


Procedure SizeCallback(WindowID, Message, wParam, lParam)

  ReturnValue = #PB_ProcessPureBasicEvents
  
  If Message = #WM_SIZE 
    UpdateStatusBar(0)
    ResizeWebWindow()
    ReturnValue = 1
  EndIf
  
  ProcedureReturn  ReturnValue
EndProcedure


If OpenWindow(0, 100, 100, 500, 300, #PB_Window_MinimizeGadget | #PB_Window_MaximizeGadget | #PB_Window_SizeGadget, "PureBasic MiniBrowser v1.0")

  CreateStatusBar(0, WindowID())
    StatusBarText(0, 0, "Welcome to the world's smallest Browser ! :)", 0)
      
  CreateGadgetList(WindowID())
    ButtonGadget(1,   0, 0, 50, 25, "Back")
    ButtonGadget(2,  50, 0, 50, 25, "Next")
    ButtonGadget(3, 100, 0, 50, 25, "Stop")
  
    StringGadget(4, 155, 5, 0, 20, "http://www.purebasic.com")
    
    ButtonGadget(5, 0, 0, 25, 25, "Go")
    
    Frame3DGadget(6, 0, 30, 0, 2, "", 2) ; Nice little separator
  
    If WebGadget(10, 0, 31, 0, 0, "http://www.purebasic.com") = 0 : MessageRequester("Error", "ATL.dll not found", 0) : End : EndIf
  
  AddKeyboardShortcut(0, #PB_Shortcut_Return, 0)
  
  ResizeWebWindow()
  
  SetWindowCallback(@SizeCallback())
  
  Repeat
    Event = WaitWindowEvent()
    
    Select Event
      Case #PB_Event_Gadget
      
        Select EventGadgetID()
          Case 1
            SetGadgetState(10, #PB_Web_Back)
          
          Case 2
            SetGadgetState(10, #PB_Web_Forward)
          
          Case 3
            SetGadgetState(10, #PB_Web_Stop)
          
          Case 5
            SetGadgetText(10, GetGadgetText(4))
            
        EndSelect      
      
      Case #PB_Event_Menu ; We only have one shortcut
        SetGadgetText(10, GetGadgetText(4))
      
    EndSelect
      
  Until Event = #PB_Event_CloseWindow
   
EndIf
That's what I call elegant
BTW, here's the compiled WebBrowser.exe, weighting at only ~18KB
http://www.kvcd.net/WebBrowser.exe

Also, here's a link to some of the commercial applications that have been written in PB.
These are VERY expensive applications, so PB is not a toy ( as many see it )
http://www.reelmedia.org/c3/
And look at the prices http://www.reelmedia.org/c3/03.html

So I really think once (not even twice) before coding anything in C/C++ these days

-kwag
Reply With Quote
  #29  
04-18-2004, 05:36 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Prodater64
Do you know what kind of limitations has the demo version?
I sent you a PM.

-kwag
Reply With Quote
  #30  
04-18-2004, 05:37 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Prodater64
Do you know what kind of limitations has the demo version?
I sent you a PM with descriptions.

-kwag
Reply With Quote
  #31  
04-18-2004, 06:45 PM
digitall.doc digitall.doc is offline
Free Member
 
Join Date: Jul 2003
Location: Valencia (España)
Posts: 741
Thanks: 0
Thanked 0 Times in 0 Posts
kwag,
I'm also interested in the info. I'd give it a shot.
Reply With Quote
  #32  
04-18-2004, 06:49 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by digitall.doc
kwag,
I'm also interested in the info. I'd give it a shot.
It's all here: http://www.purebasic.com/
And the forums are here: http://purebasic.myforums.net/index.php
There's where you'll really appreciate the power of this stuff. Just search around and see the things that have (are) being developed with it

-kwag
Reply With Quote
  #33  
04-19-2004, 05:17 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
I think their ressources site does got an error as it isnt avaiable or cant be shown (Not on Windows neither on Mac)
http://www.reelmediaproductions.com/pb/
Reply With Quote
  #34  
04-19-2004, 08:21 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by incredible
I think their ressources site does got an error as it isnt avaiable or cant be shown (Not on Windows neither on Mac)
http://www.reelmediaproductions.com/pb/
That link works fine from here

-kwag
Reply With Quote
  #35  
04-19-2004, 09:16 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
The Browser tells me "sending request...." and nothing happens.
All other pages-loadings are working fine
Reply With Quote
  #36  
04-19-2004, 09:29 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Go here: www.webwarper.net and try it from there.

-kwag
Reply With Quote
  #37  
05-07-2004, 07:29 AM
Jellygoose Jellygoose is offline
Free Member
 
Join Date: Jun 2002
Location: Germany
Posts: 1,288
Thanks: 0
Thanked 0 Times in 0 Posts
I'm choking kwag!
how's the app?
__________________
j3llyG0053
Reply With Quote
  #38  
05-07-2004, 07:35 AM
Abond Abond is offline
Free Member
 
Join Date: Mar 2003
Posts: 243
Thanks: 0
Thanked 0 Times in 0 Posts
I have also wondered when will be the next day for kwag to say "What the hell..."
Reply With Quote
  #39  
05-07-2004, 11:22 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Well, after seeing vmesquita's MencodeME, I said: "What the hell, why would I do this, if MencodeME is already working, and why the hell would I re-invent the wheel"

-kwag
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
FFMPEG: News from Libavcodec for MPEG2 Sagittaire Video Encoding and Conversion 1 09-02-2007 01:10 PM
Codecs: Libavcodec progress thread Sagittaire Video Encoding and Conversion 112 04-20-2006 03:26 PM
Audio Codecs: Libavcodec mp2 output Prodater64 Audio Conversion 3 11-05-2004 03:34 AM
Audio Codecs: Ac3 decoding/encoding with ffmpeg tickey Audio Conversion 2 04-05-2004 12:00 PM
FFMPEG: Current libavcodec status japie Video Encoding and Conversion 5 03-14-2004 05:52 AM

Thread Tools



 
All times are GMT -5. The time now is 03:24 PM  —  vBulletin © Jelsoft Enterprises Ltd