DeveloppementTranscoding

From MuMuDVB Wiki - a DVB network streaming free software

Jump to: navigation, search


Menu
English Français
Main_Page PagePrincipale
NewsEn Nouvelles
DocsEn Documentation
DocLastVersion Most Recent Documentation
Download Téléchargement
Features Fonctionalités
ContactEn Contact
DeveloppementSupportCam DeveloppementSupportCam
DeveloppementTranscoding
DeveloppementIPv6
MumudvbAndS2
MuMuDVB_Embedded

Contents

Introduction

This page is made to follow the developpement of transcoding for mumudvb

Mumudvb is able to transcode from mpeg2-ts to mpeg4 and various other formats

http://en.wikipedia.org/wiki/H.264 http://fr.wikipedia.org/wiki/H.264

Purpose

The goal is to make mumudvb able to transcode streams, for bandwith limited networks for example


Actual status

Utelisys Communications B.V. released the code they wrote to implement transcoding to MuMuDVB. Many thanks to them.

The code have been merged in the latest MuMuDVB version.

The doc and the examples for transcoding can be found in doc/transcode

To use transcoding you have to specify --enable-transcoding to the ./configure

Since the transcoding is based on librairies from the ffmpeg project, you have to install at least libavcodec libavformat libswscale to compile MuMuDVB with transcoding, and you have to install the codecs you will use.

Thanks again to Utelisys and enjoy !

Regards


Libraries

Here's the librairies which are used

FFMpeg

http://ffmpeg.mplayerhq.hu/

http://ffmpeg.mplayerhq.hu/projects.html

http://ffmpeg.mplayerhq.hu/documentation.html

http://en.wikipedia.org/wiki/Libavcodec


FFmpeg API

Libavcodec is the library containing the codecs (both encoding and decoding). Look at `libavcodec/apiexample.c' to see how to use it.

Demux

The demuxing and remuxing is done by libavformat

Streaming (old information)

We have also to take care about streaming after transcoding. We can put mpeg4 into a ts stream, so we don't change the streaming method, except pehraps the video type in sap announces

Free (french provider) seems to put mpeg4 into ts stream and this is done for DVB-T HD

http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2005-June/001619.html

Hi Guys,

I don't understand why you want to use SL to encapsulate MPEG-4 video in MPEG-2 TS. I would have understood if you wanted to encapsulate an MPEG-4 A/V scene in TS but in the case of ES, you can perform it in a similar way as for MPEG-2 or H.264 video. Use:

  • stream_id 110x xxxx for MPEG-4 audio (same range as for MPEG-1/MPEG-2 audio and MPEG-2 AAC)
  • stream_id 1100 xxxx for MPEG-4 part 2 video (same range as for MPEG-1/MPEG-2 video and MPEG-4 part 10 video)

and:

  • stream type 0x11 for MPEG-4 audio
  • stream type 0x10 for MPEG-4 part 2 video
Personal tools