hi,
ich möchte für markad senderlogos erstellen.
wie mache ich das am besten?
hi,
ich möchte für markad senderlogos erstellen.
wie mache ich das am besten?
Schon mal versucht?
Usage: markad [options] cmd <record>
options:
-b --background
markad runs as a background-process
this will be automatically set if called with "after"
-d --disable=<option>
<option> 1 = disable video decoding, 2 = disable audio
decoding, 3 = disable video and audio decoding
-i --ignoreinfo=<info>
ignores hints from info(.vdr) file
<info> 4 = ignore timer info
-l --logocachedir
directory where logos stored, default /var/lib/markad
-p --priority=<priority>
software priority of markad when running in background
<priority> from -20...19, default 19
-r --ioprio=<class>[,<level>]
io priority of markad when running in background
<class> 1 = realtime, <level> from 0..7, default 4
2 = besteffort, <level> from 0..7, default 4
3 = idle (default)
-v --verbose
increments loglevel by one, can be given multiple times
-B --backupmarks
make a backup of existing marks
-G --genindex
regenerate index file
-I --saveinfo
correct information in info file
-L --extractlogo=<direction>[,width[,height]]
extracts logo to /tmp as pgm files (must be renamed)
<direction> 0 = top left, 1 = top right
2 = bottom left, 3 = bottom right
[width] range from 50 to 480, default 192 (SD)
default 288 (HD)
[height] range from 20 to 250, default 100 (SD)
default 180 (HD)
-O --OSD
markad sends an OSD-Message for start and end
-R --log2rec
write logfiles into recording directory
-T --threads=<number>
number of threads used for decoding, max. 16
(default is the number of cpus)
-V --version
print version-info and exit
--loglevel=<level>
sets loglevel to the specified value
<level> 1=error 2=info 3=debug 4=trace
--markfile=<markfilename>
set a different markfile-name
--nopid
disables creation of markad.pid file in recdir
--online[=1|2] (default is 1)
start markad immediately when called with "before" as cmd
if online is 1, markad starts online for live-recordings
only, online=2 starts markad online for every recording
live-recordings are identified by having a '@' in the
filename so the entry 'Mark instant recording' in the menu
'Setup - Recording' of the vdr should be set to 'yes'
--pass1only
process only first pass, setting of marks
--pass2only
process only second pass, fine adjustment of marks
--svdrphost=<ip/hostname> (default is 127.0.0.1)
ip/hostname of a remote VDR for OSD messages
--svdrpport=<port> (default is 2001)
port of a remote VDR for OSD messages
cmd: one of
- dummy-parameter if called directly
after markad starts to analyze the recording
before markad exits immediately if called with "before"
edited markad exits immediately if called with "edited"
nice runs markad with nice(19)
<record> is the name of the directory where the recording
is stored
Alles anzeigen
Beispiel:
markad -L1 - /video/30_Rock/Traumurlaub/2012-04-29.20.10.21-0.rec/
markad: Mon May 21 08:18:26 [6020] starting v0.1.3 (32bit)
markad: Mon May 21 08:18:26 [6020] on /mnt/data/video/30_Rock/Traumurlaub/2012-04-29.20.10.21-0.rec
markad: Mon May 21 08:18:26 [6020] broadcast aspectratio 16:9 (from info)
markad: Mon May 21 08:18:26 [6020] getting broadcast start from directory atime
markad: Mon May 21 08:18:26 [6020] pre-timer 4m
markad: Mon May 21 08:18:26 [6020] broadcast length 20m
markad: Mon May 21 08:18:26 [6020] found H262-video (0x09ff)
markad: Mon May 21 08:18:26 [6020] using libavcodec.so.52.122.0 with 2 threads
markad: Mon May 21 08:18:26 [6020] using codec MPEG-2 video
markad: Mon May 21 08:18:26 [6020] channel TNT_Serie
markad: Mon May 21 08:18:26 [6020] SDTV 720x576i25
markad: Mon May 21 08:18:26 [6020] finished logo extraction
Alles anzeigen
es kommt kein logo-file in /tmp an?!
woher will markad die info laden?
Bsp1:
root@WohnBM2LTS:/logoextract# markad -L1 - /logoextract/Sherlock_-_Ein_Skandal_in_Belgravia/2012-05-19.01.20.1-0.rec/markad: [18478] starting v0.1.3 (32bit)
markad: [18478] on /logoextract/Sherlock_-_Ein_Skandal_in_Belgravia/2012-05-19.01.20.1-0.rec
markad: [18478] failed loading info - logo extraction and pre-/post-timer disabled
markad: [18478] marks can/will be weak!
markad: [18478] found H264-video (0x13ed)
markad: [18478] found AC3 (0x13f2)
markad: [18478] using libavcodec.so.52.20.1 with 4 threads
markad: [18478] using codec H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
markad: [18478] duplicate packet, skipping (0x13ed)
markad: [18478] HDTV 1280x720p50
[h264 @ 0x9e93d50]number of reference frames exceeds max (probably corrupt input), discarding one
markad: [18478] H264 video stream with filler nalu (0x13ed)
markad: [18478] finished logo extraction
root@WohnBM2LTS:/logoextract#
Bsp. 2:
root@WohnBM2LTS:~# markad -L1 - /media/reel/recordings/Punkt_9/2012-05-21.08.57.91-0.rec/
markad: [21342] starting v0.1.3 (32bit)
markad: [21342] on /media/.mount0/recordings/Punkt_9/2012-05-21.08.57.91-0.rec
markad: [21342] failed loading info - logo extraction and pre-/post-timer disabled
markad: [21342] marks can/will be weak!
markad: [21342] found H262-video (0x00a3)
markad: [21342] found AC3 (0x006a)
markad: [21342] using libavcodec.so.52.20.1 with 4 threads
markad: [21342] using codec MPEG-2 video
markad: [21342] SDTV 720x576i25
markad: [21342] duplicate packet, skipping (0x00a3)
markad: [21342] finished logo extraction
root@WohnBM2LTS:~#
Die Infos werden wohl aus der info bzw info.vdr im Aufnahmeordner geladen. Sind die vorhanden? Evtl. mal eine andere Aufnahme testen. Ich hatte auch schon den Fall, dass das Logo erst extrahiert wurde, nach dem ich die Aufnahme zurecht geschnitten habe. Es genügen ein paar Minuten. Am besten ne stelle, wo das Logo auch gut zu erkennen ist.
ich habe den fehler gefunden.
markad versucht einen symlink auf info.txt anzulegen. da dies auf dem nas fehlschlägt kann info nicht geladen werden.
es wäre besser, wenn statt des symlink ein:
cp info.txt info
erfolgen würde ....
root@WohnBM2LTS:~# markad -L1 - /media/reel/recordings/Punkt_9/2012-05-21.08.57.91-0.rec/
markad: [412] starting v0.1.3 (32bit)
markad: [412] on /media/.mount0/recordings/Punkt_9/2012-05-21.08.57.91-0.rec
markad: [412] getting broadcast start from info mtime
markad: [412] broadcast start truncated by 11m, length will be corrected
markad: [412] broadcast length 18m
markad: [412] found H262-video (0x00a3)
markad: [412] found AC3 (0x006a)
markad: [412] using libavcodec.so.52.20.1 with 4 threads
markad: [412] using codec MPEG-2 video
markad: [412] channel RTL_Television
markad: [412] SDTV 720x576i25
markad: [412] duplicate packet, skipping (0x00a3)
markad: [412] finished logo extraction
markad versucht einen symlink auf info.txt anzulegen. da dies auf dem nas fehlschlägt kann info nicht geladen werden.
es wäre besser, wenn statt des symlink ein:
cp info.txt info
markad erstellt keinerlei symlinks, bitte kein FUD. Ich lese "reel" in Deinem Pfad, evtl. ist das der Fehler Irgendwie scheint es einen mir unerfindlichen Grund zu geben, statt dem VDR-Standard info/info.vdr-Dateien eine info.txt-Datei verwenden zu müssen und gleichzeitig nichtmal eine info/info.vdr-Datei als Link zur Verfügung zu stellen. Wenn info.txt und info/info.vdr gleich sein sollen kann ich in markad noch reinprogrammieren das auch danach gesucht wird...
Gruß
Joe_D
Hi,
ZitatWenn info.txt und info/info.vdr gleich sein sollen kann ich in markad noch reinprogrammieren das auch danach gesucht wird...
das wäre super, brauche ich auch
zu den Logos
ZitatAlles anzeigen
markad -L1 - /media/reel/recordings/Punkt_9/2012-05-21.08.57.91-0.rec/
markad: [412] starting v0.1.3 (32bit)
markad: [412] on /media/.mount0/recordings/Punkt_9/2012-05-21.08.57.91-0.rec
markad: [412] getting broadcast start from info mtime
markad: [412] broadcast start truncated by 11m, length will be corrected
markad: [412] broadcast length 18m
markad: [412] found H262-video (0x00a3)
markad: [412] found AC3 (0x006a)
markad: [412] using libavcodec.so.52.20.1 with 4 threads
markad: [412] using codec MPEG-2 video
markad: [412] channel RTL_Television
markad: [412] SDTV 720x576i25
markad: [412] duplicate packet, skipping (0x00a3)
markad: [412] finished logo extraction
Das läuft bei mir auch sauber durch nur leider finde ich kein neues Logo?
Weder im Aufnahmeverzeichnis noch im Logoverzeichnis von markad?
Was mache ich falsch?
bei mir sieht das bei HD so aus:
markad -L1 - /media/reel/recordings/Terra_X_Goldrausch_am_Yukon/2012-05-21.15.55.12-0.rec
markad: [5357] starting v0.1.3 (32bit)
markad: [5357] on /media/.mount0/Terra_X_Goldrausch_am_Yukon/2012-05-21.15.55.12-0.rec
markad: [5357] broadcast aspectratio 16:9 (from info)
markad: [5357] getting broadcast start from directory
markad: [5357] broadcast length 45m
markad: [5357] found H264-video (0x18a6)
markad: [5357] found AC3 (0x18b2)
markad: [5357] using libavcodec.so.52.20.1 with 4 threads
markad: [5357] using codec H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
markad: [5357] channel zdf_neo_HD
markad: [5357] duplicate packet, skipping (0x18a6)
markad: [5357] HDTV 1280x720p50
[h264 @ 0x981b3b0]number of reference frames exceeds max (probably corrupt input), discarding one
markad: [5357] finished logo extraction
Alles anzeigen
Grüße
cinfo
Das läuft bei mir auch sauber durch nur leider finde ich kein neues Logo?
Weder im Aufnahmeverzeichnis noch im Logoverzeichnis von markad?
Ich würde vermuten in /tmp
Die beste aussuchen und umbenennen (die Zahl + _ muss weg)
Was mache ich falsch?
Wenn ich jetzt fies wäre, würde ich sagen Du liest die usage-Infos nicht
-L --extractlogo=<direction>[,width[,height]]
extracts logo to /tmp as pgm files (must be renamed)
<direction> 0 = top left, 1 = top right
2 = bottom left, 3 = bottom right
[width] range from 50 to 480, default 192 (SD)
default 288 (HD)
[height] range from 20 to 250, default 100 (SD)
default 180 (HD)
Ansonsten versuchen den Ausschnitt so klein wie möglich zu halten. Im tmp-Verzeichnis werden Bilder abgelegt mit Namen P0, P1 und P2. P1 und P2 sind nur erforderlich, wenn dort etwas zu sehen ist (vgl. 3SatHD-Logo). Sind P1 und P2 "leer", d.h. überwiegend weiß dann können diese Dateien gelöscht werden.
Nachbearbeiten mit einem Bildprogramm geht zwar auch zerstört aber oftmals unbemerkt den Kommentar-Header in dem die Ecke drinsteht (#Cn), das muss dann manuell nachgeführt werden (dazu am Besten die mitgelieferten Dateien anschauen). Ausserdem ist es wichtig, das bei Logos mit mehreren Planes (P1,P2) das Seitenverhältnis bestehen bleibt. Das zu beachten ist aber nur nötig falls die Bilder manuell nachbearbeitet werden.
Gruß
Joe_D
das wäre super, brauche ich auch
Ist jetzt in der aktuellen GIT-Version drin. Über ein Feedback würde ich mich freuen.
Gruß
Joe_D
Hi,
super --- werde ich testen
Grüße
cinfo
Hi,
die GIT-Version läuft hier ohne sichtbare Fehler und info.txt wird sauber erkannt
Danke
cinfo
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!