Grafburn cd burner - new version 0.10.1

Stuff that has yet to be sorted into a category.
Message
Author
User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#46 Post by Lobster »

Nathan F wrote:The fact that it refers to Puppy-2.13 by the codename (Star) makes me think the post might have been from Lobster. I bet the board is just acting screwy,
Nathan
Yes it was me . . .
Lobster :?
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
Nathan F
Posts: 1764
Joined: Wed 08 Jun 2005, 14:45
Location: Wadsworth, OH (occasionally home)
Contact:

Version 0.5 uploaded

#47 Post by Nathan F »

I just uploaded version 0.5 of Grafburn. This version implements very basic audio cd creation and encoding, with support for ogg, mp3, and wav. At some point in the future I will expand this to include flac and m4a. PlineJ will be pleased to note that it now calls the defaulttexteditor to display the helpfile rather than using rox as a handler. I also commented out some code that was giving me problems in the iso creation stage, and it now works more reliably.

The audio capabilities are quite basic, and the output is hardcoded for stereo at 44.1Khz. There are no fancy playlists or file selection dialogs, instead you just burn an entire directory of audio files, either directly or first encoding to the format of your choice. It uses ffmpeg for encoding to mp3 or wav, and sox for encoding to ogg because Puppy's stock ffmpeg cannot output ogg files. I've also edited the included help and added a changelog to it.

There is still some more work to be done on this, mainly cleaning up the dialog text and adding configuration options. I also need to come up with a better way to display feedback during the encoding stage than popping it up in rxvt, because the program is popping up too many windows now. But for my uses this is already quite usable.

I may fork this in a week or two, creating a Puppy-specific version and a Grafpup specific version. I have svg support in Grafpup's gtk and want to use svg icons in the application, and will probably include PlineJ's recompiled ffmpeg. Also the Grafpup version will reside in a different location. I may also be adding an updated gtkdialog to Grafpup in order to access the new style file selection dialog. At the point this happens I will probably stop work on the Puppy specific version, and ask that if anyone else wants to see it developed further then you are welcome to take it over.

This version comes in both unleashed and dotpup format. Uninstall any previous versions before installing, to avoid duplicate entries in the package manager.

Nathan
Bring on the locusts ...

AndyMack
Posts: 47
Joined: Thu 09 Nov 2006, 16:33

#48 Post by AndyMack »

is the burning of bin/cue files supported at all?

User avatar
Nathan F
Posts: 1764
Joined: Wed 08 Jun 2005, 14:45
Location: Wadsworth, OH (occasionally home)
Contact:

#49 Post by Nathan F »

I only know of three things that can read a bin/cue file under *nix. None are in Puppy, so I can't easily add that capability to my program. For the record you can use:

Mplayer
Cdrdao
The Cdemu kernel module (from the same guys who submitted the Mplayer patch for bin/cue)

If anyone is interested, cdrdao would probably be easiest to get running in Puppy. I have no idea if any of the current Mplayer packages have this capability or not.

Nathan
Bring on the locusts ...

User avatar
Nathan F
Posts: 1764
Joined: Wed 08 Jun 2005, 14:45
Location: Wadsworth, OH (occasionally home)
Contact:

#50 Post by Nathan F »

Another version is already in the works. I've finally figured out the right settings for burning a directory of wav's as a conventional audio cd, so the next version of Grafburn will do that. I've added several more settings to the preferences manager and started using them in the burning stage also, things like speed, device name, and sampling rate for encoding audio. Plus I'll be streamlining the process by removing extra windows and dialog boxes.

One thing I need to redesign, is the way the audio encoding stage works. Right now it pops up a new rxvt window for each one, but I want to move the function to an external script so I can just call rxvt once. I designed it the way I did so that there is a minimum of interaction, the user doesn't even have to input the format the songs are in because the program finds checks the files.

Anyway, probably two days till version 0.6, which should be well worth it. It's getting closer now to what I envision as a 1.0 release.

Nathan
Bring on the locusts ...

User avatar
john biles
Posts: 1458
Joined: Sun 17 Sep 2006, 14:05
Location: Australia
Contact:

#51 Post by john biles »

Hello Nathan F,
First thank you for creating this Burner, It will do alot for Puppy and Grafpup.
I have couple questions. Does version 0.5 support the burning of data files to CD and or DVD?
I want to be able to burn all my downloaded Dotspup's and Photo's eg jpeg's, bmp's to CD and or DVD.
It would also be nice to burn WMA, AVI's to CD etc.
Can folders be burnt to CD and or DVD containing a mixture of files?
Legacy OS 2017 has been released.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#52 Post by MU »

yes, in 2 steps.
First choose to create an ISO.
It lets you choose folders.
Then choose to burn a CD, this lets you choose the ISO you just created.

Mark

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

RW-DVD's are autoblanked

#53 Post by Lobster »

Nathan it might be useful to be aware that RW-DVD's are autoblanked
by the burn2CD wizard if containing data
http://www.murga-linux.com/puppy/viewto ... 1524#91524
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

amish
Posts: 615
Joined: Sun 24 Sep 2006, 23:15

#54 Post by amish »

Nathan F wrote:If anyone is interested, cdrdao would probably be easiest to get running in Puppy. I have no idea if any of the current Mplayer packages have this capability or not.
yes! i'm on three puppy-related crusades at the moment. if you made a package that installed cdrdao, and made something that burned .iso files with cdrdao, i could focus entirely on the other two. I AM INTERESTED. thank you. cdrecord (for .iso files anyway) has no future. thanks again.
sadly, it is not possible to separate politics from free software. free software - politics = unfree software.

User avatar
Nathan F
Posts: 1764
Joined: Wed 08 Jun 2005, 14:45
Location: Wadsworth, OH (occasionally home)
Contact:

#55 Post by Nathan F »

Well at present I'm not going to change Grafburn to use cdrdao, because it's not in Puppy. I can't rule out changing it in the future, or adding support if cdrdao is founf, but in that case it might be a while before it happens anyway.

I have gone ahead and compiled cdrdao, and will post it into a different thread. It seems straightforward enough right now, just read the docs and you should be up and running. All command line at present.

Nathan
Bring on the locusts ...

User avatar
Nathan F
Posts: 1764
Joined: Wed 08 Jun 2005, 14:45
Location: Wadsworth, OH (occasionally home)
Contact:

#56 Post by Nathan F »

Version 0.6 is uploaded. The tweaks are mainly in the preferences manager, and in the use of the preferences. See the changelog for details. This version also fixes audio cd creation so that burning an audio cd from a folder full of wav files will result in a disk that can play on any cd player (theoretically), so in that sense this is a major upgrade. Most of the planned features are now implemented, so from here on out it will be mainly bugfixes.

Nathan
Bring on the locusts ...

amish
Posts: 615
Joined: Sun 24 Sep 2006, 23:15

#57 Post by amish »

molto grazie, nathan :)

User avatar
Nathan F
Posts: 1764
Joined: Wed 08 Jun 2005, 14:45
Location: Wadsworth, OH (occasionally home)
Contact:

#58 Post by Nathan F »

I'm looking into different audio codecs for the next release, in particular I have found a lot of music online lately in .ape and .flac formats. The problem is, Puppy doesn't have tools to deal with either format. The .ape files are in the mac (Money's Audio Codec) format, which is a proprietary Windows based codec. There is a port of mac to *nix and it works just fine under Puppy. I think I'll package it up and add an option in Grafburn to convert to and from mac, if the program finds a mac executable in it's $PATH.

Flac audio might be more tricky. I have the flac source package downloaded but don't know if it in itself contains the tools to convert to and from flac, or if it's just libraries.

I can add wma support if someone has Plinej's ffmpeg package installed. I haven't had time to look too far into m4a and how it would be decoded in Linux. I have a lot of m4a files leftover from when I actually used Windows and Nero, and I can listen to them in Rhythmbox using Fedora, but I don't know what program or library is providing that support. I don't think it's in Puppy right now.

There is a possible problem with how Grafburn produces audio cd's right now. It automatically deletes anything in the temp directory if you decide to encode audio. The potentialproblem is if you set the temp directly to something like /root or /mnt/home, or a partition that already has information you want on it. This could potentially be like a disastrous rm -R, so I need to implement some sanity checks when setting the temp directory. In the meantime, please don't do anything stupid with it!

Nathan
Bring on the locusts ...

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#59 Post by plinej »

I packaged up mac quite a long while back and it's on MU's site at:

http://www.dotpups.de/dotpups/Multimedia/mac-3.99.pup

Dougal packaged up flac 1.1.3 at:

http://www.dotpups.de/dotpups/Multimedi ... 3-base.pup

That contains everything you need to encode/decode flac files.

As far as m4a is concerned try to decode with my newer ffmpeg package. I'm not sure if it's supported or not and have no m4a files to test with.

User avatar
Nathan F
Posts: 1764
Joined: Wed 08 Jun 2005, 14:45
Location: Wadsworth, OH (occasionally home)
Contact:

#60 Post by Nathan F »

Thanks for the links and info. I was wondering, what would be an easy way to test for your upgraded ffmpeg package in the shell, so I can add in wma support? I guess I could look at your Pbcdripper and figure it out, but it's easier to ask.

Nathan
Bring on the locusts ...

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#61 Post by plinej »

Here's some more help with flac:

To decode:
flac -d input.flac
To encode:
flac -6 input.wav
(The six could be any number 1 thru 8, the higher the more compression)
You can also have your output files output to a different directory by adding the output-prefix switch:
flac -6 input.wav --output-prefix=/mnt/sda1/
One other thing is you can use the asterik for multiple input files:
flac -6 *.wav

As for testing for a ffmpeg package that supports wma, I'm not sure. PBcdripper will try to encode to wma if it's selected and if it fails there will be a Xdialog popup telling the user to upgrade ffmpeg.

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#62 Post by plinej »

You should be able to do this:

ffmpeg -formats | grep wma

If there's a D than decoding is supported
an E and encoding is supported

The only thing is for my ffmpeg package there's no E but it does encode so I'm not sure what that's all about.

I haven't tried this with the stock ffmpeg so I'm unsure if it shows up under that too. The thing is I know the stock ffmpeg doesn't encode wma (can't remember if it decodes).

User avatar
Nathan F
Posts: 1764
Joined: Wed 08 Jun 2005, 14:45
Location: Wadsworth, OH (occasionally home)
Contact:

#63 Post by Nathan F »

Many thanks. I'm just now sitting down to get to work on Grafburn again and the help is muich appreciated.

Nathan
Bring on the locusts ...

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#64 Post by plinej »

As far as removing the files in the selected temp directory you could just create a directory inside the selected temp directory like grafburn-temp or something. Then just remove it and re-make it when grafburn starts.

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#65 Post by plinej »

If you need any more help you can look at the code from my PupLosslessAudioTool which is at:

http://www.murga-linux.com/puppy/viewto ... 68&t=13777

It will transcode between wav, shn, flac, ape, and mp3 (lossy of course).

Post Reply