#32 support transcode Video and Audio

open
nobody
None
5
2014-08-17
2011-02-26
hiero
No

Hello,
This patch supports transcoding for both Video and Audio using mencoder/ffmpeg as transcoder.
This uses multiple <res> elements. It means minidlna present multiple media format for one stream.
For example, in case source stream is H.264/AAC, minidlna presents both H.264/AAC and MPEG2/AC3.
If a client (TV) supports only MPEG2/AC3, it select MPEG2/AC3 stream.
All the Video stream can be transcoded to MPEG2/AC3 (DVD) stream.
All the Audio stream can be transcoded to LPCM stream.

mencoder/ffmpeg is required to be installed.

I tested on Ubunts 10.04 and Fedora 12.

I hope this patch is helpful to the users who's TV only supports MPEG2 and LPCM.

This patch is for minidlna_1.0.18_src.tar.gz.
This patch also support Toshiba TV.

heiro

Discussion

1 2 3 .. 19 > >> (Page 1 of 19)
  • hiero
    hiero
    2011-02-27

    minidlna_transcode_1.0.18_samsung-support.patch was added

     
  • FifiTheReal
    FifiTheReal
    2011-03-04

    Great work!
    This works with my Samsung LE32C650 perfectly!

    Thank you!

     
  • This patch is great, but the video was running at a higher speed than the sound. To fix it I changed the mencoder argument -ofps from 30000/1001 to 24000/1001 and now it runs great.

    It would be a nice additional feature if you could tweak these settings through the .conf file.

    The file was played on a Sony BRAVIA KDL-46EX500

    Thanks for a great patch!

     
  • hiero
    hiero
    2011-03-06

    Thank you for the report.
    -ofps 30000/1001 works fine for my contents, and 24000/1001 breaks A/V sync.
    It seems the appropriate parameter depends on source stream.

    I will consider to specify parameters through the .conf file, however it may noy work if the parameter depends on source.

     
  • how shoul the patch be installed ? i am running centos 5.5

     
  • Hi,

    this works pretty well with my "new" Samsung C650. Chapter createn and all this.
    But I wonder why I don't have the transcoding working?
    Is there a special switch or compile command?

    Thanks so much!

     
  • hiero
    hiero
    2011-03-13

    ffmpeg and mencoder have to be installed to transcode.

    Ubuntu : sudo apt-get install ffmpeg mencode
    Fedora : sudo yum install ffmpeg mencode

    CentOS :
    I am not CentOS user. It seems some libraries and ffmpeg/mencoder are missing in CentOS standard repository. they have to be installed before build minidlna from other repositories.

     
  • P Walden
    P Walden
    2011-03-19

    Works on Fedora 14. You need to add a -logg library search to the minidlna link command in the Makefile.

    Can you redo this patch for 1.1.19?

     
1 2 3 .. 19 > >> (Page 1 of 19)