hi all ...
is it possible to read dvd VOB files in gem?
thanks ... tim
Tim,
is it possible to read dvd VOB files in gem?
If you're on win, it should be possible with avisynth. You'll need Avisynth (which is a frame server, http://www.avisynth.org)) and the appropriate mpeg2 decoding plugins (dgdecode, http://neuron2.net/dgmpgdec/dgmpgdec.html) I can't test it right now (not sitting on my real computer), but it should work along these lines:
dgindex.exe. This produces an index file that contains mainly the frame order of your dvd.
using the index file. It should contain the following lines at least:
LoadPlugin("c:\path\to\dgdecode.dll") mpeg2source("c:\path\to\indexfile.d2v") converttorgb32()
you could add filters for deinterlacing or some other stuff here as well, just add them before the converttorgb32() line.
it doesn't, drop me a mail ...
You shouldn't try to reverse the video and avoid arbitrary jumps within, since avisynth is not exactly optimised to do that sort of things.
I have no clue on how this could be done with linux ... One would need a frameserver for this sort of thing. It might be possible to open a dvd with the vlc client and stream it locally, I remember vaguely that pdp is capable of opening network streams.
hope this helps, Thoralf.
___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
Heya,
On OSX Gem loads VOB files created with dvd::rip (on linux).
It is just using transcode in the backend, but does an easier job.
there must be some libdvdcss thingy for OSX?
They playback very well on OSX.
B
Thoralf Schulze wrote:
Tim,
is it possible to read dvd VOB files in gem?
If you're on win, it should be possible with avisynth. You'll need Avisynth (which is a frame server, http://www.avisynth.org)) and the appropriate mpeg2 decoding plugins (dgdecode, http://neuron2.net/dgmpgdec/dgmpgdec.html) I can't test it right now (not sitting on my real computer), but it should work along these lines:
- create a d2v file of your dvd by running
dgindex.exe. This produces an index file that contains mainly the frame order of your dvd.
- create an avisynth script that reads your vobs
using the index file. It should contain the following lines at least:
LoadPlugin("c:\path\to\dgdecode.dll") mpeg2source("c:\path\to\indexfile.d2v") converttorgb32()
you could add filters for deinterlacing or some other stuff here as well, just add them before the converttorgb32() line.
- Open this avs file with gem and see if it works. If
it doesn't, drop me a mail ...
You shouldn't try to reverse the video and avoid arbitrary jumps within, since avisynth is not exactly optimised to do that sort of things.
I have no clue on how this could be done with linux ... One would need a frameserver for this sort of thing. It might be possible to open a dvd with the vlc client and stream it locally, I remember vaguely that pdp is capable of opening network streams.
hope this helps, Thoralf.
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
should be fine on linux (if you have some mpeg-support compiled in, of course)
but of course this would be very raw (no direct access to chapters,....)
well... this is the result of the direct approach: (gdb) where #0 0x626f2058 in ?? () #1 0xb766b578 in filmFFMPEG::open () from /home/tim/pd/extra/Gem.pd_linux #2 0xb768ffa6 in pix_filmNEW::openMess () from /home/tim/pd/extra/Gem.pd_linux #3 0xb769066d in pix_filmNEW::openMessCallback () from /home/tim/pd/extra/Gem.pd_linux
:-/ ... tim
Tim Blechmann wrote:
should be fine on linux (if you have some mpeg-support compiled in, of course)
but of course this would be very raw (no direct access to chapters,....)
well... this is the result of the direct approach: (gdb) where #0 0x626f2058 in ?? () #1 0xb766b578 in filmFFMPEG::open () from /home/tim/pd/extra/Gem.pd_linux #2 0xb768ffa6 in pix_filmNEW::openMess () from /home/tim/pd/extra/Gem.pd_linux #3 0xb769066d in pix_filmNEW::openMessCallback () from /home/tim/pd/extra/Gem.pd_linux
very raw indeed.
if you have the time to experiment, could you try without ffmpeg-support ? (just delete the *film*.o and *movie*.o in Pixes, run "./configure --without-ffmpeg" and "make")
mfg.ad.sr IOhannes
:-/ ... tim
IOhannes m zmoelnig wrote:
Tim Blechmann wrote:
should be fine on linux (if you have some mpeg-support compiled in, of course)
but of course this would be very raw (no direct access to chapters,....)
well... this is the result of the direct approach: (gdb) where #0 0x626f2058 in ?? () #1 0xb766b578 in filmFFMPEG::open () from /home/tim/pd/extra/Gem.pd_linux #2 0xb768ffa6 in pix_filmNEW::openMess () from /home/tim/pd/extra/Gem.pd_linux #3 0xb769066d in pix_filmNEW::openMessCallback () from /home/tim/pd/extra/Gem.pd_linux
very raw indeed.
if you have the time to experiment, could you try without ffmpeg-support ? (just delete the *film*.o and *movie*.o in Pixes, run "./configure --without-ffmpeg" and "make")
and before you do that: does it produce any output before crashing ?
mfg.ads.r IOhannes
IOhannes m zmoelnig wrote:
IOhannes m zmoelnig wrote:
Tim Blechmann wrote:
well... this is the result of the direct approach: (gdb) where #0 0x626f2058 in ?? () #1 0xb766b578 in filmFFMPEG::open () from
very raw indeed.
if you have the time to experiment, could you try without ffmpeg-support ? (just delete the *film*.o and *movie*.o in Pixes, run "./configure --without-ffmpeg" and "make")
and before you do that: does it produce any output before crashing ?
ok, i have found a DVD of trainspotting and it worked just fine (ok, it eat up all of my CPU (800MHz)) ffmpeg fails to open the VOB-file, but libmpeg3 succeeds, and produces a lot of crab due to keyframe-problems. after creating a toc with mpeg3toc it played back fine (again with libmpeg3)
which version of ffmpeg are you using ? probably it would be better to use ffmpeg as a last fallback rather than the decoder of choice.
mfg.ads.r IOhannes
if you have the time to experiment, could you try without ffmpeg-support ? (just delete the *film*.o and *movie*.o in Pixes,
run > "./configure --without-ffmpeg" and "make")
i'll try this ...
and before you do that: does it produce any output before crashing ?
no ...
ok, i have found a DVD of trainspotting and it worked just fine (ok, it eat up all of my CPU (800MHz)) ffmpeg fails to open the VOB-file, but libmpeg3 succeeds, and produces a lot of crab due to keyframe-problems. after creating a toc with mpeg3toc it played back fine (again with libmpeg3)
thanks for the hint ...
which version of ffmpeg are you using ?
media-video/ffmpeg-0.4.9_p20050226-r5
cheers ... tim
hi again ...
not really been successful: removing ffmpeg, aviplay fails:
<init> : Avifile RELEASE-0.7.43-050522-16:30-ssp-3.4.3.20050110-0, <init> : Available CPU flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr p ge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss tm pbe nx est tm2 <init> : 4294.97 MHz Intel(R) Pentium(R) M processor 1.86GHz detected <reader> : Checking: /home/tim/UNTITLED_DISC1-1.vob.partial <ASF reader> : Not ASF stream <ASX reader> : Not a redirector! <ASF network reader> : Not an URL <FF reader> : Format MPEG PS format streams:1 <FF reader> : S: 0 id:2 bitrate:0 (8000000) samprate:0 chn:0 framerate:25025 wxh 720x576 0/1 <reader> : Initialized video stream (chunk tblsz: 0, fmtsz: 40) <LDT keeper> : Installed fs segment: 0xb3b58000 <codec keeper> : Found 10 plugins (/usr/lib/avifile-0.7,A:38,V:89) Format 0x0 <CImage> : Cannot convert to 24 bit image from unimplemented 0x0 <CImage> : Cannot convert from 24 bit image to unimplemented 0x0
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 16384 (LWP 23904)] 0xb7663410 in imageStruct::fromRGB16 () from /home/tim/pd/extra/Gem.pd_linux (gdb) where #0 0xb7663410 in imageStruct::fromRGB16 () from /home/tim/pd/extra/Gem.pd_linux #1 0xb7671f12 in filmAVIPLAY::getFrame () from /home/tim/pd/extra/Gem.pd_linux #2 0xb7696170 in pix_filmNEW::render () from /home/tim/pd/extra/Gem.pd_linux #3 0xb764c668 in GemBase::gem_renderMess () from /home/tim/pd/extra/Gem.pd_linux #4 0xb764c7c4 in GemBase::gem_MessCallback () from /home/tim/pd/extra/Gem.pd_linux #5 0x080895f0 in pd_typedmess (x=0x83cff10, s=0xb3a3df14, argc=2, argv=0xbf8863c0) at m_class.c:752 #6 0x0808a6c5 in outlet_anything (x=0x0, s=0x824b110, argc=2, argv=0xbf8863c0) at m_obj.c:488
with libmpeg3, it won't segfault, but the image is rather distorted ... (yes, i created toc file)
not sure, if it helps, but mplayer uses libmpeg2 to decode the video which works fine ...
cheers ... tim