Jump to content


Photo

Cinepak test on Windows 7


8 replies to this topic

#1 Saturn

Saturn
  • Members
  • 41 posts

Posted 15 August 2014 - 10:21 PM

Hi, I've been following what's left of tutorials for creating Cinepak videos. I'm using a Windows 7 32 bit laptop and I've completed every step in what I have below. Stuck at the burning part as my drive is not recognized by cdrecord.exe.

Cinepak quick Instructions:
Open Quicktime
Click File-Open File
Navigate to file and double click it
In new, smaller Quicktime window, click File-Export
Rename if needed
Save as type: All files
Export: Movie to Quicktime Movie
Use: Default Settings

Click the Options button
Click Video Settings
Compression type: Cinepak
Frame Rate: 15 (can be adjusted to 24 & below)
Depth: Millions of colors
Quality: Medium (variable that may need to be adjusted)
Data Rate: Restrict to: 1500 kbps (variable that may need to be adjusted)
Click OK

Click Video Size
Use custom size
width: 320 (the Jaguar will clip off anything beyond this resolution)
height: 200 (the Jaguar will clip off anything beyond this resolution)
Click OK

Click Sound Settings
Format: Linear PCM
Channels: Stereo (or Mono)
Rate: 21.252 (this provides the best audio)
Quality: Normal (variable that may need to be adjusted)
Sample Size: 8 bits
the 2 checkboxes under that, I always leave unchecked, but try some things with it too smile.gif
Click OK and you are ready to save

Open JagCinePak.exe from JagMOD's site
Down where it says 'Track Number" put 4 (actually found this step to be pointless for what we are using)
Drag your video.mov into the window
(Windows color scheme will be changed)
8 additional files will be created where the original was dragged from:
FilmToAIFF.log
MovieToFilm.log
SmoothToChunky.log
*name*.aif
gmon.out
*name*.crg
*name*.srg
*name*.t04

Delete all but *name*.t04 (and the original video file, of course)
Rename *name*.t04 to TRACK04.RAW
Put TRACK04.RAW inside the CDEnc folder
Put a blank CD-r in the drive & open burnenc.bat to start burning


I added in a PAUSE function to the burn.bat file to see the error(s):
K:\Jaguar 081514#3\JagCinePak (with tutorial)\CDEnc>cdrecord -speed=1 -dev=0,0,0
-pad -audio cden16cd.raw pm_dummy.raw trk_2.raw
cdrecord: No write mode specified.
cdrecord: Assuming -sao mode.
cdrecord: If your drive does not accept -sao, try -tao.
cdrecord: Future versions of cdrecord may have different drive dependent default
s.
Cdrecord-ProDVD-ProBD-Clone 2.01.01a69 (i686-pc-cygwin) Copyright © 1995-2009
Jörg Schilling
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
Using libscg version 'schily-0.9'.
Device type : Disk
Version : 4
Response Format: 2
Capabilities :
Vendor_info : 'TOSHIBA '
Identifikation : 'MQ01ABD050 '
Revision : 'AX0A'
Device seems to be: Generic CCS Disk.
cdrecord: Sorry, no CD/DVD/BD-Drive found on this target.

K:\Jaguar 081514#3\JagCinePak (with tutorial)\CDEnc>pause
Press any key to continue . . .


Here are the contents of the burn.bat:
cdrecord -speed=1 -dev=0,0,0 -pad -audio -multi warning.wav
cdrecord -speed=1 -dev=0,0,0 -pad -audio cden16cd.raw pm_dummy.raw trk_2.raw
pause


Anyone know how to get the burner drive recognized or can tell me what's wrong?
Thanks cool.gif

#2 SCPCD

SCPCD

    Rick dangerous

  • Level2
  • PipPipPip
  • 1,136 posts
  • Gender:Male
  • Location:Nord
  • Interests:Electronique & Informatique

Posted 16 August 2014 - 09:59 AM

Through the log error, I think that your CD/DVD writer is not at dev=0,0,0

try to do a "cdrecord -scanbus" in the command line to retrieve the device number of your CD/DVD writer and replace the number into your .bat file.


#3 Saturn

Saturn
  • Members
  • 41 posts

Posted 17 August 2014 - 04:12 AM

Awesome, that worked. It was 0,1,0.
Is there a way (or need) to specify a write mode in the burn.bat?
When I attempted to burn the CD, during the 2nd write it gave an error that the cue sheet could not be sent, then stopped. All I get in the JagCD is the cd player showing one track. Here's the info:

C:\Users\Cylon10\Desktop\JagCinePak (with tutorial)\CDEnc>cdrecord -speed=1 -dev
=0,1,0 -pad -audio -multi warning.wav
cdrecord: No write mode specified.
cdrecord: Assuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive dependent default
s.
Cdrecord-ProDVD-ProBD-Clone 2.01.01a69 (i686-pc-cygwin) Copyright © 1995-2009
Jörg Schilling
scsidev: '0,1,0'
scsibus: 0 target: 1 lun: 0
Using libscg version 'schily-0.9'.
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'TSSTcorp'
Identifikation : 'CDDVDW SN-208AB '
Revision : 'TO04'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
cdrecord: Warning: The DMA speed test has been skipped.
Starting to write CD/DVD/BD at speed 10 in real TAO mode for multi session.
Last chance to quit, starting real write 0 seconds. Operation starts.
Track 01: Total bytes read/written: 2533104/2533104 (1077 sectors).

C:\Users\Cylon10\Desktop\JagCinePak (with tutorial)\CDEnc>cdrecord -speed=1 -dev
=0,1,0 -pad -audio cden16cd.raw pm_dummy.raw trk_2.raw
cdrecord: No write mode specified.
cdrecord: Assuming -sao mode.
cdrecord: If your drive does not accept -sao, try -tao.
cdrecord: Future versions of cdrecord may have different drive dependent default
s.
Cdrecord-ProDVD-ProBD-Clone 2.01.01a69 (i686-pc-cygwin) Copyright © 1995-2009
Jörg Schilling
scsidev: '0,1,0'
scsibus: 0 target: 1 lun: 0
Using libscg version 'schily-0.9'.
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'TSSTcorp'
Identifikation : 'CDDVDW SN-208AB '
Revision : 'TO04'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
cdrecord: Warning: The DMA speed test has been skipped.
Starting to write CD/DVD/BD at speed 10 in real SAO mode for single session.
Last chance to quit, starting real write 0 seconds. Operation starts.
cdrecord: CUE sheet not accepted. Retrying with minimum pregapsize = 1.
cdrecord: Input/Output error. send_cue_sheet: scsi sendcmd: no error
CDB: 5D 00 00 00 00 00 00 00 40 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 26 00 00 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x26 Qual 0x00 (invalid field in parameter list) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.046s timeout 200s
cdrecord: CUE sheet still not accepted. Please try to write in RAW (-raw96r) mod
e.
cdrecord: Cannot send CUE sheet.
cdrecord: Could not write Lead-in.

C:\Users\Cylon10\Desktop\JagCinePak (with tutorial)\CDEnc>pause
Press any key to continue . . .


Thanks for your help smile.gif

#4 SCPCD

SCPCD

    Rick dangerous

  • Level2
  • PipPipPip
  • 1,136 posts
  • Gender:Male
  • Location:Nord
  • Interests:Electronique & Informatique

Posted 17 August 2014 - 11:02 AM

I think that you need to add "-tao" on both command line to use the "Track At Once" writing mode :
The log show that the "-tao" is automaticaly set for the multisession mode (-multi), but the "-sao" (Session At Once) is set for the next session, but in multisession, -tao should always be set.

your command line should be :
CODE
cdrecord -speed=1 -dev=0,1,0 -pad -tao -audio -multi warning.wav
cdrecord -speed=1 -dev=0,1,0 -pad -tao -audio cden16cd.raw pm_dummy.raw trk_2.raw

Sorry to not see it before you write a CD sad.gif

#5 GT Turbo

GT Turbo

    Another world

  • Administrators
  • PipPipPipPip
  • 3,261 posts
  • Gender:Male
  • Location:Alsace, France
  • Interests:Coding, coding and coding !!

Posted 17 August 2014 - 11:33 AM

Don't worry, be happy !!

poulpenoel.gif whistling.gif
Come do the Poulpe dance with us! (Sh3-RG)

C Vitamin is Superior to Dragibus !! (@Fadest) C.V. Rules !!

'asm is what real coders use, all the others are script kiddies' (@CJ)

'HLL is High Level Lamer' (@CJ)

'for each routine we spend 1 week in developement and 2 months in optimising GOOD WORK, C' (@GGN)

C.V.S.D. member of the Jagware community

#6 Saturn

Saturn
  • Members
  • 41 posts

Posted 17 August 2014 - 07:05 PM

QUOTE (SCPCD @ 17 Aug 2014, 05:02) <{POST_SNAPBACK}>
I think that you need to add "-tao" on both command line to use the "Track At Once" writing mode :
The log show that the "-tao" is automaticaly set for the multisession mode (-multi), but the "-sao" (Session At Once) is set for the next session, but in multisession, -tao should always be set.

your command line should be :
CODE
cdrecord -speed=1 -dev=0,1,0 -pad -tao -audio -multi warning.wav
cdrecord -speed=1 -dev=0,1,0 -pad -tao -audio cden16cd.raw pm_dummy.raw trk_2.raw

Sorry to not see it before you write a CD sad.gif

Ha no problem smile.gif Just happy for the help.
Been a coaster creating factory here for the last week so one more wasn't the end of the world for me.

Is there a set of files available somewhere that exactly match what's used in this video? (the "CD Maker" folder) It looks like he converts the files and burns them to disc on his computer then plays them immediately in the Jag CD.

Using the changes to the burn.bat I was able to make a usable CD but I'm prompted to transfer data. Mathias' encryption image deal.
Rubixcube6's site doesn't seem to be available any longer and the tutorial on JSII is long gone so getting started at this late time is difficult. Anyone know of a more detailed tutorial or could possibly write one? Resources seem very limited for n00bs.

Thanks again for the help smile.gif

#7 Matthias

Matthias

    Great giana sister

  • Members
  • Pip
  • 53 posts

Posted 20 August 2014 - 09:31 PM

Hello all!

I stopped working with Cinepak movies for my projects years ago when i learned that i wasn't able to create movies where picture and audio keeps in sync during play. Most of my results were, that after some moments the audio was off about 1 second (but kept this lag), and i was not the only one with this problem. While trying to find the reason for this Scott updated his Windows tool several times but it didn't help me too much (in regards to the said out-of-sync problem).

What are your experiences?

Kind regards
Matthias

#8 Saturn

Saturn
  • Members
  • 41 posts

Posted 27 August 2016 - 07:10 AM

I've been working on this again and able to make an unencrypted cd with the files Ovalbugmann uploaded

Trying to use Skunked CD Encryptor to get the key.ggn file which has worked great. How do I properly use key.ggn to encrypt the final CD?

*can continue reading for the full detailed description or skip to the bottom for the 'boils down to' question

 

It says in the description at the link Follow the Jag's on-screen prompts and you will end up with a file called "key.ggn". This is the file that's needed to be padded & included in your final encrypted CD in place of the dummy hash..

I believe once you have key.ggn you're supposed to run from a command prompt, padcd -2 *100002 key.ggn HOLDER.RAW

My key.ggn file is 0kb when it's transferred from the Skunk. After running the padcd command and creating a new HOLDER.RAW, key.ggn is 64kb. Something doesn't sound right about it being 0kb to start off with.

 

Further down on the page with Skunked CD Encryptor, one of the faq is,

I don't like it. It takes ages and costs 2 CDs to create an encrypted one. Do something about it!

 

See ULS and JiFFI.

 

 

 

Is that 3 CDs total? Based on that and what Ovalbugmann says in the lower half of the 2nd large paragraph in this post, it sounds like it might be 3 CDs total. Quoted below and in bold what makes me think it's 3:

 

It sent the ggn.key or is it key.ggn I think to my C:\skunk folder then I swapped that for my HOLDER.RAW file on the unencrypted version burning folder of the cinepak cd and burned it all to another second CD.   I only recently bought a Windows 7 computer last year, I really like Windows 7.   And the final program to be run PADCD (on key.gnn) would not run on Win7 64-bit OS so I had to take it to my 32-bit Windows XP Home computer (now sitting unused most of the time) and put the files in a folder and clicked PADCD and finally got the actual file to be used on the encrypted CD! in place of HOLDER.RAW.

It's hard to figure this out without a clear guide. Here's what I tried so far with the results being all unencrypted disks, basically:

Steps I've tested:
Insert successfully tested unencrypted CD in JagCD with Skunk plugged in.
Open "cden_skunk" folder, run "jcp -c rbt_cden.abs" to send the program to the Skunk.
Wait a period of time while the program is scanning and MD5'ing the tracks.
Press Pause to send key.ggn to pc when prompted on-screen.
In cden_skunk folder where key.ggn was sent, open cmd.exe and run padcd -2 *100002 key.ggn HOLDER.RAW
-Place new HOLDER.RAW file in a copy of previous burn folder and run burnenc.bat. Fails to encrypt CD
-Place new key.ggn (which is now 64kb instead of 0) in a copy of previous burn folder and run burnenc.bat. Fails to encrypt CD
-Place original key.ggn (0kb) in a copy of previous burn folder and run burnenc.bat. Fails to encrypt CD
-Place original key.ggn (0kb) in a copy of previous burn folder and run burnenc.bat then dump this 2nd CD via Skunk transfer. Place new key.ggn (64kb) file in a copy of previous burn folder and run burnenc.bat. Fails to encrypt CD
-Place original key.ggn (0kb) in a copy of previous burn folder and run burnenc.bat then dump this 2nd CD via Skunk transfer. Place new key.ggn (64kb) file in a copy of previous burn folder and run PADCD command creating new HOLDER.RAW file and run burnenc.bat. Fails to encrypt CD

 

What's the correct way to encrypt the CD?



#9 Saturn

Saturn
  • Members
  • 41 posts

Posted 28 August 2016 - 07:34 AM

Got it! So, never mind on the above. Must have been something with the XP machine as Windows 7 Ultimate 32 bit worked like a charm.

Man, that was a lot of lost/wasted time..





Reply to this topic



  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users