Question : Iomega Screenplay Director and movie files

Hey all.
I received the Iomega Screenplay Director 1TB HD media player as a birthday present and am having a variety of issues with it.

I am downloading movies from Usenet and putting them on this device with the intention of watching them on my HD TV through a HDMI cable. So far only about 20-30% of films function correctly. Most of the files play but with no sound whatsoever, and some others play for a little bit and then freeze completely, again with no sound. The said movie files all function perfectly on my PC through DIVX or VLC player. I test them before I transfer them to the medfia player.

I have contacted Iomega support and they state that although the player should play all .mkv, .m2ts files etc, that some codecs used to encode the files will not allow the files to function on this device. I have attempted to change the sound files from DTS to AC3 using Popcorn audio convertor but it just doesnt work for me.

Essentially I just want to get my movies, stick them on this and watch them with the absolute minimum of hassle - well, that was the intention. Instead I am having nightmares with this thing as it simply doesnt do what it says it will on the box.

So I suppose my question is... can someone provide me a link to a glorious and easy to use free software package or site that will help me? Again I must stress that I am a relative novice to movies online (codecs) etc so be gentle!

Thanks in advance.

Answer : Iomega Screenplay Director and movie files

I see you posted this in both the C# and C zones.

So far, the replies have been about C#, but the first line of your question suggests that you're using C. So I'll assume this question is about C and not C#.

You can use sprintf to construct a string like this. For example, see the below code sample.

Note that an int does NOT contain leading zero's - it simply contains the integer value. Adding leading zero's is a formatting issue, and you'll have to take care of that when you output the int value somehow. In the code snippet below, it's done using %03d, which means that an int (d) should be shown, that it should take up minimum three positions (3), and that it should be pre-pended with zero's if needed (0). Refer to the reference page for sprintf for more information :

        http://cplusplus.com/reference/clibrary/cstdio/sprintf/
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
#include <stdio.h>

int i = 6;                                /* the initial values */
const char* myString = "Sam";

char result[128] = "";                    /* this will contain the result */

++i;                                      /* increment it as you requested */
sprintf(result, "%s%03d", myString, i);   /* construct the resulting string. Note the 03 part that indicates that the integer has to be printed with a width of 3, and prepended with zero's if needed */

puts(result);                             /* show the result */
Random Solutions  
 
programming4us programming4us