摘要 |
<p>The present invention provides a method and apparatus for encoding/transcoding and decoding, wherein the method for encoding comprises steps of: acquiring a location information, said location information being used to identify the location of a video information, the complexity of said video information being less than a predetermined threshold; based on said location information, writing a predetermined error information into an encoded video stream to replace the encoding of said video information. With present invention, a predetermined error information can be written at the encoding/transcoding end, and code rate is decreased effectively. Meanwhile, the predetermined error information can be easily detected at the decoding end and be error- hidden, which ensures the quality of images resulted when users play video file via the mobile device.</p> |