Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
So I've already asked a similar question to this on another forum but thought I would try here. I have a movie file from itunes that I want to decode so that I can make it into an iso and also play in other programs besides itunes since I use ubuntu more than windows. I was told to try to use the built in to ubuntu program ffmpeg and did some research on the command line for it and still am having problems. I am no pro at reading about everything that comes up about the file but I managed to figure out the right command to convert a video to another format but ran into problems.
I used this command to find information about the file:
# ffmpeg -i /home/jacob/Videos/TheVillage.m4v
After doing so I found the different codec of the audio and video formats and used this along with the size of the video to compile a command to convert the program.
note is []'s I list two different formats, but used a separate one each time such as -vcodec mjpeg once and the other format the second try. I mention this because this is where my problem occurs, and like I said I am new to this program so I might be doing something wrong that's very simple. The program shows me the info about the file and states under "Stream #0.4" that the video codec is "mjpeg, yuvj420p, 640x344 [PAR 96:96 DAR 80:43], 0 kb/s, PAR 43:80 DAR 1:1, 0k fps, 44100 tbr, 44100 tbn, 44100 tbc", and under another stream it states that the codec is drmi. Knowing this I tried first with drmi since it was listed before the other stream and thought logically it would work, but the program states that drmi is not a format recognized, so I tried with the mjpeg format and everything seems to work, except after it finishes it says the video wasn't created but I have a read only avi file that of course will not play when executed.
So basically I'm wondering if anyone knows the answer to this problem or could help explain to me another way to go about doing this since I have never used this program before.
I see, so there are two different video streams, one mjpeg and one drmi (DRMed). There is no way to decode this drmi video legally, because it is DRMed.
It may be possible to decode the mjpeg one. Use the '-map 0:0 -map 0:4' option to select those streams. Your '-vcodec' can be anything you want, like 'libxvid' or 'libx264' or 'mjpeg'.
Could you be a little more specific of where to use those options in the command, I'm new to this program. Also you said there's no legal way so is there another way of doing this or none at all?
As for DRM, to be honest, there is no tool to do this on Linux, and even if there were, I couldn't post it here. Just stay away from DRMed stuff, I do.
Last edited by H_TeXMeX_H; 04-10-2011 at 02:59 AM.
Reason: fixed -map
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.