Lexech / project-valerie

Automatically exported from code.google.com/p/project-valerie
0 stars 0 forks source link

HighRes Backdrops for Dream #37

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
For working highres Backdrops I used the following code to create the *.m1v:

ffmpeg -i <input>.jpg -an -f mpeg2video -r 30.0 -vcodec mpeg2video -intra 
-sc_threshold 1000000000 -flags +mv0+cgop -dc 8 -g 1 -me_method zero -qscale 5 
-bf 0 -aspect 16:9 <output>.m1v

Please let me know if ffmpeg is acceptable for using as API on val.duckbox.info.

Original issue reported on code.google.com by andreass...@googlemail.com on 28 Sep 2010 at 1:28

GoogleCodeExporter commented 8 years ago
Is done.

Original comment by schischu65 on 30 Sep 2010 at 6:16

GoogleCodeExporter commented 8 years ago
Friend, how do I poster.png additions to the movies. So I can add backdrops and 
explain how you worked very well. I would like to know how to add the poster / 
cover films.

ps: do not use the pc-app I'm manually adding the backdrops.

Original comment by diegofar...@gmail.com on 1 Nov 2010 at 4:06

GoogleCodeExporter commented 8 years ago
Hi,

you need "convert" (from the Imagemagick package 
http://www.imagemagick.org/script/download.php?ImageMagick=vsaoa1r6hta4vkbc56v84
892u2) to resize the images to 156x214 png files and pngquant 
(http://www.libpng.org/pub/png/apps/pngquant.html) for creating a 8-bit *.png 
poster from the resized file.

convert -resize 156x214! -depth 256 <poster_input>.jpg <poster_output>.png
pngquant 256 <poster_output>.png 

(output from pngquant will be <poster_output-fs8.png; delete the one created 
with convert and rename <poster_output-fs8.png> back to <poster_output>.png

I do this with from my Windows PC with:

FOR /F "delims=." %%a IN ('dir /b <path_to>\*_poster.jpg') do (
<path_to>\convert -resize 156x214! -depth 256 <path_to>\%%a.jpg  
<path_to>\%%a.png & <path_to>\pngquant 256 <path_to>\%%a.png & del 
<path_to>\%%a.png & move <path_to>\%%a-fs8.png <path_to>\%%a.png)

This is the code for running in a batch. Directly from commandline use only % 
instead of %%

Original comment by andreass...@googlemail.com on 1 Nov 2010 at 5:23

GoogleCodeExporter commented 8 years ago
Thank you friend get it to work here used the Gimp to accomplish the task of 
resizing and changing colors to 256, another thing, my films have UTF8 SRT 
subtitles and they work perfectly when I'm using and enjoying the media player 
of my image LT 6, but accessing films by the same "plugin Valeria" subtitles 
not work = /. I've tested this with 3 different images

Gemini 5.1
PP neverland 2.0
LT6

All my subtitles running normally, when I run execeto films by valeria = /. 
Anyone know how to fix it?

Sorry for my bad english I'm using google translator.

Original comment by diegofar...@gmail.com on 2 Nov 2010 at 5:26

GoogleCodeExporter commented 8 years ago
Could you please attach one of your subs to this issue? My subs are also UTF-8 
srt files and working fine.

Original comment by andreass...@googlemail.com on 2 Nov 2010 at 7:58

GoogleCodeExporter commented 8 years ago
Attached

Original comment by diegofar...@gmail.com on 2 Nov 2010 at 8:34

Attachments:

GoogleCodeExporter commented 8 years ago
Your sub is working correctly for me.

What do you exactly mean? It won´t be played correctly, not visible or 
something else?

Original comment by andreass...@googlemail.com on 2 Nov 2010 at 9:05

GoogleCodeExporter commented 8 years ago
Friend get it to work. It was with this problem in almost all images.

To summarize the problem:

When you start a movie and press the TXT button to call the legend, it was not 
displayed and extraneous characters were displayed in the LCD dreambox. This 
only occurs in the Movie Player on the Dreambox Media Player does not.

Solution to the problem was simpler than I imagined:

When you start to call the movie subtitles press the AUDIO button then yellow 
button, ready recognized and running legend.

Thank you for your attention to solve my doubts. Now it's all right.

Original comment by diegofar...@gmail.com on 3 Nov 2010 at 12:52

GoogleCodeExporter commented 8 years ago
As you said, pressing the yellow button will show the audio track menu. 
Pressing the yellow button again will show the subtitle tracks. Easy as it is 
;-)

Original comment by andreass...@googlemail.com on 4 Nov 2010 at 1:26