| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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? |
|
#2
|
|||
|
|||
|
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. |
|
#3
|
|||
|
|||
|
Else, for the tools found by you, check for their manuals and find a function that taken in length parameter etc.
HTH. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > C/C++ Help > MPEG2 c libraries? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|