Hallo,
ich bin zwar neu bei Plex aber schon ein älterer Hase was Linux, vdr aber vor allem Storage im Allgemeinen angeht. Ich experimentiere seit ein paar Tagen mit Plex (0.9.9) auf Ubuntu (14.04) auf einem Shuttle Barebone mit Core2Duo und 2GB RAM - vieles funktioniert auch schon echt gut und ich bin sehr zufrieden. Mittelfristiger plan ist es meine knapp 2TB VDR (.ts und .vdr) Aufnahmen nach und nach in ein "Plexfreundliches" Format zu transkodieren dazu nutze ich avidemux 2.6.
Testweise habe ich ein paar .vdr Aufnahmen als auch .ts Files in folgendes Format umgewandelt:
Video Output (Mpeg4 AVC x264), Audio Output AAC (lav), Output Format MP4v2 Muxer
Als Clients nutze ich aus jedem Dorf ein Kind (Android, iOS, Samsung TV und zwei Macs) somit suche ich ein gutes Format das auf allen Geräten funktioniert. Ich bin nicht ganz sicher wie Plex intern arbeitet und ob er ALLE Wiedergaben IMMER quasi on-demand transkodieren muss oder ob es am Client liegt. In einem schnellen Test sieht es so aus als würde er transkodieren:
Sep 07, 2014 14:06:38 [0x7f43957fa700] DEBUG - Session was stopped. Sep 07, 2014 14:06:38 [0x7f43b9ffb700] DEBUG - Starting a transcode session 1fk7v6aivx1 at offset 470.0 (stopped=1) Sep 07, 2014 14:06:38 [0x7f43b9ffb700] DEBUG - Job running: /usr/lib/plexmediaserver/Resources/Plex New Transcoder -ss 470 -i /home/plex/Videos/27_Dresses/27_Dresses.mp4 -threads 0 -y -segment_format mpegts -f segment -loglevel quiet -loglevel_plex error -map_metadata -1 -progressurl http://127.0.0.1:32400/video/:/transcode/session/1fk7v6aivx1/progress -vcodec copy -flags -global_header -segment_time 10 -segment_start_number 47 -bsf h264_mp4toannexb,h264_plex -map 0:0 -sn -acodec aac -strict -2 -cutoff 15000 -ac 2 -map 0:1 -ab 128k media-%05d.ts Sep 07, 2014 14:06:38 [0x7f438ffff700] ERROR - [Transcoder] [h264 @ 0x34fafc0] time_scale/num_units_in_tick invalid or unsupported (0/0) Sep 07, 2014 14:06:38 [0x7f438cff9700] INFO - [Transcoder] Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/plex/Videos/27_Dresses/27_Dresses.mp4': Sep 07, 2014 14:06:38 [0x7f43ba7fc700] INFO - [Transcoder] Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 1266 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc Sep 07, 2014 14:06:38 [0x7f4396ffd700] INFO - [Transcoder] Stream #0:1(und): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, stereo, fltp, 128 kb/s Sep 07, 2014 14:06:38 [0x7f438f7fe700] DEBUG - [Transcoder] Average FPS ~ 25 fps, Frame rate ~ 25 fps. Sep 07, 2014 14:06:38 [0x7f43b9ffb700] DEBUG - [FFMPEG] Duration: 5968 Sep 07, 2014 14:06:38 [0x7f43b9ffb700] DEBUG - Read line, and done: 1 Sep 07, 2014 14:06:38 [0x7f43b9ffb700] DEBUG - Started session successfully: 1fk7v6aivx1 Sep 07, 2014 14:06:38 [0x7f439ffff700] INFO - [Transcoder] Output #0, segment, to 'media-%05d.ts': Sep 07, 2014 14:06:38 [0x7f4387fff700] INFO - [Transcoder] Stream #0:0: Video: h264 (avc1 / 0x31637661), yuv420p, 720x576 [SAR 64:45 DAR 16:9], q=2-31, 1266 kb/s, 25 fps, 90k tbn, 25 tbc Sep 07, 2014 14:06:38 [0x7f43baffd700] INFO - [Transcoder] Stream #0:1: Audio: aac, 48000 Hz, stereo, fltp, 128 kb/s Sep 07, 2014 14:06:38 [0x7f43977fe700] DEBUG - Request: [127.0.0.1:35725] PUT /video/:/transcode/session/1fk7v6aivx1/progress?width=1024&height=576 (25 live) Sep 07, 2014 14:06:38 [0x7f43977fe700] DEBUG - * width => 1024 Sep 07, 2014 14:06:38 [0x7f43977fe700] DEBUG - * height => 576 Sep 07, 2014 14:06:38 [0x7f43977fe700] DEBUG - We want 6 segments ahead, last returned was -1 and max is -1. Sep 07, 2014 14:06:38 [0x7f43977fe700] DEBUG - It took 0.000017 sec to serialize a list with 0 elements. Sep 07, 2014 14:06:39 [0x7f4397fff700] DEBUG - Sending back blank segment for 1, we got started with an offset. Sep 07, 2014 14:06:39 [0x7f4397fff700] DEBUG - Returning segment 1 from session: /usr/lib/plexmediaserver/Resources/empty.ts Sep 07, 2014 14:06:39 [0x7f4397fff700] DEBUG - Content-Length of /usr/lib/plexmediaserver/Resources/empty.ts is 188. Sep 07, 2014 14:06:39 [0x7f43b8ff9700] DEBUG - We're in a seek: asked for 78, min/max available was 47/47 Sep 07, 2014 14:06:39 [0x7f43b8ff9700] DEBUG - Segment #78 WON. Sep 07, 2014 14:06:39 [0x7f43b8ff9700] DEBUG - Killing job. Sep 07, 2014 14:06:39 [0x7f43b8ff9700] DEBUG - Signalling job ID 23694 with 9 Sep 07, 2014 14:06:39 [0x7f43b8ff9700] DEBUG - Job was already killed, not killing again. Sep 07, 2014 14:06:39 [0x7f43b8ff9700] DEBUG - Stopping transcode session 1fk7v6aivx1
Bevor ich nun anfange 2TB in ein Format zu konvertieren das suboptimal ist frage ich lieber mal nach: Ist das o.g Format "sinnvoll" und wenn ja gibt es optimierte Settings? Kann ich dieselben Einstellungen für HD .ts Files als auch SD .vdr Files nehmen?
Freue mich auf Eure Rückmeldungen und Gruß aus NRW
Markus