bardiir
Aktives Mitglied
Thread Starter
- Dabei seit
- 31.03.2009
- Beiträge
- 743
- Reaktionspunkte
- 66
Hi zusammen,
ich hab mich die letzten Tage damit beschäftigt, wie ich meine Videos in MP4(H.264) konvertieren kann fürs iPhone und hab dabei einiges an Fertiglösungen durchprobiert, hab aber keine gefunden, welche mehrere Cores benutzt beim konvertieren (auf nem MacPro natürlich ärgerlich) und stabil war.
Daher hab ich mir dann doch die Mühe gemacht, ffmpeg inkl. h.264, aac,... mit multi-core support mal zusammenzustückeln als CLI. Ich hab das ganze in ne Anleitung gepackt für alle Interessenten:
http://bardiir.net/osx/ffmpeg
Gegen Ende ist auch der Befehl eingetragen, mit dem ich derzeit meine Videos fürs iPhone konvertier. Womit ich nicht ganz klar komm ist 2-pass. Wenn ich ein Video im 2-pass Verfahren encode dann syncen die nicht aufs iPhone.
Also:
funktioniert,
aber
pass1:
pass2:
funktioniert nicht. iTunes nimmt die Videos an, spielt die Problemlos ab aber die werden bei der synchronisation mit dem iPhone schlicht ignoriert
Jemand ne Idee woran das liegen könnte?
ich hab mich die letzten Tage damit beschäftigt, wie ich meine Videos in MP4(H.264) konvertieren kann fürs iPhone und hab dabei einiges an Fertiglösungen durchprobiert, hab aber keine gefunden, welche mehrere Cores benutzt beim konvertieren (auf nem MacPro natürlich ärgerlich) und stabil war.
Daher hab ich mir dann doch die Mühe gemacht, ffmpeg inkl. h.264, aac,... mit multi-core support mal zusammenzustückeln als CLI. Ich hab das ganze in ne Anleitung gepackt für alle Interessenten:
http://bardiir.net/osx/ffmpeg
Gegen Ende ist auch der Befehl eingetragen, mit dem ich derzeit meine Videos fürs iPhone konvertier. Womit ich nicht ganz klar komm ist 2-pass. Wenn ich ein Video im 2-pass Verfahren encode dann syncen die nicht aufs iPhone.
Also:
Code:
ffmpeg -threads 8 -y -i "$FILE" -r 25 -vcodec libx264 -s "$WIDTH"x"$HEIGHT" -flags +loop -cmp +chroma -deblockalpha 0 -deblockbeta 0 -crf 24 -b "$BITRATE"K -bt "$BITRATE"K -refs 1 -coder 0 -me_range 16 -subq 5 -partitions +parti4x4+parti8x8+partp8x8 -g 250 -keyint_min 25 -level 30 -qmin 10 -qmax 51 -trellis 2 -sc_threshold 40 -i_qfactor 0.71 -acodec libfaac -ab 128k -ar 44100 -ac 2 "${FILE%.*}.mp4"
funktioniert,
aber
pass1:
Code:
ffmpeg -i "$FILE" -y -an -pass 1 -s "$WIDTH"x"$HEIGHT" -vcodec libx264 -b "$BITRATE"K -flags +loop -cmp +chroma -partitions 0 -subq 1 -trellis 0 -refs 1 -coder 0 -me_range 16 -g 300 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -bt "$BITRATE"K -maxrate 10M -bufsize 10M -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -level 30 -aspect "$WIDTH":"$HEIGHT" -threads 8 "${FILE%.*}.mp4"
pass2:
Code:
ffmpeg -i "$FILE" -y -acodec libfaac -ab 128k -pass 2 -s "$WIDTH"x"$HEIGHT" -vcodec libx264 -b "$BITRATE"K -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -subq 5 -trellis 1 -refs 1 -coder 0 -me_range 16 -g 300 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -bt "$BITRATE"K -maxrate 10M -bufsize 10M -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -level 30 -aspect "$WIDTH":"$HEIGHT" -threads 8 "${FILE%.*}.mp4"
funktioniert nicht. iTunes nimmt die Videos an, spielt die Problemlos ab aber die werden bei der synchronisation mit dem iPhone schlicht ignoriert
Jemand ne Idee woran das liegen könnte?
Zuletzt bearbeitet: