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 8.3.9

* Fixed the cropping code. NTSC content was problematic
* Added support for NTSC Double @ 60 fps

20100801

(Themenstarter)

Anmeldungsdatum:
3. Januar 2007

Beiträge: 1050

Wenn man sich nicht um alles selber kümmert....tzzz

ChangeLog for version 8.5.4

* Added support for DTS, MP3 and MP2 audio for the TS container
* Optimizations to the TS container batch exporting code
* iPod optimizations to the MP4 muxing code
* Enabled neroAAC and Vorbis audio support for the Matroska container
* Updated the audio part of the PS3 presets. Added audio copy support so a
user can just copy the AC3 stream and later on mux it into a TS transport stream.
Note that I'm not sure if the PS3 can play H.264 TS files since the PS3 doc only
mentions MPEG2 TS and PS
* Added tsMuxeR options "insertSEI" and "contSPS" as default when muxing to the TS container
* Small tunings to the ps3vp preset. Made it main profile instead of high profile → ps3hqvp is already
high profile so no need for ps3vp to also be high profile
* Disabled weight_b for the anime presets. According to Dark Shikari (an x264 developer) it decreases
the effectiveness of multiref while providing no benefit
* Do not ask for FPS conversion or pullup/pulldown if the user forces an output frame rate

h264enc

20100801

(Themenstarter)

Anmeldungsdatum:
3. Januar 2007

Beiträge: 1050

ChangeLog for version 8.7.2

* Rewrote and simplified the video_denoise_func() function. Merged the presets with the denoise filters
* Added two Archos 5 presets (ar5 and ar5hq)
* Removed unused global_header variable from h264enc and the preset.cfg file
* Add audio meta-data info for the MKV container when using aac, mp3, ac3 or vorbis audio
* Revert back to the old crop detection method for DVDs as it was more precise in some cases than the
currently used one. This forces the video codec during crop detection to mpeg12 instead of ffmpeg2 as the
-sstep option doesn't play nice with ffmpeg2
* Updated the man page

h264enc

20100801

(Themenstarter)

Anmeldungsdatum:
3. Januar 2007

Beiträge: 1050

ChangeLog for version 8.7.3

* Optimize output file naming for file/vcd encodings. Based on a patch by Jouni Suorsa
* Added support for the dsize video filter
* Added support for VBR audio encoding when using FAAC or neroAacEnc as encoder. This automatically
disables target file size calculation until I find out how to map quality values to bitrates for these codecs

ChangeLog for version 8.7.4

* Proper file extension handling for directory batch encodings
* Removed workaround for bug present in old versions of tsMuxeR. Please upgrade to tsMuxeR version 1.9.1(b).
The previous one is no longer supported
* Optimizations to the Blu-ray and AVCHD muxing code
* Add video fps value to the tsMuxeR meta file for TS/Blu-ray/AVCHD muxing
* User request: add an mplayer variable to the config file where the user can set custom mplayer options.
One should be careful which options he uses as some of them may introduce problems and make h264enc
behave badly. The default option set in the new MPLAYEROPTS variable is '-noconfig all' which disables
parsing of the mplayer config file
* Made the VCD device scanning code a function -> get_vcd_devices_func()
* Updated the -scan option to also support VCD scanning
* Small cleanups

ChangeLog for version 8.7.5 - small improvement/fix

* Dump first subtitle during the first pass of a multipass encode to avoid possible delay problems

h264enc

20100801

(Themenstarter)

Anmeldungsdatum:
3. Januar 2007

Beiträge: 1050

ChangeLog for version 8.7.6

* Bugfix: missing 's' in the sed expression of the MP4OUT variable. This results in
missing output file and will fail when one tries to remux to mp4

ChangeLog for version 8.7.7

* Optimize some variables by replacing piping to sed with VARIABLE1="${VARIABLE2%.*}.ext"
* Move out the built-in -loop 1 mplayer option to the config file's MPLAYEROPTS variable
* Add support for enabling/disabling specific pre/postprocessing filters in the config file.
This adds 7 new variables to the config file where the user can either enable to ask questions
about a specific filter or disable a specific variable, thus skipping questions about the filter
* Moved the video filters code to a new function called video_filters_func(). This also
reduces a bit of code duplication
* Add a new option -e which allows the user to edit the config file directly from within the terminal.
This adds a new variable EDITOR to the config file where the user can set his preferred
text editor (defaults to nano)
* Silence possible dvdxchap warnings
* Updated the man page

ChangeLog for version 8.7.8

- Small bugfix: video filters variables in the config file were not respected when one chooses to encode VCDs.
- Add video title meta-data for MKV and OGM when doing directory batch encodings

h264enc

eazy

Anmeldungsdatum:
12. Mai 2007

Beiträge: 13

Hallo Leute,

habe mich nun auch schon etwas mit dem Tool gespielt und auch ich muss sagen, das Teil ist DER Hammer 😀

Während meiner zahlreichen Versuche ist mir jedoch aufgefallen das die Dateien bei mir am Schluss immer zu groß werden. Nun habe ich mir gedacht das das vermutlich an der Auflösung der Zielvideos liegt. Die ist immer die gleiche wie beim Ausgansmaterial. Meine Frage an euch wäre nun, wo kann ich mir eine geeignete Zielauflösung mit dem Tool berechnen lassen, so das auch das Seitenverhältnis möglichst gut ist?

Danke ☺

Grüße

eazy

Army

Anmeldungsdatum:
30. Mai 2006

Beiträge: 1574

Liegt die Dateigröße weit vom eingegebenen Wert entfernt? Also sagen wir mal, sind es >=5%? Könnte am Ton liegen, hast du da ne variable Bitrate eingestellt oder konstant? Machst du auch schön zwei Durchgänge mit -2p ? Hast es schonmal mit -3p versucht? Ich selbst bevorzuge ja -crf und scheiße auf die Dateigröße, Hauptsache die Qualität stimmt 😉 Trotzdem, wenn das Tool da nicht zuverlässig arbeitet, muss man es verbessern, also entweder nen Patch liefern oder den Entwickler drauf hinweisen.

eazy

Anmeldungsdatum:
12. Mai 2007

Beiträge: 13

Hey,

jep, der Wert liegt weitab von den Vorgaben. Habe 1100 MB angegeben, die Zieldatei war dann aber knapp 2,2 GB groß. Als Audiocodec habe ich Vorbis mit der Standard-Quali von 3 genommen (sind dann laut Programm etwa 112 kbps). Hab das Programm mit "h264enc -2p -p nq" und auch mal mit "hq" aufgerufen. Ausgangsmaterial war ne normale DVD-5 mit ca 2,25 Std Laufzeit. Die Qualität die man normalerweise mit 1,1 GB bekommt würde mir schon genügen 😉 Die Standardauflösung von 720x544 wird vom Programm übernommen, das würde ich aber eben gern kleiner haben. Habe auch die Video-Bitrate vom Programm ausrechnen lassen, das Ergebnis waren dann 1007 kbps.

3-pass und crf habe ich noch nicht probiert. Werde ich evtl nochmal machen. Ich habe die Vermutung das es kein Bug, sondern ein Bedienproblem ist 😀 Habe aber keine Ahnung woran das liegt 😉 Aber mein Hauptanliegen wäre eben die Skalierung wie man es von anderen Programmen wie dem alten GordianKnot kennt 😉

ciao

eazy

20100801

(Themenstarter)

Anmeldungsdatum:
3. Januar 2007

Beiträge: 1050

ChangeLog for version 8.7.9

* Automatically add the shebang line to batch files and make them executable
* Added new variable ALLOW_AUTOCROP to the config file which allows the user to enable or disable automatic cropping
* Added MP3 presets and updated target file size code to support them (requested by Rogério Brito)
* Some minor adjustments to the hq, vhq, ehq, uhq and ihq presets; decrease b-frames by one

ChangeLog for version 8.8.0

* Added deinterlace combinations of Yadif + linear blend, linear interpolation, cubic interpolation,
median deint, ffmpeg deint and lowpass 5
* Cosmetics to the help menu
* Added global audio function audio_filters_func() for calling the resample, volume normalizing and volume filters
* Added 16 new variables to the config file for enabling/disabling of specific audio/video filters and containers: 
ALLOW_FPS_CONVERSION, ALLOW_SCALER_TUNING,
ALLOW_DSIZE, ALLOW_EXPAND, ALLOW_COLORSPACE,
ALLOW_ASPECT, ALLOW_AUD_RESAMPLE, ALLOW_AUD_NORMALIZE,
ALLOW_AUD_VOLUME, ALLOW_MKV_MUXING, ALLOW_MP4_MUXING,
ALLOW_TS_MUXING, ALLOW_OGM_MUXING, 
ALLOW_SAMPLE_ENCODING, ALLOW_SCAN_MULTIPLE_VIDSTREAMS and ALLOW_SCAN_MULTIPLE_AUDSTREAMS, the
last two are only effective on file and directory batch encodings
* Updated the man page

ChangeLog for version 8.8.1

* Use the same name for the log file as the output file name
* Force using the libmpeg2 decoder when encoding DVDs/VCDs (works slightly better in specific cases compared to ffmpeg2)
* Added support for IVTC 59.940 -> 23.976 fps
* Some small code cosmetics

ChangeLog for version 8.8.2 - tiny update

* Add iTunes video title name to MP4 files

h264enc

Army

Anmeldungsdatum:
30. Mai 2006

Beiträge: 1574

eazy schrieb:

3-pass und crf habe ich noch nicht probiert. Werde ich evtl nochmal machen.

crf ist wohl nix für dich, da nimmt der encoder eben, was er für nötig empfindet, soll heißen, ein alter Western, bei dem minutenlang nix passiert im Bild (ich liebe das! 😀 ) wird wohl am Schluss ne kleinere Bitrate haben als ein mörder Actionfilm, bei dem sich ständig was bewegt. Ob 3-pass was bringt, weiß ich echt nicht, aber probier es einfach mal aus.

froggy1

Anmeldungsdatum:
12. Juni 2009

Beiträge: Zähle...

eazy schrieb:

Hallo Leute,

habe mich nun auch schon etwas mit dem Tool gespielt und auch ich muss sagen, das Teil ist DER Hammer 😀

Während meiner zahlreichen Versuche ist mir jedoch aufgefallen das die Dateien bei mir am Schluss immer zu groß werden. Nun habe ich mir gedacht das das vermutlich an der Auflösung der Zielvideos liegt. Die ist immer die gleiche wie beim Ausgansmaterial. Meine Frage an euch wäre nun, wo kann ich mir eine geeignete Zielauflösung mit dem Tool berechnen lassen, so das auch das Seitenverhältnis möglichst gut ist?

Danke ☺

Grüße

eazy

Hi

Reason why you get a 2.2 GB file is because Vorbis audio is only supported by the MP4/MKV/OGM containers. When choosing Vorbis, the AVI will be encoded with PCM (or audio copy) audio (hence the large file size you get) then the audio of the AVI will be encoded to Vorbis. You *must* choose MKV, MP4 or OGM to actually add the Vorbis audio, otherwise you'll only encode it but in the end the encoding will be deleted and you'll be left over with only the big AVI file. To put it simple, Vorbis, AAC from neroAAC and AAC+ are *not* supported in AVI so choose MKV, MP4 or the OGM container.

20100801

(Themenstarter)

Anmeldungsdatum:
3. Januar 2007

Beiträge: 1050

ChangeLog for version 8.8.4

* Added support for adding jpeg/png cover art files to MKV/MP4
* Added audio language meta-info for MP4 and TS files
* Improved audio language meta-info for MKV files. This also adds metadata info for the second audio track
* Fixed a small bug: the --aac-is-sbr mkvmerge parameter should be set to 0:1 for the second
audio track when using aacplusenc as encoder

ChangeLog for version 8.8.3

* Replaced the --noaudio mkvmerge option with -A due to recent options changes in mkvmerge version 2.9.5.
-A also works for older versions so nothing breaks here
* Removed the check_outfile_func() function as its code has been added to the set_output_filename_func() function,
which also has been improved
* Added support for FLAC audio in MKV
* Removed some code duplication in the MKV metadata tagging code

h264enc

eazy

Anmeldungsdatum:
12. Mai 2007

Beiträge: 13

Hallo,

habe das Problem nun gelöst indem ich das Video mit dem postprocessing filter auf eine andere Auflösung verkleinert habe. Leider gab es da bei der Auswahl der optimalen Auflösung keine Auto-Hilfe.

@froggy1 Thanks for the hint. Did the audio-encoding in AAC. Worked well for me ☺ The mkv-conversion didn't work for me in the first place. Did the installation after the h264enc-install. Had to manually edit the config.

Thanks for your help guys ☺

Grüße

eazy

20100801

(Themenstarter)

Anmeldungsdatum:
3. Januar 2007

Beiträge: 1050

ChangeLog for version 8.8.5

* Update to the video_subtitles_func() function: for DVD encodings, added support for importing up to
three external subtitles into MKV/MP4/OGM. Also added support for hardcoding an external subtitle into the movie
* Updated the MKV/MP4/OGM muxing code to support imports of external subtitles
* Increased Psy RD from 0.5 to 0.6 for some presets
* If dumping of the second and/or third DVD subtitle fails and user has selected to import the subs into MKV/MP4,
force an exit since container conversion will fail as the muxing programs will complain about the missing subs. If no
container conversion is chosen or user has chosen not to import the subs and dumping of subs fails, just continue
since there's nothing critical in this case
* Use mplayer -really-quiet option instead of redirection to /dev/null when dumping audio to a named pipe for
neroAAC/Vorbis/AAC+ encoding
* Some small updates to the man page
* Updated the AUTHORS file

h264enc

froggy1

Anmeldungsdatum:
12. Juni 2009

Beiträge: 2

@eazy

have a look at the -r option which resets the config file. Every time you install a required program *after* h264enc has generated its config file, you have to reset the config so it can find the newly installed program 😉