Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
65 user(s) are online (30 user(s) are browsing Forums)

Members: 0
Guests: 65

more...

Headlines

Forum Index


Board index » All Posts (ktadd)




Re: OWB 3.1
Quite a regular
Quite a regular


Wow, the rendering on this version seems much improved. Sites that gave me problems with previous versions work great!

Keep up the great work Joerg! I'm getting the urge to donate again....uhm, next month after I recover from Christmas.

Go to top


Re: OS4 + DVD
Quite a regular
Quite a regular


Quote:

daveyw wrote:
@daveyw
So far I'd only tried my own recorded disc. But now I've tried a couple of commercial discs and every one of them has failed. Whenever I tried and open them with e.g. DirOpus, they report read/write errors. DVPlayer/MPlayer lock up when I try and play either a file off the disc or the disc itself.

Does anyone know if there is an incompatibilty with this drive? (ASUS DRW-2014S1)


Copy the VOB file from the DVD to your harddisk using PeeVOBill. Then you should be able to play/convert them.

Go to top


Re: OS4 + DVD
Quite a regular
Quite a regular


Quote:

daveyw wrote:
Here's the result from the "File Input Info" in FFMpegGUI:
<stuff deleted>
[h261 @ 0x6853b148]warning: first frame is no keyframe
Input #0, h261, from 'DVD_VIDEO_RECORDER:VIDEO_TS/VTS_01_1.VOB':
Duration: N/A, bitrate: N/A
Stream #0.0: Video: h261, yuv420p, 176x144, 25.00 fps(r)
Must supply at least one output file

It looks like this file is compressed in H.261 format which is what mpeg1 is based on. The warning is indicating that the first frame in not an I-Frame (keyframe) which it expects the first frame to be. An I-Frame is an uncompressed frame which contains all the video information. The following compressed frames (B-Frames and P-frames) use the I-Frame as a reference and only store delta information. Since there is no I-Frame to reference that is a problem.
FFMpeg can decode h.261 format but I'm not sure what it will do if it doesn't find an I-Frame as the first frame.

What is the file size of the VTS_01_1.VOB file. Is it smaller than the rest of your .VOB files? Is it the first or last VOB file in the order? What error does FFMpeg give you when you try to convert it. Something doesn't look right about this file since it doesn't report a Duration or bitrate. Can you play the file with MPlayer or DVPlayer?

Go to top


Re: OS4 + DVD
Quite a regular
Quite a regular


Quote:

daveyw wrote:

I took a look at PeeVOBill but couldn't make much sense of it. The documentation is pretty slender, and I got the impression all it did was copy the VOB from DVD onto another source (which DOpus can do).

Except that I believe PeeVOBill will remove encryption from encrypted VOB files.

Go to top


Re: OS4 + DVD
Quite a regular
Quite a regular


Quote:

Varthall wrote:
@ktadd

In that case, MEncoder (another video conversion utility) can be compiled to have support for DeCSS. I believe my mencoder compile for OS4 has this feature disabled, I might make a new version with DeCSS enabled if someone needs it.

That would be nice. In the meantime you can use PeeVOBill to copy a VOB file from a DVD then use ffmpegGUI on it.

Go to top


Re: OS4 + DVD
Quite a regular
Quite a regular


Quote:

daveyw wrote:

Secondly, I'd like to copy DVD content to another format (e.g., MPEG)> I've fiddled with FFMPEG, but it can't seem to handle .VOB. Has anyone done this before?


First....Welcome!

FFMPEG can handle VOB files but if the VOB file is from a commercial DVD it's likely encrypted and FFMPEG can't handle encrypted VOB files.

A DVD VOB file typically contains an mpeg2 video stream and one or more audio streams. You can use ffmpegGUI (found on OS4Depot), to copy the video file and audio file to an mpeg format file but doing the following:

Start ffmpegGUI.
Set the video codec to "Copy".
Set the audio codec to "Copy".
Set the Output Format to ".mpeg".
Set the input file name to your VOB file.
Set the output file name or use the default.
Click on Start.

This will copy the video file and the first audio file to an mpeg file. If you want to copy something other than the first audio file have a look at the map option to ffmpeg. You can add the map options you desire in the "additional options" section of ffmpegGUI.

You can convert to other formats as well but you need to know the restrictions of the format your converting because ffmpegGUI doesn't restrict the settings. Hope this is helpful.

Go to top


Re: Audiobook files
Quite a regular
Quite a regular


Quote:

Swoop wrote:
@ktadd

I used playCD to listen to the AIFF tracks, but there is no progress bar to indicate how far through the file I need to split it. Are there any OS4/Amiga progs that do?


Try TuneNet with the SNDFile Plugin from OS4Depot.

Alternatively you could play them in a CD/DVD player and probably get the times.

Go to top


Re: Audiobook files
Quite a regular
Quite a regular


Quote:

Swoop wrote:

I would need to do the following:-

1) Split the tracks that contain parts from different chapters.
2) Join the relevant tracks, and part tracks, together to form one large AIFF file for converting.
3) Convert the resulting aiff file to mp3.


How about using ffmpegGUI to convert to mp3 then join the files using the join command or better yet joinsplitter from OnyxSoft?

Just start ffmpegGUI and select "Audio->mp3" from the "Select Setup" dropdown.

Set the "Start Offset" and "Duration" fields to cut out the desired section the AIFF file.

Select your input AIFF file.

Give the output file a name.

Change the audio bitrate to a lower value if you want to create smaller mp3 files. 64k or 96k should be plenty for voice audio files.

Click "Start" and the desired section will be cut out and converted to an mp3 file.

You can then simply join the mp3 files together with joinsplitter or via the shell with the join command.


Edited by ktadd on 2008/5/27 6:16:21
Go to top


Re: ffmpeg shell options (help Kevin)
Quite a regular
Quite a regular


Quote:
Swoop wrote:
@ktadd

I have been using 'execute command' from workbench to run ffmpeg, and ffmpeg -i filename tp get the file details. The ffmpeg output window only gives the set up of ffmpeg, and not the command line entered.


Ok, I was refering to using ffmpegGUI. It prints the full ffmpeg command it executes in the shell output before executing it. If you click the "Input File Info" button it will issue a ffmpeg -i <inputfile> command and give you the input file info. I think I strip out some of the info on ffmpeg itself though.

Quote:
It would be great if you had more time to look at this in detail.


I didn't have any time last night to look at this but I did take a few minutes this morning to look at it. I used ffmpegGUI v1.1 with the DVD(pal) predefined setting to convert the Amiga Tribute video from .flv to .mpg. The file converted fine with the resulting mpg file being 84M. It also played fine in DVPlayer on my uA1. I repeated the process with the same success using the DVD(ntsc) predefined setting at well so I can't seem to duplicate your poroblem.

I'm using DVPlayer version 0.65 registered but I also played it with the restricted version that came with OS4.
Note that I have dvdvcd.plugin version 51.2 in the dvplugins drawer. Not sure it that matters but it might be worth checking.

I can't seem to duplicate your problem but hopefully some of the information here will be helpful.

Go to top


Re: ffmpeg shell options (help Kevin)
Quite a regular
Quite a regular


@Swoop

I don't have time to look into this much right now as I'm at work but I'll try to check into this later.

One tip though. If you look at the first couple of lines in the output shell window you will see the exact ffmpeg line and options that are being used. It will contain a bunch of spaces so it will look funny but it is the command that is being executed.

Also, you might try increasing the stack size in the icon tooltype.

Edit:

I just noticed looking at the discription above the crash log that you executed ffmpeg from the shell. If you didn't increase the stack size it will definatly cause a crash. Execture Stack 300000 or so in the shell first before running ffmpeg.

Go to top


Re: ffmpeg
Quite a regular
Quite a regular


Quote:

yescop wrote:
@ktadd

I played the 6 first minutes and all seem to be correct but if I played with the jump cursors ro advance 10 sec or 10 min. The audio/video sync is completely off (may be a range of a lot of minutes). It is impossible to go back (even with + or -).
Strange, isn't it ?
Any clue, my dear professor.


Well, I'm far from being any kind of expert with ffmpeg. In fact I didn't even know how to use it before I started writing the GUI but I'll try to help.

From what I have read syncing video and audio is one of the mpeg formats weaker points so I'm not suprised your experiencing sync problems. Instead of setting the audio and video to copy, which does a copy without decoding and re-encoding, you might try it with all video and audio settings set to No Change or Default. For settings that don't have a No Change or Default choice, set the value that corrisponds to the original. This will cause ffmpeg to decode and re-encode which should ensure the audion and video are sync'ed. Of course still use the -map options as before.

If your original audio is AAC then you will need to set the Audio Codec to mp3 since currently ffmpeg can't encode AAC.

One hint. If you have a long video you can set the duration time to something like 300 or maybe 600 so you only have to encode the first 5 to 10 minutes of the video for experimenting.

Go to top


Re: ffmpeg
Quite a regular
Quite a regular


Quote:
yescop wrote:
@ktadd

I just wanted to tell you I use your program.
Don't ask yourself again !!! :)

Ok, I won't ask again. :)

Quote:
2- I use ffmpeg on Mac OSX because on A1, there are no erros but the transformed files are not good (or don't work or aren't recognised by my DVD player).
One example is when the audio stream is not an mp3 but is a AAC. On A1, no gurus but the avi file is not played. I do the same thing on MacOS and it worked.

Unfortunatly AAC encoding isn't supported on our current build of ffmpeg because the encoding library LibFAAC wasn't available at the time. It is now but ffmpeg will have to be rebuilt to use it. You could try setting the audio codec to "Copy" and it should pass through the audio stream unchanged. You need to make sure to use an output format that supports AAC audio. There is an AAC decoder included so you should be able to convert AAC audio to other formats.

Quote:

3- Could you add in the gui an option to remove a audio stream ?


Sounds like what you want to do is re-map the streams.
I've been thinking about how to add mapping to the GUI but in the meantime you should be able to do it by
adding the -map commnad to the "additional options" string gadget. For example:

Use the "Input File Info" button to determine which stream is which in the file. If your input file has video at stream 0 and audio on streams 1 and 2 but you only want the #2 audio stream add these commands in the additioal options gadget:

-map 0:0 -map 0:2

The output file will include the video stream and 2nd audio stream. See this link for more info on mapping:

Info on ffmpeg mapping

Quote:

4- an option to add some subtitles. For the moment, I use mencoder with a lot of options. It's paintful. :(

I don't think ffmpeg has all the subtitle functions that mencoder has but I think you can add subtitles via a subtitle file. I'll make a note for a possible future enhancement.

Go to top


Re: ffmpeg
Quite a regular
Quite a regular


Quote:

sundown wrote:
@ktadd

I think I mentioned this before, closing the gui shell window would cause a hard lockup of my system at times & sometimes in the middle of doing a large conversion. Seems it doesn't work right if you use Kingcon like I do.


I remember you mentioning this before and I could not duplicate the problem. I didn't realize you were using Kingcon as I am using the standard shell so that explains why I couldn't duplicate it. I thought I had gotten back to you about not being able to duplicate it. Sorry if I didn't.

I suspect this is a problem with Kingcon. Does it crash if you do a CTRL-C first to stop ffmpeg, then kill the shell window?

I could probably change the code to force using the standard shell but then you would loose the scroll bars that Kingcon supplies. Is that better or worse?

I'll put it on the list to look in to for a future release.


Quote:
Thanks for ffmpeggui


Thanks for the input. Glad to see someone is using it.
Sometimes I wonder.

Go to top


Re: ffmpeg
Quite a regular
Quite a regular


Swoop wrote:

Quote:

Hi Kevin, just to ressurect an old thread.
I know I am jumping the gun, as the files have only just been uploaded to OS4Depot, but my wish has been granted, thanks to Fredrik. libFAAC, and FAAC have been ported.
Could you possibly add these options in to ffmpegGUI, or at least add it to your todo list. Thanks in advance.


I'd be happy to add this support to ffmpegGUI but first someone, Andrea?, needs to create a new build of ffmpeg to include this library so it supports this format. Then I can easily update ffmpegGUI to support the new format.

Go to top


Re: 50 Icons . . .
Quite a regular
Quite a regular


@klesterjr
Quote:
Painted tonight!

Great Icons Ken! Thanks!

Go to top


Re: ffmpeg
Quite a regular
Quite a regular


@sundown
Quote:

sundown wrote:
@Swoop
I have ffmpeg in C: & disabled the path in ffmpegGUI (CMD_PATH =), works for me.

Yes that works as well but as Swoop pointed out the default name for ffmpeg directly out of the archive is ffmpeg_pcc so it needs to be renamed ffmpeg as well. I downloaded ffmeg a while ago and forgetten I had renamed it to it's correct name. [/quote]
Quote:

In ffmpegGUI, set input & output file name & paths, leave video & audio at default & enter -sameq in the option box.

If you set the video bitrate setting in ffmpegGUI to "No Change" it will issue the -sameq command so there is no need to type it into the "additional commands" box. Check the gadget hint for the video bitrate setting. The -sameq option just keeps the same video bitrate as the original so I included it as a "No Change" option.

Go to top


Re: ffmpeg
Quite a regular
Quite a regular


@Swoop

Quote:

Swoop wrote:
@ktadd

I seem to be doing some thing stupid, I keep getting an error message.

Command Executed:
"Media:ffmpeg/Generic_PPC/ffmpeg" -i "Movies:Seisan/YouTube - Karate Goju-Ryu - seisan.flv" -an -vcodec mpeg4 -b -sameq "Media:Youtube_Seisan.avi"

Media:ffmpeg/Generic_PPC/ffmpeg: Unknown command
===== DONE! =====

From your directory listing is looks like the name of your ffmpeg executable is "ffmpeg_ppc". Rename it to ffmpeg.


Quote:

Also the options only show flv to MP4 (no audio), is there anyway to get audio as well?

I haven't done much with flash files so I don't have much experience with them but looking at the command issued it looks like you have audio disabled. "-an".
Try setting the audio codec to mp2 or mp3.[\quote]

Go to top


Re: Need help confirming an ffmpeg bug!
Quite a regular
Quite a regular


@TiredOfLife
Quote:

TiredOfLife wrote:
@ktadd

More than happy to do some more testing if you want but let me know exactly what it is you want me to do.
I'm very much a newbie when it comes to ffmpeg.


Thanks. Sundown verified the problem on his system so there is probably not much sense in having others try it. Check you PM though.

Quote:

I have used the older version with the command you stated previously. I used it when converting wmv files to mpeg
No errors .


Thanks. I've discovered that the padding crash only occurs when using mpeg1 files as the source file. Your results help to confirm that.

Quote:

I have no idea what the pad function does though, so don't know if that was actually implemented.


The padding function adds a black (by default) boarder around the outside of the video much like you would see if you were viewing a widescreen video on a standard screen TV. Since the default color is black and the background color with the players is black you might not notice it if you use small values. The values are in pixels so try something like 40 as one of the pads and you will notice that the video is shifted in one direction in the player. Try using the -padcolor 888888 option with the pad options and the boarder will be gray and more easily seen.

Quote:

Have downloaded the latest version if you need me to test that as well.

I've verified that the problem exists in the new version and also on a PC version but feel free to give it a shot. Be warned though the the video and audio bitrate settings do not work properly with the new version and ffmpegGUI becuase they change the units for that option for kbps to bps.

Thanks for the feedback and don't forget to check your PM.

Go to top


Re: Need help confirming an ffmpeg bug!
Quite a regular
Quite a regular


@afxgroup
Quote:

afxgroup wrote:
@ktadd

maybe, but does it crash now or the old problem is fixed?


A little more info for you. I tried the PC version of ffmpeg and it actually throws an exception under the same padding conditions. The difference is it writes a stackdump file and exits. The video output file has been processed fine. I have noticed on the Amiga that the crash occurs at the very end of processing. My guess right now is that the output file on the Amgia is fine as well but is left open when ffmpeg throws the exception so it can't be accessed again. If there were a way to close the file I'd bet it would turn out to be fine.

Don't have the Amiga output file handy but here is the
PC stackdump file contents in case it helps:

Exception: STATUS_ACCESS_VIOLATION at eip=610CA4CC
eax=00000000 ebx=00014310 ecx=1003A7C8 edx=80808080 esi=1003A7D0 edi=1004EAD8
ebp=0022E8F8 esp=0022E8E0 program=C:\Program Files\eRightSoft\SUPER\ffmpeg.exe, pid 4012, thread main
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame Function Args
0022E8F8 610CA4CC (1002B3B8, 00000001, 00000000, 007E1870)
0022E928 61066685 (1003A7D0, 1002C030, 00000002, 00000001)
0022EE48 610A087F (007E19A0, 00000001, 007E18B0, 00000001)
0022EF40 004043B8 (0000000B, 10021F98, 100200A8, 00000001)
0022EFF0 61006A1D (0022F008, 00000046, 0022F034, 7C91825D)
0022FF90 61006E41 (00000000, 00000000, 00000000, 00000000)
End of stack trace

Go to top


Re: Need help confirming an ffmpeg bug!
Quite a regular
Quite a regular


@sundown
Quote:

sundown wrote:
@ktadd

Problem with mpg files & pad settings confirmed here, email sent.

Got it and replied. Thanks!

I get jaggies on the right side of an mpg file converted with different pad settings. I haven't tried the newer ffmpeg port yet, but will soon.


I have seen the jaggies on occasion too but haven't investigated it much yet. Looks like another ffmpeg problem, or maybe I don't understand how to use it quite right.

Thanks for the report!

Go to top



TopTop
« 1 ... 25 26 27 (28) 29 30 »




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project