Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
128 user(s) are online (73 user(s) are browsing Forums)

Members: 0
Guests: 128

more...

Headlines

 
  Register To Post  

OS4 + DVD
Not too shy to talk
Not too shy to talk


See User information
Hi,

I'm new to the A1/OS4, and have just added a DVD drive (ASUS DRW-2014S1).

I hope somehow can answer a couple of questions.

Firstly, I'm having problems with DVD-RAM discs. I get a read/write error when reading a disc, but does display a directory. Does OS4 need specialist software to read DVD-RAM?

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?

Thanks for any info.

Go to top
Re: OS4 + DVD
Quite a regular
Quite a regular


See User information
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: OS4 + DVD
Just popping in
Just popping in


See User information
@ktadd

Quote:

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.

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.

Varthall

Go to top
Re: OS4 + DVD
Quite a regular
Quite a regular


See User information
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
Not too shy to talk
Not too shy to talk


See User information
@ktadd

Quote:


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.


Thanks for that. I've tried a few more files, and ffmpeg is working, it's just one particular track on one disc that's giving me problems (and it had to be the first one I tried!!!). It's not a commercial DVD though, it's just a standard DVD I have used to copy my own material from VHS.

Here's the result from the "File Input Info" in FFMpegGUI:
FFmpeg version SVN-r5969, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --cc=ppc-amigaos-gcc --enable-pthreads --disable-shared --extra-libs=-lpthread -lm --cross-compile --enable-amr_nb --enable-faad --enable-mp3lame --enable-gpl --extra-cflags=-/usr/local/include
libavutil version: 49.0.0
libavcodec version: 51.11.0
libavformat version: 50.5.0
built on Aug 12 2006 21:30:31, gcc: 4.0.3 (AmigaOS build 20060509)
[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

Go to top
Re: OS4 + DVD
Not too shy to talk
Not too shy to talk


See User information
@ktadd

Quote:

ktadd wrote:
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.


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).

Go to top
Re: OS4 + DVD
Quite a regular
Quite a regular


See User information
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


See User information
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
Just can't stay away
Just can't stay away


See User information
@Varthall

I tried to edit some video with MEncoder and it can't keep audio and video syncronized. Could you try to fix that ?

Are there any chance anybody could try to make ffmpeg any faster ?

Rock lobster bit me - so I'm here forever
X1000 + AmigaOS 4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
Go to top
Re: OS4 + DVD
Not too shy to talk
Not too shy to talk


See User information
@ktadd

Quote:


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?


The size of the file is 1073709056 bytes. There are two other VOBs on the disc of the same size, and a fourth of 1038516224 bytes. It's the first VOB.

FFMpeg doesn't actually give an error, it just produces a file that plays out as grey, with a picture size that seems to be that quoted in the info (176x144). Here's the output of a "Copy" operation as described above:

Command Executed:
"ffmpeg" -i "DVD_VIDEO_RECORDER:VIDEO_TS/VTS_01_1.VOB" -vcodec copy "Misc:MP3s/Test.mpeg"

FFmpeg version SVN-r5969, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --cc=ppc-amigaos-gcc --enable-pthreads --disable-shared --extra-libs=-lpthread -lm --cross-compile --enable-amr_nb --enable-faad --enable-mp3lame --enable-gpl --extra-cflags=-/usr/local/include
libavutil version: 49.0.0
libavcodec version: 51.11.0
libavformat version: 50.5.0
built on Aug 12 2006 21:30:31, gcc: 4.0.3 (AmigaOS build 20060509)
[h261 @ 0x6707f148]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)
Output #0, mpeg, to 'Misc:MP3s/Test.mpeg':
Stream #0.0: Video: h261, yuv420p, 176x144, q=2-31, 25.00 fps(c)
Stream mapping:
Stream #0.0 -> #0.0
frame=820975 q=0.0 Lsize= 1056198kB time=32839.0 bitrate= 263.5kbits/s
video:1048544kB audio:0kB global headers:0kB muxing overhead 0.729965%
==== DONE ====



Both DVPlayer and MPlayer can play the file of the disc.

The disc is a Mitsubishi DVD+R model # CDTR47J1

Go to top
Re: OS4 + DVD
Not too shy to talk
Not too shy to talk


See User information
@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)

Go to top
Re: OS4 + DVD
Quite a regular
Quite a regular


See User information
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
Not too shy to talk
Not too shy to talk


See User information
@ktadd

Quote:


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.[/quote]

PeVOBill doesn't work either, reports "data read error".

Go to top
Re: OS4 + DVD
Just popping in
Just popping in


See User information
@TSK

Quote:

TSK wrote:
@Varthall

I tried to edit some video with MEncoder and it can't keep audio and video syncronized. Could you try to fix that ?

I had never any problem with AV syncronization using mencoder. Could you post the command line string you have used, and if possible a link to a video that's giving you the problem?

Regarding speed, I'm planning to make a new release with altivec support and, if it will make any difference, with specific CPU optimized versions for 750 (G3), 745x (G4) and 440 (Sam) CPUs.

Varthall

Go to top
Re: OS4 + DVD
Just can't stay away
Just can't stay away


See User information
@Varthall

I have tested many different command line options. Yesterday I searched this issue with google and it looks like it's common problem that ffmpeg and mencoder might have some av sync issues. But ffmpeg works better in my case. The file I have used testing editing is Animated_Amiga_Tribute_by_Eric_Schwartz.flv. The problem is it's not possible to use ffmpeg or mencoder to join multiple video clips together AFAIK. It's possible to join them if files are in mpeg or dv format. There's Avisplice in os4depot but it can't handle audio so a resulting file will be without sound. And it looks like when converting flv to mpeg with mencoder it loses sync. I guess it might be related to different fps ratings. That flv file has 14.9 fps and that's not good value for mpeg. I have used fps 25 for output mpeg file. Btw. trying to use some certain codecs makes mencoder to crash.

@thread
Do anybody know the author of avcodec.library ?

Rock lobster bit me - so I'm here forever
X1000 + AmigaOS 4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
Go to top
Re: OS4 + DVD
Just popping in
Just popping in


See User information
@TSK

Quote:

I have tested many different command line options.

Me to... Nothing fixes the problem..

Quote:
Yesterday I searched this issue with google and it looks like it's common problem that ffmpeg and mencoder might have some av sync issues.

At least in my case, i have found what is causing the problem but not how to correct it. I have made about 2-3 threads in the past about this.
While i have NO sync problems with playing original MPGs, MPGs which has been converted from another video format by either Mencoder or FFMpeg, refuses to frame-skip when this is necessary to maintain syncronization with the sound stream. They always play with 0 skipped frames. Perhaps your case is different.

Go to top
Re: OS4 + DVD
Not too shy to talk
Not too shy to talk


See User information
@daveyw

I got DVPlayer to work with commercial DVDs. I found that I was using an older version of dvdvcd.plugin . Stephen, if you're reading this, it seem both files report the same version number, 51.2

I've also got PeeVOBill working as well, and have managed to copy at least 1 VOB from a commercial disc.

Still haven't sussed the problem I first encountered. Perhaps its caused by the default menu my Panasonic DVD recorder sticks onto mastered DVDs?

Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project