mpegdemux.h File Reference
Go to the source code of this file.
Functions |
| int | remux_mpeg (int fd_in, int fd_out, unsigned char keep_video_id, unsigned char keep_audio_id) |
| | Remuxes an MPEG2 stream and keeps only the video and audio streams that are given by the ID.
|
Function Documentation
| int remux_mpeg |
( |
int |
fd_in, |
|
|
int |
fd_out, |
|
|
unsigned char |
keep_video_id, |
|
|
unsigned char |
keep_audio_id | |
|
) |
| | |
Remuxes an MPEG2 stream and keeps only the video and audio streams that are given by the ID.
- Parameters:
-
| fd_in | Already opened file descriptor for reading the input stream. |
| fd_out | Already opeend file descriptor for writing the remuxed data. |
| keep_video_id | id of the video that should be kept. |
| keep_audio_id | id of the audio stream taht should be kept. |
- Returns:
- 0 on success.