Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - readymedia-transcode-git

Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: readymedia-transcode-git 581.290ef09-1

Git Clone URL: https://aur-dev.archlinux.org/readymedia-transcode-git.git (read-only)
Package Base: readymedia-transcode-git
Description: A DLNA/UPnP-AV Media server with transcode support
Upstream URL: https://bitbucket.org/stativ/readymedia-transcode
Licenses: GPL2
Conflicts: minidlna, minidlna-transcode-hg
Provides: minidlna, minidlna-transcode-hg
Replaces: minidlna-transcode-hg
Submitter: stativ
Maintainer: stativ
Last Packager: stativ
Votes: 16
Popularity: 0.138550
First Submitted: 2013-06-18 09:10
Last Updated: 2015-06-20 14:19

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

tydell commented on 2012-09-22 17:58

I must say that still have problem with transcoding with mencoder. However mecoder command from transcode_video-hardcodesub works great when I try it in terminal/console, but with minidlna I get it cannot open pipe.
Most of my videos are mp4 files. I got it working by adding srt subtitle to mp4 file with MP4box (there need to install gpac to have MP4Box utility).
The other way I managed to get subtitles with ffmpeg. I compiled ffmpeg from ABS with --enable-libass option, and then I can add external ass subtitles to my movies using ffmpeg command with ass filter. I create ass subtitles by 'ffmpeg -i subtitle.srt subtitle.ass', so now I can manage subtitles with a little modified minidlna-transcode_video file. There no need to use any other utilities than ffmpeg to do that.

tydell commented on 2012-09-22 17:20

I must say that still have problem with transcoding with mencoder. However mecoder command from transcode_video-hardcodesub works great when I try it in terminal/console, but with minidlna I get it cannot open pipe.
Most of my videos are mp4 files. I got it working by adding srt subtitle to mp4 file with MP4box (there need to install gpac to have MP4Box utility).
The other way I managed to get subtitles with ffmpeg. I compiled ffmpeg from ABS with --enable-libass option, and then I can add external ass subtitles to my movies using ffmpeg command with ass filter. I create ass subtitles by 'ffmpeg -i subtitle.srt subtitle.ass', so now I can manage subtitles with a little modified minidlna-transcode_video file. There no need to use any other utilities than ffmpeg to do that.

stativ commented on 2012-09-22 16:52

I think I found the culprit. I was missing quotes around the $SOURCE in the transcode_video-hardcodesub. At least for me it fixes the "opening pipe" error. I've already uploaded fixed version of the script.

stativ commented on 2012-09-22 16:36

tydell: I tested it with only one file with subtitles. Now I tested some other files too, and I'm getting the error when opening pipe for some of them, too. I have some ideas what may cause it.

tydell commented on 2012-09-22 16:17

I must say that still have problem with transcoding with mencoder. However mecoder command from transcode_video-hardcodesub works great when I try it in terminal/console, but with minidlna I get it cannot open pipe.
Most of my videos are mp4 files. I got it working by adding srt subtitle to mp4 file with MP4box (there need to install gpac to have MP4Box utility).
The other way I managed to get subtitles with ffmpeg. I compiled ffmpeg from ABS with --enable-libass option, and then I can add external ass subtitles to my movies using ffmpeg command with ass filter. I create ass subtitles by 'ffmpeg -i subtitle.srt subtitle.ass', so now I can manage subtitles with a little modified minidlna-transcode_video file. There no need to use any other utilities than ffmpeg to do that.

tydell commented on 2012-09-22 15:42

I must say that still have problem with transcoding with mencoder. However mecoder command from transcode_video-hardcodesub works great when I try it in terminal/console, but with minidlna I get it cannot open pipe.
Most of my videos are mp4 files. I got it working by adding srt subtitle to mp4 file with MP4box (there need to install gpac to have MP4Box utility).
The other way I managed to get subtitles with ffmpeg. I compiled ffmpeg from ABS with --enable-libass option, and then I can add external ass subtitles to my movies. I get ass subtitles by 'ffmpeg -i subtitle.srt subtitle.ass', so now I can manage subtitles with a little modified minidlna-transcode_video file. There no need to use any other utilities than ffmpeg to do that.

stativ commented on 2012-09-21 10:21

I've created a somewhat hackish script that hardcodes subtitles into a movie using mencoder. You can find it in the trascodescripts directory:
https://bitbucket.org/stativ/minidlna-transcode/src/tip/transcodescripts/transcode_video-hardcodesub

stativ commented on 2012-09-21 09:53

I put together a script that seem so somewhat work. There are some problems with AV synchronization, but I believe you should be able to fix that yourself.

http://pastebin.com/AxAGuwn5

tydell commented on 2012-09-20 22:41

I saw that ffmpeg doesn't allow to add subtitles in easy way for now. I would try mencoder, but can't force minidlna to transfer mencoder's output to my TV

stativ commented on 2012-09-20 09:27

tydell: I took a look at the possibilities of subtitle transcoding. It seems to be rather problematic, because conversions between subtitle formats requires additional information that is not available at the time the subtitles are served, such as the framerate.

However, I'm convinced it is be possible to achieve similar results by hardcoding subtitles during transcode. You will probably want to execute transcoding for all videos in that case (because it may be necessary to hardcode subtitles into otherwise supported formats too). To make this easier, I just added an option "all" to force transcoding of all files to minidlna.conf (see the comments in minidlna.conf for more details). Then you should be able to provide a custom video transcoding script, that takes video and hard codes subtitles in it. I think mencoder would be good choice. Google something like "mencoder hardcode subtitles", there are lots of howto's on this.