ubuntuusers.de

Info : h264enc - The interactive shell script ripper

Status: Ungelöst | Ubuntu-Version: Nicht spezifiziert
Antworten |

20100801

(Themenstarter)

Anmeldungsdatum:
3. Januar 2007

Beiträge: 1050

ChangeLog for version 9.0.8

* Force stereo audio for Nero HE-AACv2 as it doesn't support anything else, thus it results in failure
if user tries to encode with more than two channels. This updates the audio_channels_func() function and
also adds a small new independent one called neroaac_hev2_func() which only sets the channels to two if the
channels array variables are empty, as is the case when the user did not set the channels
* Small improvements to the ABR/VBR default audio bitrates for the neroAacEnc encoder. Base the default bitrates
on the chosen AAC profile, i.e. if user chooses HE-AACv1, default bitrate will be 55 kbps or in case of quality-based
VBR encoding a value of 0.22. For LC-AAC and HE-AACv2, default bitrates and quality values will be 96 kbps or 0.35
and 25 kbps or 0.11, respectively. Note that this assumes the input audio is stereo so if it's anything else than that,
it's up to the user to decide on bitrates or quality values
* Set default to a capital letter in questions where one needs to answer with y or n
* Update to all presets: updated the b_pyramid option to use the new args none/strict/normal present in latest x264 revision.
Note that this requires both latest MPlayer from SVN and latest x264 revision from git
* Small b_pyramid update to the preset.cfg file

h264enc

20100801

(Themenstarter)

Anmeldungsdatum:
3. Januar 2007

Beiträge: 1050

ChangeLog for version 9.0.9

* Replaced a few if conditionals with case statements in the neroaac_audio_func() function
* Sed a comma at the end of resolution detection in case we're dealing with TS files. The default TS
demuxer in MPlayer has a comma at the end of the resolution info which results in errorneous behavior in the bc calculation
* Simplified the resolution detection code
* Some small cleanups

ChangeLog for version 9.1.0

* Implemented a simple telecine detector for NTSC DVDs. Currently it's a dumb solution which can't
distinguish between hard telecine and interlacing but it's enough to detect soft telecine and mixed progressive/telecine
content which is more common
* Simplified the FPS detection code
* Update to all presets: added new weightp x264 option. This requires latest x264 revision from git
* Updated the preset.cfg file. Added weightp option
* Small general code improvements and cosmeti

h264enc

20100801

(Themenstarter)

Anmeldungsdatum:
3. Januar 2007

Beiträge: 1050

ChangeLog for version 9.1.1

* Disabled weightp for the AppleTV presets
* Added new option sliced_threads present in latest x264 from git
* Enabled b_pyramid for some presets that use mbtree as it now works with mbtree
* Updated the preset.cfg file. Added sliced_threads option
* Changed all video ALLOW_* variables in the config file to ALLOW_VID_*
* When using dd to dump a DVD to an ISO, use options noerror,sync and a bs size of 2048
* Added support for sending mails. This requires the 'mailx' program and a valid .mailrc file in the home directory.
Mail notification can be enabled in the config file of h264enc which also offers an example of a gmail setting for .mailrc
* Bumped config file version to 13
* Updated copyright dates

h264enc

20100801

(Themenstarter)

Anmeldungsdatum:
3. Januar 2007

Beiträge: 1050

ChangeLog for version 9.1.2

* Fixed a severe bug that can cause in some cases severe data loss when using a custom temp directory.
It manifests itself when using a 'top' directory as custom temp directory such as a partition mount point or even
the user's home directory. In such cases, the top directory will be deleted upon script termination or when encoding
finishes, resulting in possible massive data loss due to rm -rf $TEMPDIR if TEMPDIR was set to, for example, /home/username
or points to a mount point or another directory that may be important to the user.
From now on, always use a job<pid> directory inside the one set in the TEMPDIR variable so it'll only delete the job<pid>
directory and not its parent one, minimizing possibility of a data loss disaster
* Set nomixed_refs for the iphq/iphhq presets

h264enc

Arminius_von_Xanten

Anmeldungsdatum:
22. Juni 2010

Beiträge: Zähle...

Ich bin von Ubuntu 10.04 auf Linux Mint9 umgestiegen (wegen umfangreicherer Multimedia-Unterstützung). Nun habe ich mir den h264enc installiert und versuche herauszufinden, wie ich damit Videos umwandeln kann. Im Mint-Forum ist dazu überhaupt nichts zu finden und so bin ich von der sourceforge.net-Seite hierhin verwiesen worden. Dies ist meine erste Erfahrung mit Linux-Shellscripten. Bisher bin ich nur bis zur Eingabe des Dateinamens gekommen, denn entweder bekomme ich die Antwort, die Datei sei unauffindbar (vermutlich wenn ein Leerzeichen im Verzeichnis- oder Dateinamen ist) oder die Datei könne nicht ausgeführt werden. Es handelt sich um mpeg2-Dateien.

Army

Anmeldungsdatum:
30. Mai 2006

Beiträge: 1574

Hast du den kompletten Pfad zu der Datei angegeben oder nur den Dateinamen?

Wenn es an dem Leerzeichen scheitern sollte, kannst du auch den Pfad in "" angeben, also zB "/home/arminius/video.mpg"

Klappt es dann jetzt?

Arminius_von_Xanten

Anmeldungsdatum:
22. Juni 2010

Beiträge: Zähle...

Ja, ich hatte den kompletten Pfad angegeben. Inzwischen habe ich noch andere Verfahren ausprobiert und herausgefunden, dass der AAC-Codec fehlt. Daher bin ich auf den VLC unter Windows umgestiegen, denn dort habe ich den Codec. Außerdem ist die Videowiedergabe unter Linux unzumutbar langsam, so dass ich das Thema erst weiter verfolgen werde, wenn sich neue Erkenntnisse (oder Hardware) ergeben.

Army

Anmeldungsdatum:
30. Mai 2006

Beiträge: 1574

Ah ok, ja du kannst mit dem Befehl

h264enc -sc

überprüfen, was an Abhängigkeiten vorhanden ist und was nicht.

Wenn dir der aac codec fehlt, dann kannst den doch bestimmt aus dem Repo nachinstallieren. Wobei ich dir den aac codec von Nero empfehlen möchte, ich glaube der ist besser als die OpenSource-Alternative. Den von Nero findest du unter http://ftp6.nero.com/tools/NeroAACCodec-1.5.1.zip Da suchst dir dann die Datei neroAacEnc raus, kopierst sie als Root nach /usr/local/bin und schaust nochmal mit h264enc -sc nach, ob er auch erkannt wird. Falls nicht, melde dich nochmal, ich kenn mich mit Ubuntu nicht mehr 100%ig aus, daher könnte es sein, dass es so doch nicht ganz funktioniert. Aber müsste eigentlich passen.

Antworten |