2011/8/22 Peter Tap <span dir="ltr"><<a href="mailto:ptrtap@yahoo.com">ptrtap@yahoo.com</a>></span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt"><div>Folks,</div><div><br></div><div>For the project I am working on, I need to create a new container format, encrypt x264 data and store it. This file can only be played through vlc and I need to provide on-the-fly decryption.</div>
<div><br></div><div><br></div><div>I have downloaded and built vlc code. I have also gone through various documentation pages. However, I am still confused on where to start. I would appreciate it if someone can help me with the following questions:</div>
<div><br></div><div>1. How to write a new container module?</div></div></div></blockquote><div><br></div><div>If you are only interested about VLC, you have to create new demux and mux modules. </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt"><div>2. I need to use x264 module internally. I need to integrate with it such that each block that x264 decodes needs to be decrypted first and passed on to x264 decoder. I am wondering what would be a good way to achieve this?</div>
<div>3. Although I have built vlc source and vlc
 seems to run correctly, I am a bit confused about where the source files for each module really is. For example, when I look under contrib/src/x264, I don't see any .h or .c files. I need to debug and step through x264 code. How can I achieve this? Note that during the initial ".configure" step, I did specify enable-debug as a flag.</div>
<div><br></div><div>Also, may be there is a simpler way of what I am trying to achieve. Perhaps I can just hook into x264 decoding mechanism. Is this possible? </div></div></div></blockquote><div><br></div><div>Do encryption stuff on muxer level. There really isn't any point to change x264 and H.264 decoders. With muxer level encryption you can also protect the audio tracks and subtitles.  </div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt">
<div><br></div><div>Thank you in advance for your help.</div><div><br></div><div>Regards,</div><div>Peter</div></div></div><br>_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="http://mailman.videolan.org/listinfo/vlc-devel" target="_blank">http://mailman.videolan.org/listinfo/vlc-devel</a><br>
<br></blockquote></div><br>