![]() |
2007-10-25
, 18:24
|
|
Posts: 1,137 |
Thanked: 402 times |
Joined on Sep 2007
@ Catalunya
|
#12
|
![]() |
2007-10-25
, 18:25
|
|
Posts: 1,463 |
Thanked: 81 times |
Joined on Oct 2005
@ UK
|
#13
|
![]() |
2007-10-25
, 19:11
|
Posts: 1,208 |
Thanked: 1,028 times |
Joined on Oct 2007
|
#14
|
![]() |
2007-10-25
, 19:55
|
|
Posts: 5,478 |
Thanked: 5,222 times |
Joined on Jan 2006
@ St. Petersburg, FL
|
#15
|
![]() |
2007-10-25
, 22:17
|
|
Posts: 1,463 |
Thanked: 81 times |
Joined on Oct 2005
@ UK
|
#16
|
However there is one problem. Thumbnail pictures don't work and instead I get the default video.png for every video. I have tracked error to doImage function line
rename("$tmpdir/00000001.jpg", "$DATA_DIR/data/$file.jpg");
Another great feature would be ability take input from network stream instead of a file. Mencoder supports it but I just don't know how get the stream address through mediaserv and 770-encode. M3U file would be the easy way but mencoder doesn't support it. Maybe some hack which would extract the url from m3u would do the job.
Goodnews! Finally got it working on my OS X box. Transcoding works great and the results are beautiful. Couldn't be any easier.
![]() |
2007-10-25
, 22:18
|
|
Posts: 1,137 |
Thanked: 402 times |
Joined on Sep 2007
@ Catalunya
|
#17
|
#!/bin/bash IN=- OUT=/tmp/out rm -f $OUT.avi /tmp/$OUT.log /usr/bin/mkfifo $OUT.avi cat $OUT.avi & exec /usr/bin/mencoder "$IN" -cache 1024 -srate 44100 -oac mp3lame -lameopts vbr=0:br=128 -af volnorm -ovc lavc \ -lavcopts vcodec=mpeg4:vbitrate=600 -vf-add scale=512:288 -ffourcc DIVX -noidx -o $OUT.avi &>/dev/null
![]() |
2007-10-25
, 22:27
|
|
Posts: 1,137 |
Thanked: 402 times |
Joined on Sep 2007
@ Catalunya
|
#18
|
![]() |
2007-10-25
, 22:29
|
|
Posts: 5,478 |
Thanked: 5,222 times |
Joined on Jan 2006
@ St. Petersburg, FL
|
#19
|
Excellent, since I don't have a Mac anymore, I wasn't sure it would work. What did you have to do to get it working? Is there anything I can add to the README to make it easier for others in future?
![]() |
2007-10-26
, 00:55
|
Posts: 20 |
Thanked: 0 times |
Joined on Apr 2007
|
#20
|
What's peculiar in vdr is the directory structure: each recording is in a subdirectory named
name_of_the_recording/date_time.priority.rec, e.g.
Donnie_Darko/2007-09-08.22.30.50.99.rec
(a recording made the 8th of september 2007, at 22:30:50, with priority 99, the priority it's only for vdr internals).
if episodes names are in use, there's an additional directory:
The_Avengers/Mission_Highly_Improbable/2007-08-02.21.08.50.99.rec
If it's a deleted recording, instead of .rec it will end in .del and shouldn't be shown in mediacenter
Inside each recording there's a bunch of files.
I'm copypasting from vdr.5 man page:
Instead of having the user drill down to the directory and show all the file, you should just give the directory name (and eventually the episode name).
This is an example info.vdr (as per the EPG DATA section above)