Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

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

Members: 0
Guests: 49

more...

Headlines






OS4 + DVD
Just popping in
Joined:
2008/10/18 11:25
From Auckland, New Zealand
Posts: 155
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.

   Report Go to top

Re: OS4 + DVD
Not too shy to talk
Joined:
2006/12/6 20:39
From California, Unitied States
Posts: 429
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.

   Report Go to top

Re: OS4 + DVD
Just popping in
Joined:
2007/3/19 13:44
From Up Rough
Posts: 170
@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

   Report Go to top

Re: OS4 + DVD
Not too shy to talk
Joined:
2006/12/6 20:39
From California, Unitied States
Posts: 429
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.

   Report Go to top

Re: OS4 + DVD
Just popping in
Joined:
2008/10/18 11:25
From Auckland, New Zealand
Posts: 155
@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

   Report Go to top

Re: OS4 + DVD
Just popping in
Joined:
2008/10/18 11:25
From Auckland, New Zealand
Posts: 155
@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).

   Report Go to top

Re: OS4 + DVD
Not too shy to talk
Joined:
2006/12/6 20:39
From California, Unitied States
Posts: 429
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.

   Report Go to top

Re: OS4 + DVD
Not too shy to talk
Joined:
2006/12/6 20:39
From California, Unitied States
Posts: 429
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?

   Report Go to top

Re: OS4 + DVD
Just can't stay away
Joined:
2007/2/23 13:49
From Finland, the land of Santa, sauna, sisu and salmiakki
Posts: 1116
@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 excuse me.
X1000 + AmigaOS 4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
   Report Go to top

Re: OS4 + DVD
Just popping in
Joined:
2008/10/18 11:25
From Auckland, New Zealand
Posts: 155
@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

   Report Go to top

Re: OS4 + DVD
Just popping in
Joined:
2008/10/18 11:25
From Auckland, New Zealand
Posts: 155
@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)

   Report Go to top

Re: OS4 + DVD
Not too shy to talk
Joined:
2006/12/6 20:39
From California, Unitied States
Posts: 429
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.

   Report Go to top

Re: OS4 + DVD
Just popping in
Joined:
2008/10/18 11:25
From Auckland, New Zealand
Posts: 155
@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".

   Report Go to top

Re: OS4 + DVD
Just popping in
Joined:
2007/3/19 13:44
From Up Rough
Posts: 170
@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

   Report Go to top

Re: OS4 + DVD
Just can't stay away
Joined:
2007/2/23 13:49
From Finland, the land of Santa, sauna, sisu and salmiakki
Posts: 1116
@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 excuse me.
X1000 + AmigaOS 4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
   Report Go to top

Re: OS4 + DVD
Just popping in
Joined:
2007/12/10 23:22
Posts: 59
@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.

   Report Go to top

Re: OS4 + DVD
Just popping in
Joined:
2008/10/18 11:25
From Auckland, New Zealand
Posts: 155
@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?

   Report Go to top





[Advanced Search]



Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project