C/C++ Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingC/C++ Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old April 12th, 2005, 06:59 PM
mike_bio mike_bio is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 6 mike_bio User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 31 m 19 sec
Reputation Power: 0
MPEG2 c libraries?

Hi to all,

I'm new to c programming I have been assigned a project: write a command line program in c which will read a mpeg2 video file and output the first n secs, also in mpeg2 format. I'm googling for libraries to use and I've come up with libmpeg3, ffmpeg, mjpeg. Since I'm new to the whole c programming idea, I cannot really judge which one I should start using as a base for writing my program, and if there is something even better that I haven't find.

Please help a newbie! Which should I use?

Reply With Quote
  #2  
Old April 15th, 2005, 10:30 AM
Cirus Cirus is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2005
Posts: 276 Cirus User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 11 h 48 m 58 sec
Reputation Power: 4
Little help from me. There is a tool called VideoCutter available. As far as calling this program at command probmpt, create a batch file (.bat) and pass it in command line.The .bat file should have command to run VideoCutter.

Difficulty is in cutting a part and running second file. Here you need to consult Videocutter manual for its API (appl. interface) for passing in parameters than limit
length of film to be made.

If there is a command in API of VideoCutter, then in .bat file you can write
command that uses a function from API of VideoCutter , taking in duration of film to be made. Then this .bat file can be made to run at command prompt.

Reply With Quote
  #3  
Old April 15th, 2005, 10:31 AM
Cirus Cirus is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2005
Posts: 276 Cirus User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 11 h 48 m 58 sec
Reputation Power: 4
Else, for the tools found by you, check for their manuals and find a function that taken in length parameter etc.

HTH.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingC/C++ Help > MPEG2 c libraries?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT