posts/imdb-film-summary-as-a-mpeg-2-video/ #96
Replies: 13 comments 1 reply
-
That is a pretty cool idea :) |
Beta Was this translation helpful? Give feedback.
-
Thanks Chris, I'm expecting that you will send me some improvements pretty soon ;-) |
Beta Was this translation helpful? Give feedback.
-
This is very nice. I've made a few changes, such as encoding the About vid into h264 directly via ffmpeg (so the ps3 can play it natively) and confirmation prompt so i could semi-automate having it go through my whole library with a bash while loop... because "Bookies" != "Cookie's Fortune" silly IMDB... :) I also dropped the text size and set an offset position because it was HUUUUGE on my 46" tv. Seriously, the text jumped off the screen, beat me up, and stole my wallet! Oh... and there's a bug in texttoimage as well. The parameters are wrong on the call to imagettftext() Anyway, I'll clean it up a bit more and send it back to ya. And to think i was getting ready to do this symlink tree manually.. |
Beta Was this translation helpful? Give feedback.
-
You can delete this comment... i couldn't find an email address for you. I ended up rewriting the whole thing today: https://www.ypass.net/downlo... You'll need to add back in your mpeg2 creation stuff. I have no clue what you're doing there :). Look for encodeVideoM4V() and just create a encodeVideoMPEG2() or whatever, then modify the switch statement below it. |
Beta Was this translation helpful? Give feedback.
-
@eric: Thanks very much for the improvements you have made. I'll review your code and quite possibly release a revised version in the next week or so :-) |
Beta Was this translation helpful? Give feedback.
-
I've finally got round to working with Eric and incorporating all his contributions and improvements. v2.0 of IMDB-to-MPEG is now available, find out more at the URL below. |
Beta Was this translation helpful? Give feedback.
-
Great script! Unfortunately it seems that I am the only one who is not able create the summary file (mp4 or m2v) on my (k)ubuntu 9.10 machine based on your script. Even if I am using debugging mode I don't get any errors. I believe it is related to ffmpeg part of the script so I need to study it a bit more. Do you have any hint where to look? |
Beta Was this translation helpful? Give feedback.
-
@jukka, I have seen this before. The encode is failing because h.264 video encoding libraries are not available to ffmpeg. On 9.04 this can be fixed by install the 'libav*-unstripped' libraries on 9.10 I think they are called libav*-extras'. Try the following... sudo aptitude install ffmpeg libavcodec-extra-52 If that doesn't work you can try two things. Pass the MPEG-2 flag to the script to create MPEG-2 video rather than MPEG-4, use '-o m2v'. See the help for more details. Or a more involve work around is to modify the script to use XviD rather than h.264. Find the ffmpeg line ~813. Find '-f mp4' and change it to '-f libxvid'. |
Beta Was this translation helpful? Give feedback.
-
@martin: Just to let you know I compiled ffmpeg from source with x264 enabled. When I used this script with m4v option, the script failed due to ffmpeg presets (I don't remember the exact error message) and no summary file was created. Then I changed x264 to -libxvid after which the summary movie file can be created by using the script as planned. For some reason I always get the error message that movie file is not PS3 compatible. Hopefully I have some time next week to have a more closer look on this. I will let you know if I find a way to fix this (in case someone else ran into same kind of problems). |
Beta Was this translation helpful? Give feedback.
-
IMDB Film Summary as a MPEG-2 video
https://wimpress.com/posts/imdb-film-summary-as-a-mpeg-2-video/
Beta Was this translation helpful? Give feedback.
All reactions