[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_mod_mdbanner.php on line 38: getimagesize(http://www.stockphotothailand.com/forums/images/banner/MainBannerShutterstock922.jpg): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_mod_mdbanner.php on line 38: getimagesize(http://www.stockphotothailand.com/forums/images/banner/Dreamstime.jpg): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_mod_mdbanner.php on line 38: getimagesize(http://www.stockphotothailand.com/forums/images/banner/Depositphotos.jpg): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_mod_mdbanner.php on line 38: getimagesize(http://www.stockphotothailand.com/images/banners/BookAD-520-300.jpg): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_mod_mdbanner.php on line 38: getimagesize(http://www.stockphotothailand.com/images/Stories/BannerWebboad/Freepik.jpg): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_mod_mdbanner.php on line 38: getimagesize(http://www.stockphotothailand.com/images/%E0%B8%A1%E0%B8%AD%E0%B9%83%E0%B8%AB%E0%B8%A1%E0%B8%88%E0%B8%B0%E0%B9%84%E0%B8%9B%E0%B9%84%E0%B8%A7.png): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_mod_mdbanner.php on line 38: getimagesize(http://www.stockphotothailand.com/images/%E0%B9%80%E0%B8%A3%E0%B8%A1%E0%B8%95%E0%B8%99%E0%B9%83%E0%B8%AB%E0%B8%A1%E0%B9%84%E0%B8%9B%E0%B9%80%E0%B8%A3%E0%B8%A72.png): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4752: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4754: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4755: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4756: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Stockphotothailand ชุมชนคนขายภาพออนไลน์ เพื่อคนขายภาพถ่าย ภาพเว็คเตอร์ คลิปวิดีโอ ออนไลน์ • แสดงกระทู้ - เข้ามาแชร์เรื่องการ codec วีดีโอครับ

เข้ามาแชร์เรื่องการ codec วีดีโอครับ

บอร์ดเกี่ยวกับ Stock Video โดยเฉพาะ ***กรุณางดการลงลิ้งก์ Affiliate และ Referral ทุกชนิดในเนื้อหากระทู้และลายเซ็น ลงลิ้งก์ได้เฉพาะ Portfolio หรือ Gallery สำหรับโชว์ผลงานในไมโครสต็อก และลิ้งก์ไปยังเว็บไซต์หรือบล็อกต่างๆ ที่เกี่ยวข้องกับการถ่ายภาพและขายภาพเท่านั้น***
กฎการใช้บอร์ด
***กรุณางดการลงลิ้งก์ Affiliate และ Referral ทุกชนิดในเนื้อหากระทู้และลายเซ็น ลงลิ้งก์ได้เฉพาะ Portfolio หรือ Gallery สำหรับโชว์ผลงานในไมโครสต็อก และลิ้งก์ไปยังเว็บไซต์หรือบล็อกต่างๆ ที่เกี่ยวข้องกับการถ่ายภาพและขายภาพเท่านั้น***

เข้ามาแชร์เรื่องการ codec วีดีโอครับ

โพสต์โดย athurlouise » 19 เม.ย. 2012 00:46

เป็นเนื้อหาที่หาเจอโดยบังเอิญช่วงที่ยังสับสนอยู่ว่าแบบไหนต่างกันยังไง แม้เป็นข้อมูลไม่มากแต่อยากให้เพื่อนๆ ลองอ่านไว้เป็นเกร็ดเล็กเกร็ดน้อยละกันครับ
เครดิตจาก http://underpk.com/featured-contents/ni ... rew-kramer

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------

วันนี้หลังจากกลับมาจากมหาวิทยาลัยก็ว่างครับ และพอดีกำลังเก็บไฟล์ After Effect ให้เข้าที่เข้าทาง ก็เลยเกิดสงสัยขึ้นมาว่าเอะ… ปกติเค้าเรนเดอร์ภาพกันออกมาฟอร์แมตอะไร codec อะไรกันบ้าง โดยปกติแล้วผมจะเรนเดอร์อยู่สอง-สามอย่าง อย่างแรกคือ QuickTime Movie – PhotoJPG 100% quality ในกรณีที่ต้องการเก็บไฟล์เอาไว้ อย่างที่สองและสามคือ QuickTime Movie H.264 หรือ H.264 PAL* แล้วแต่กรณีไฟล์ออกมาเป็น .mov กับ .mp4 ตามลำดับ เอาไว้สำหรับอัพโหลดขึ้นเว็บเช่น youtube หรือ vimeo เพราะได้ไฟล์ที่มีขนาดเล็กและคุณภาพดี แต่มีข้อเสียคือ contrast จะตกลงไป สีสดๆจะดูซีดลง ผมก็เลยลองหาข้อมูลดู ปรากฏว่าก็ไปเจอทิปเล็กๆแต่มีประโยชน์มากจาก blog ของคุณ Andrew Kramer ครับ อาจจะเก่าหน่อย แต่ใช้ได้เสมอ คุณ Andrew Kramer แนะนำมาว่านอกจากที่เราจะเรนเดอร์ออกมาเป็นภาพไม่ว่าจะเป็น PNG หรือ TIFF ด้วยความที่มันเป็นไฟล์ประเภท uncompressed** แล้ว ถ้าเกิดเราจะเรนเดอร์ออกมาเป็นไฟล์เดียวหรือไฟล์ video เค้าแนะนำให้ใช้เป็น QuickTime Movie (.mov) และสำหรับ codec เค้าแนะนำมา 3 อย่างครับ
1. PhotoJPG ที่ 95% quality

ไฟล์เล็กกว่า
บีบอัดเร็ว
นำมาใช้ได้หลายๆครั้งก่อนที่ไฟล์จะคุณภาพเสีย (หมายถึงการนำไฟล์เรนเดอร์ไปใช้ซ้ำในงานอื่นๆ)
239 MBs สำหรับงานหนึ่งนาที @ 864?480 29.97fps
1 นาทีใช้เวลา 1:18

2. PNG

ไฟล์ขนาดกลาง
บีบอัดนานมากๆ
เป็น codec ประเภท uncompressed อยู่แล้ว จึงไม่มีปัญหากับการนำกลับมาใช้ใหม่
952 MBs สำหรับงานหนึ่งนาที @ 864?480 29.97fps
1 Minute ใช้เวลา 8:44

3. Animation

ไฟล์ใหญ่
บีบอัดเร็ว
เป็น codec ประเภท uncompressed อยู่แล้ว จึงไม่มีปัญหากับการนำกลับมาใช้ใหม่
1.9 GBs สำหรับงานหนึ่งนาที @ 864?480 29.97fps
1 Minute render took 1:35

จะเห็นได้ว่า Animation codec นั้นคงเป็นทางเลือกสำหรับคนที่มีพื้นที่ HDD เยอะๆครับเพราะว่ากินพื้นที่เยอะมาก ในขณะเดียวกัน PhotoJPG เองก็ให้คุณภาพไฟล์งานที่ดีเช่นกันและไฟล์มีขนาดเล็กกว่า ส่วน PNG นั้นจริงอยู่ที่เป็น uncompressed แต่มีข้อเสียคือใช้เวลาบีบอัดนาน (เรนเดอร์นาน) ครับ ก็คงจะพอพูดได้ว่า สำหรับงานทั่วไปเลือก PhotoJPG ไว้ก่อน แล้วถ้าเป็นงานสำคัญๆที่ต้องการคุณภาพมากๆการเลือก Animation ก็เป็นตัวเลือกที่ดี
สิ่งที่ไม่ควรทำ

ใช้ delivery format*** ในการเรนเดอร์ไฟล์งาน (เพื่อนำไปใช้ต่อ) เช่น H.264, Sorensen หรือ MPEGs ต่างๆ
Jump off of a moving train เข้าใจว่าเป็นสำนวน ผมไม่แน่ใจว่าแปลว่าอย่าเสี่ยงหรือเปล่านะครับ
ไม่วางแผนก่อนทำงาน

ทั้งหมดนี่เป็นคำแนะนำจากคุณ Andrew Kramer ครับ ก็ต้องขอขอบคุณไว้ตรงนี้ด้วย คือบางทีเรารู้ครับว่าอันใหนดีกว่าอันใหน แต่ไม่รู้ว่าเพราะอะไร อย่างเรื่องของ uncompressed นี่ก็เป็นอีกเรื่องนึงที่น่าคิดเหมือนกันครับ (อ่านต่อข้างล่าง)
เพิ่มเติมจากข้างต้น
* Render Setting สำหรับเว็บออนไลน์

ตรงนี้เป็นค่าที่ผมใช้เวลาอัพงานขึ้นเว็บนะครับ

[h264]

การเซตบิทเรทสูงๆไม่ได้มีประโยชน์อะไรมากมายนักเวลาอัพไฟล์ขึ้นเว็บนอกจากจะทำให้ไฟล์ใหญ่ขึ้นจนเกินความจำเป็น เพราะสุดท้ายเว็บจะ re-render ไฟล์ของเราใหม่อยู่ดี สำหรับการ streaming (ตามที่ผมเข้าใจ) VBR มาจากคำว่า Variable Bit-rate คือค่าบิทแรทจะอยู่ในช่วงที่เรากำหนด ในที่นี้คือ เราต้องการบิทเรทที่ 5 Mbps และให้มีค่าบิทเรทสุงสุดได้ที่ 8 Mbps ขึ้นอยู่กับสีในแต่ละเฟรม ส่วน CBR จะใช้ค่าคงที่เท่าเดิมตลอดไม่ว่าภาพ ณ เฟรมนั้นจะไม่มีอะไรเลยก็ตาม ขนาดจะใหญ่กว่า (กล่าวได้ว่า ขนาดไฟล์ใหญ่ขึ้นโดยไม่เกิดประโยชน์)
** Uncompressed File Format

Uncompressed image คือไฟล์ที่ไม่ถูกบีบอัดใดๆ ทำให้คุณภาพของภาพไม่ลดลงไปจากต้นฉบับ ไฟล์ประเภทนี้ที่เราใช้กันบ่อยๆก็คือ PNG, TIFF, TARGA, PSD ไฟล์ข้างต้นนี้นอกจากจะไม่มีการบีบอัดแล้วยัง support alpha channel อีกด้วย ซึ่งต่างจาก JPG ซึ่งเป็นไฟล์ประเภท Lossy Compression คือถูกบีบอัดให้เล็กลงก่อนที่จะออกมาเป็นไฟล์ ทำให้การนำมาใช้งานซ้ำๆไฟล์จะด่อยคุณภาพลงไป นอกจากนี้ไฟล์จำพวก uncompressed ยังมีให้เห็นที่อื่นอีกเช่น ไฟล์เพลงอย่าง APE, WAVE, FLAC ถ้าต้องการเก็บเพลงจากแผ่น CD Master ก็มักจะใช้ Format นี้กันครับ ส่วน MP3, ACC จัดว่าเป็นพวก Lossy คุณภาพขึ้นอยู่กับ bitrate ซึ่งมีทั้ง CBR, VBR, ABR ตามที่กล่าวไปก่อนหน้านั้นแล้ว
*** Delivery Format

delivery format เข้าใจง่ายๆก็คือ format ที่เราใช้เมื่อต้องการนำไฟล์นั้นส่งต่อไปให้คนอื่นๆนั่นเองครับ เช่นสำหรับเว็บออนไลน์คุณ Andrew แนะนำว่าเป็น Sorensen 3 หรือ H.264 หรือถ้าจะไรทลง DVD ก็เป็น MPEG2 ครับ หมดแล้วครับ วันนี้ blog ยาวหน่อย หวังว่าจะเป็นประโยชน์กัน อย่างน้อยๆผมเองก็ได้ประโยชน์เหมือนกัน เจออะไรดีดีก็อยากเอามาแบ่งปันให้อ่านกันครับ :)

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------

หวังว่าคงได้ความรู้ไปไม่มากก็น้อยนะครับ :P

ภาพประจำตัวสมาชิก
athurlouise
สมาชิก 100 Posts +++
สมาชิก 100 Posts +++
 
โพสต์: 214
รวมจำนวน Like ที่ให้ผู้อื่น: 1 โพสต์
รวมจำนวน Like ที่ได้รับ: 0 โพสต์
ลงทะเบียนเมื่อ: 05 มี.ค. 2011 00:16

Re: เข้ามาแชร์เรื่องการ codec วีดีโอครับ

โพสต์โดย dullatum » 19 เม.ย. 2012 09:39

.. :)
..ขอบคุณครับ..ผมก็งงๆช่วงแรกครับ..พอเข้าใจบ้าง.. :)
" ดล "
dullatum
สมาชิก VIP 500 Posts +++
สมาชิก VIP 500 Posts  +++
 
โพสต์: 814
รวมจำนวน Like ที่ให้ผู้อื่น: 0 โพสต์
รวมจำนวน Like ที่ได้รับ: 0 โพสต์
ลงทะเบียนเมื่อ: 28 มิ.ย. 2011 14:26

Re: เข้ามาแชร์เรื่องการ codec วีดีโอครับ

โพสต์โดย MrFahfonpenjai » 26 เม.ย. 2012 13:33

ขอบ คุณ สำหรับ ความรู้ ครับ :D :D



ภาพประจำตัวสมาชิก
MrFahfonpenjai
สมาชิก VIP 500 Posts +++
สมาชิก VIP 500 Posts  +++
 
โพสต์: 850
รวมจำนวน Like ที่ให้ผู้อื่น: 0 โพสต์
รวมจำนวน Like ที่ได้รับ: 3 โพสต์
ลงทะเบียนเมื่อ: 17 มิ.ย. 2011 10:54


ย้อนกลับไปยัง เกี่ยวกับวิดีโอสต็อก

ผู้ใช้งานขณะนี้

กำลังดูบอร์ดนี้: ไม่มีสมาชิกใหม่ และ บุคคลทั่วไป 4 ท่าน