|
|
Browsing this Thread:
1 Anonymous Users
|
|
|
MickJT [image]
|
FFmpeg 0.6 released |
|
Just popping in

|
Posts:
198
|
|
Posted on: 2010/7/3 21:32:03
|
|
OS4Depot download
Note: Altivec versions cannot be tested on my own machine. Please report if there any issues, although I probably won't be able to fix them. The Altivec version is naturally linked with an altivec version of libx264.
Pretty much everything enabled. ffplay may crash on exit. x264 encoding will require you to use one of the existing preset files. Use -vpre, don't include .ffpreset extension or path name.
This is for you, Kicko. XSUB encoding. I have no idea how to use it, but it's got the support for it!
Thanks Mrodfr for bringing back my attention to this software.
-- Edit --
Kicko, unfortunately ffmpeg can't demux or decode .srt subtitles. So XSUB encoding from .srt won't be possible.
-- End edit --
Edited by MickJT on 2010/7/4 13:00:57 Edited by MickJT on 2010/7/5 6:01:34 Edited by MickJT on 2010/7/5 9:15:13 Edited by MickJT on 2010/7/5 11:40:03 Edited by MickJT on 2010/7/5 11:40:55 Edited by MickJT on 2010/7/8 7:01:35 Edited by MickJT on 2010/7/8 9:58:28
|
|
|
Transfer
|
|
|
|
|
ktadd [image]
|
Re: FFmpeg 0.6 |
|
Just popping in

From: California, Unitied States
|
|
Posts:
227
|
|
Posted on: 2010/7/4 6:18:26
|
|
Quote: MickJT wrote: Need testers. FFmpeg - For now, set high stack
This is great! I've modified ffmpegGUI to recognize this version number. The version number doesn't follow, what at least used to be, the standard version number scheme for ffmpeg. Unfortunatly that causes ffmpegGUI to crash. I've made the version routine a bit more flexible so it doesn't crash and I modified to recognise this version as valid. Other version numbers should produce a warning but allow you to continue.
I did a little playing around and it appears this verison of ffmpeg doesn't know how to handle Amiga paths properly unless I'm missing something.
For example: ffmpeg -i jws.mpeg jws.avi works as expected as long as the videos are in the current directory, but...
ffmpeg -i ram:jws.mpeg jws.avi produces the followiing error message:
"ram:jws.mpeg: No such file or directory"
Did a bit more playing and my suspision was right. It's looking for unix style paths. The following works:
ffmpeg -i /ram/jws.mpeg jws.avi
That makes it a bit tough to use with ffmpegGUI and file requesters. You can type the paths into ffmpegGUI manually though and it will work. ffplay of course has the same issue. What would it take to fix this in ffmpeg?
Edited by ktadd on 2010/7/4 6:41:51
|
|
|
Transfer
|
|
|
|
|
MickJT [image]
|
Re: FFmpeg 0.6 |
|
Just popping in

|
Posts:
198
|
|
Posted on: 2010/7/4 11:37:42
|
|
@ktadd
-lunix isn't doing it. Looking in Snoopy and SnoopDos, certain paths and filenames make ffmpeg not even bother to look for it, change the path to something else that doesn't exist, then it'll look for it, fail, and print the exact same message.
Quite peculiar. Looking into it now. If worse comes to worse, you could always make the GUI convert to unix-style paths if absolutely needed.
--- Edit ---
Must be a bug in ffmpeg. A workaround is to assign something with a space or a number, to the partition you want, and then use that assign.
RAM:, Work:, Other: don't work, but "RAM Disk:", DH1:, DH2:, etc.. work.
It's really interesting. If Windows allows colons in filenames, i'm going to do some testing and see if the bug exists in the Windows build too. On Windows, it'll see ram:test.mp4 as a filename with a colon, in the current directory. If I can name a file something with a colon, then change to ram2:test.mp4, and 1 works while the other doesn't, then it proves it's a bug in ffmpeg 0.6.
--- End edit ---
Edit2: Tested with ffmpeg windows build from January 2009. I couldn't put a colon in a filename, so I used a tool called "ProcMon" to monitor the system processes. When the input path is something like test:something.avi, it doesn't even try to find the file. Use test2:something.avi or "tes t:something.avi", and it does. Therefore, it's either some feature i'm unaware of, or a bug that Andrea is aware of and fixed in his port.
Edited by MickJT on 2010/7/4 12:25:27 Edited by MickJT on 2010/7/4 12:46:28 Edited by MickJT on 2010/7/4 15:56:01
|
|
|
Transfer
|
|
|
|
|
afxgroup [image]
|
Re: FFmpeg 0.6 |
|
Site Builder

|
Posts:
608
|
|
Posted on: 2010/7/5 8:31:26
|
|
in the file libavformat/avio.c add the __AMIGAOS4__ define
int url_open(URLContext **puc, const char *filename, int flags)
{
URLProtocol *up;
const char *p;
char proto_str[128], *q;
p = filename;
q = proto_str;
while (*p != '\0' && *p != ':') {
/* protocols can only contain alphabetic chars */
if (!isalpha(*p))
goto file_proto;
if ((q - proto_str) < sizeof(proto_str) - 1)
*q++ = *p;
p++;
}
/* if the protocol has length 1, we consider it is a dos drive */
if (*p == '\0' || is_dos_path(filename)) {
file_proto:
strcpy(proto_str, "file");
} else {
*q = '\0';
}
up = first_protocol;
while (up != NULL) {
if (!strcmp(proto_str, up->name))
return url_open_protocol (puc, up, filename, flags);
up = up->next;
}
#ifdef __AMIGAOS4__
strcpy(proto_str, "file");
up = first_protocol;
while (up != NULL) {
if (!strcmp(proto_str, up->name))
return url_open_protocol (puc, up, filename, flags);
up = up->next;
}
#endif
*puc = NULL;
return AVERROR(ENOENT);
}
|
|
_________________
i'm really tired...
|
Transfer
|
|
|
|
|
MickJT [image]
|
Re: FFmpeg 0.6 |
|
Just popping in

|
Posts:
198
|
|
Posted on: 2010/7/5 8:58:51
|
|
@afxgroup
Thanks, i'll give that a go. Do you mind if I replace your ffmpeg on OS4Depot? I will make an altivec build, but will need someone to test that one.
Edit: New build is up. Seems to work OK.
Edited by MickJT on 2010/7/5 9:16:18
|
|
|
Transfer
|
|
|
|
|
afxgroup [image]
|
Re: FFmpeg 0.6 |
|
Site Builder

|
Posts:
608
|
|
Posted on: 2010/7/5 9:06:52
|
|
@MickJT
no problem of course
|
|
_________________
i'm really tired...
|
Transfer
|
|
|
|
You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
Home |