# AP4_Movie Class Reference

`#include <Ap4Movie.h>`

List of all members.

## Public Member Functions
| AP4_Movie (AP4_UI32 time_scale=0)
| AP4_Movie (AP4_MoovAtom *moov, AP4_ByteStream &sample_stream)
virtual | ~AP4_Movie ()
AP4_Result | Inspect (AP4_AtomInspector &inspector)
AP4_MoovAtom * | GetMoovAtom ()
AP4_MvhdAtom * | GetMvhdAtom ()
AP4_List< AP4_Track > & | GetTracks ()
AP4_Track * | GetTrack (AP4_UI32 track_id)
AP4_Track * | GetTrack (AP4_Track::Type type, AP4_Ordinal index=0)
AP4_Result | AddTrack (AP4_Track *track)
AP4_UI32 | GetTimeScale ()
AP4_UI32 | GetDuration ()
AP4_UI32 | GetDurationMs ()
const AP4_MetaData * | GetMetaData ()

## Detailed Description

Definition at line 51 of file Ap4Movie.h.

## Constructor & Destructor Documentation

AP4_Movie::AP4_Movie | ( | AP4_UI32 | time_scale = `0` | ) |

AP4_Movie::AP4_Movie | ( | AP4_MoovAtom * | moov,
|  | AP4_ByteStream & | sample_stream |
| ) |  |  |

virtual AP4_Movie::~AP4_Movie | ( |  | ) | `[virtual]`

## Member Function Documentation

AP4_Result AP4_Movie::Inspect | ( | AP4_AtomInspector & | inspector | ) |

AP4_MoovAtom* AP4_Movie::GetMoovAtom | ( |  | ) | `[inline]`

Definition at line 59 of file Ap4Movie.h.

AP4_MvhdAtom* AP4_Movie::GetMvhdAtom | ( |  | ) | `[inline]`

Definition at line 60 of file Ap4Movie.h.

AP4_List<AP4_Track>& AP4_Movie::GetTracks | ( |  | ) | `[inline]`

Definition at line 61 of file Ap4Movie.h.

AP4_Track* AP4_Movie::GetTrack | ( | AP4_UI32 | track_id | ) |

AP4_Track* AP4_Movie::GetTrack | ( | AP4_Track::Type | type,
|  | AP4_Ordinal | index = `0` |
| ) |  |  |

AP4_Result AP4_Movie::AddTrack | ( | AP4_Track * | track | ) |

AP4_UI32 AP4_Movie::GetTimeScale | ( |  | ) |

AP4_UI32 AP4_Movie::GetDuration | ( |  | ) |

AP4_UI32 AP4_Movie::GetDurationMs | ( |  | ) |

const AP4_MetaData* AP4_Movie::GetMetaData | ( |  | ) |

The documentation for this class was generated from the following file:

- Ap4Movie.h