dvd

Come masterizzare un file di 4gb (anche) su Linux

Non c'é ancora una soluzione libera(*) e pulita per masterizzare un file più grande di 4gb, questo perché i vari Brasero, K3b, Gnomebaker,.. supportano il filesystem iso e poco quello udf.

Malgrado ciò, con un solo passaggio intermedio si riesce ad ovviare a questo problema.

genisoimage -udf -allow-limited-size -r -J -V "Nome disco" -o ~/masterizzami.iso /percorso/file/grande.avi

A questo punto masterizzate masterizzami.iso col programma che preferite.

(*) A quanto pare NeroLinux non ha questi problemi.

How to burn a file >4Gb in a DVD with UDF

One of the most annoying limitation in Linux Multimedia is that you can't burn a single file >4Gb in a DVD. Try yourself with your favorite GUI: K3b, Brasero, Gnomebaker,.. Fortunatly CLI can help in this task.

K3b support UDF filesystem but the >4gb limitation is still there.

Some debug information with Brasero:

process (BraseroGrowisofs) launching command
process (BraseroGrowisofs) stdout: Executing 'genisoimage -r -input-charset utf8 -graft-points
-D -path-list /tmp/brasero_tmp_5Ymlcj/brasero_tmp_214J0T -exclude-list /tmp/brasero_tmp_5Ymlcj/brasero_tmp_E34J0T
-V MI3 -A Brasero-0.6.1 -sysid LINUX -v | builtin_dd of=/dev/hdc obs=32k seek=0'
process (BraseroGrowisofs) stderr: genisoimage 1.1.6 (Linux)
process (BraseroGrowisofs) stderr: File /media/hdb1/big_file.mkv is larger than 4GiB-1.
process (BraseroGrowisofs) stdout: HUP
process (BraseroGrowisofs) stderr: -allow-limited-size was not specified. There is no way do represent this file size.
Aborting.
process (BraseroGrowisofs) stderr: :-( write failed: Input/output error

Here are the step by step instructions (You need to install before udftools)

dd if=/dev/zero of=file.iso bs=1024 count=4589800
mkudffs file.iso
mkdir /media/tmpdvd # if you haven't already a directory
mount -o loop -t udf file.iso /media/tmpdvd
cp big_file /media/tmpdvd
umount /media/tmpdvd

Burn file.iso with the GUI you prefer, but not with Nautilus-cd-burner because it validates the ISO format.

Vedere i DVD su Ubuntu e altri formati proprietari

Se volete vedere i film in DVD su Ubuntu non basta aver installato i codec di gstreamer, ma dovete anche avere la libreria libdvdcss2.
Per problemi legali questa libreria non viene fornita direttamente da Ubuntu, quindi dovete prenderla altrove.

La guida ufficiale di Ubuntu sui formati proprietari è un po' macchinosa e non permette l'aggiornamento. Visto che Ubuntu è una Debian, approfittiamo di Debian Multimedia(ex Marillat).

Aggiungete su Synaptic, Impostazioni > Archivi pacchetti > Terze parti

deb http://www.debian-multimedia.org etch main

Per sicurezza salvate anche la chiave GPG dell'autore di Debian Multimedia e inseritela dalla tab Autenticazione o con il comando

sudo apt-key add gpgkey.pub

Ricaricate i pacchetti e selezionate:

  • libdvdcss2: serve per decrittare i video dei comuni film su DVD.
  • w32codecs: contiene vari codec come Realvideo, varie versioni di Divx e WMV9

Attenzione

Alcuni pacchetti Debian Multimedia potrebbero andare in conflitto con quelli Ubuntu. Per evitare di avere dipendenze non risolte limitatevi a quelli strettamente necessari non presenti su Ubuntu.