[Mp4-tech] Re:Mp4-tech Digest, Vol 49, Issue 22

fys1268 fys1268 126.com
Fri Aug 31 13:40:11 EDT 2007


HI:I want to write the audio-video data from 324 to 3pp file,but i can't how to get the endpoint encode information to fill the DecoderConfigDescr param of esds box of my 3gp file.What can i do for it ? thanks!Morgan.fu   
ÔÚ2007-08-29£¬mp4-tech-request lists.mpegif.org дµÀ£º
Send Mp4-tech mailing list submissions to mp4-tech lists.mpegif.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.mpegif.org/mailman/listinfo/mp4-tech or, via email, send a message with subject or body 'help' to mp4-tech-request lists.mpegif.org You can reach the person managing the list at mp4-tech-owner lists.mpegif.org When replying, please edit your Subject line so it is more specific than "Re: Contents of Mp4-tech digest..." Today's Topics: 1. Fw: [Mp4-tech] H264 decoding Issues. (Chandrasekar vijayakumar) ---------------------------------------------------------------------- Message: 1 Date: Wed, 29 Aug 2023 11:16:27 +0530 (IST) From: Chandrasekar vijayakumar <pingmeaschandru yahoo.co.in> Subject: Fw: [Mp4-tech] H264 decoding Issues. To: mp4-tech lists.mpegif.org Message-ID: <775567.99931.qm web7904.mail.in.yahoo.com> Content-Type: text/plain; charset="iso-8859-1" ----- Forwarded Message ---- From: Chandrasekar vijayakumar <pingmeaschandru yahoo.co.in> To: kavita.chachadi1 wipro.com Sent: Wednesday, 29 August, 2007 11:12:58 AM Subject: Re: [Mp4-tech] H264 decoding Issues. Hi Kavita, Tell what you want to achieve via FFmpeg? Do you want to use H.264 encoder in FFmpeg? Thanks, Chandrasekar. ----- Original Message ---- From: "kavita.chachadi1 wipro.com" <kavita.chachadi1 wipro.com> To: pingmeaschandru yahoo.co.in Sent: Wednesday, 29 August, 2007 10:22:36 AM Subject: RE: [Mp4-tech] H264 decoding Issues. Hi, Thanks! Do u know whether FFMPEG supports the generation of H264 Bitstreams with SEI messages. Regards, Kavita From: Chandrasekar vijayakumar [mailto:pingmeaschandru yahoo.co.in] Sent: Wed 8/29/2007 9:36 AM To: Kavita N chachadi (WT01 - Semiconductor & System Solutions) Subject: Re: [Mp4-tech] H264 decoding Issues. Hi Kavita, Just Google it. You can find lots of links that will take you to the FFMPEG source code. Anyway, you can check out the lastest code from "svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg". For more information refer the link http://ffmpeg.mplayerhq.hu/download.html Thanks, Chandrasekar. ----- Original Message ---- From: "kavita.chachadi1 wipro.com" <kavita.chachadi1 wipro.com> To: pingmeaschandru yahoo.co.in Sent: Wednesday, 29 August, 2007 9:06:46 AM Subject: RE: [Mp4-tech] H264 decoding Issues. Hi, Can you give me the link to FFMPEG source code for download. Regards, Kavita From: mp4-tech-bounces lists.mpegif.org on behalf of Chandrasekar vijayakumar Sent: Tue 8/28/2007 5:17 PM To: mp4-tech lists.mpegif.org Subject: [Mp4-tech] H264 decoding Issues. Hi All, I have some difficulty with H.264 decoding via FFMPEG. Let me first explain what I am trying and ask couple of questions after that. Basically, I want to decode h.264 frames which are embedded in RTP packets via FFMPEG dll (avcodec.dll). I am using an application written in C# which adds Start code (0x00 0x00 0x00 0x01) before each and every h.264 NAL units from the RTP Packets and tried to decode every frames after the start code insertion process. While decoding NAL unit 5 and 8, I am getting some errors. Moreover, I am getting the some blurred frames while playback the h.264 dump ( prefixed with start code ) via VLC player. Let me paste an access unit below. ################################# Access Unit ################################## NALU Unit Type : 6 TimeStamp : 10020 0 0 0 1 6 5 25 86 83 83 72 0 0 16 0 128 0 0 170 0 56 155 113 169 205 252 179 152 171 170 170 170 128 NALU Unit Type : 7 TimeStamp : 10020 0 0 0 1 39 66 128 12 150 84 11 4 180 32 0 4 226 0 0 122 18 16 128 NALU Unit Type : 8 TimeStamp : 10020 0 0 0 1 40 206 6 12 136 0 NALU Unit Type : 5 TimeStamp : 10020 0 0 0 1 37 184 4 0 5 36 197 0 1 87 155 239 190 251 239 190 251 239 190 251 239 190 251 239 190 251 235 174 186 235 174 186 235 174 186 235 174 186 235 174 186 235 174 186 235 174 186 235 174 186 235 174 186 235 174 186 235 174 186 235 174 186 235 174 186 235 174 186 235 174 186 235 174 186 235 174 186 235 174 186 235 174 186 235 174 186 235 174 186 235 174 186 235 174 186 235 174 186 235 174 186 235 174 186 235 174 186 235 174 186 235 174 186 235 174 186 235 174 186 235 174 186 235 174 186 235 174 186 235 174 186 235 174 166 142 160 4 0 1 192 20 107 142 184 235 134 212 223 252 0 28 1 131 8 186 249 148 115 21 6 40 114 255 214 96 228 133 255 165 106 163 141 144 8 63 239 87 83 215 93 117 215 93 117 215 93 117 215 93 117 212 68 45 128 2 0 24 50 128 7 239 91 60 15 85 89 26 242 32 0 16 5 1 147 192 2 204 252 12 49 51 70 153 58 72 76 82 210 240 176 0 16 29 160 0 32 82 0 2 0 50 192 110 0 2 3 32 0 32 59 113 192 0 88 41 8 19 98 242 0 0 64 92 0 4 6 192 1 247 0 125 128 101 168 112 56 225 4 63 24 62 14 0 2 2 224 0 32 54 0 15 184 64 0 8 7 0 0 128 96 0 235 128 72 0 25 2 4 160 0 16 6 0 88 5 22 134 124 245 144 1 45 200 3 168 153 196 35 61 132 0 5 165 16 62 11 168 1 32 0 32 130 0 2 0 0 130 66 58 181 47 50 94 136 120 210 193 111 127 0 11 144 50 149 129 14 65 160 148 72 18 0 2 178 102 208 155 41 85 155 68 24 61 146 163 75 209 129 235 23 19 63 7 14 9 199 150 1 7 153 130 151 137 72 163 223 157 193 21 144 120 238 54 146 10 171 162 28 0 0 128 159 10 112 3 39 123 37 55 64 234 177 124 158 0 2 7 3 101 168 100 224 114 190 200 113 221 143 32 32 202 229 113 132 32 112 214 145 210 16 0 208 109 8 0 52 7 238 176 0 249 186 171 15 177 62 224 12 224 28 147 150 149 130 246 82 252 130 79 255 253 248 0 123 69 189 232 4 131 191 238 4 84 6 171 208 216 100 134 112 19 117 12 91 207 251 194 216 2 0 2 3 224 85 0 0 129 1 111 1 61 202 208 30 3 40 226 248 154 5 32 20 96 114 206 151 143 62 156 206 14 69 222 60 0 0 128 64 99 158 54 24 23 41 91 126 250 164 2 45 12 96 35 199 40 248 237 158 157 211 98 39 210 192 0 172 40 16 28 55 9 42 107 222 184 12 232 4 69 203 152 61 19 126 19 76 27 32 0 16 1 154 32 0 8 31 4 2 160 202 97 148 146 203 75 132 121 85 112 47 175 39 48 150 170 127 255 155 102 30 225 150 108 130 188 120 97 245 188 204 110 32 252 239 238 107 132 64 76 112 134 230 17 94 73 32 159 45 196 64 150 128 132 192 138 78 214 154 33 156 77 77 202 89 208 128 0 64 84 0 138 203 94 247 151 48 34 103 4 32 6 160 24 34 0 9 0 2 131 246 242 11 42 152 15 124 104 98 215 24 204 193 75 198 131 191 253 252 172 0 134 207 99 184 29 248 161 139 124 133 64 57 42 66 113 213 72 52 101 230 221 2 40 98 21 239 233 157 128 96 84 161 111 47 5 156 0 16 0 193 195 199 211 137 89 94 127 144 8 13 239 45 224 160 10 30 128 132 160 138 78 214 154 161 188 77 75 64 246 128 0 64 53 140 96 0 16 94 237 223 219 101 128 64 53 241 144 0 8 1 233 32 0 8 31 5 74 0 147 16 0 2 0 120 0 4 15 46 127 132 0 4 66 138 104 32 0 44 12 26 84 108 34 207 10 189 111 196 128 16 45 205 160 28 53 12 167 115 113 175 174 253 224 0 64 76 140 36 31 93 68 215 93 117 215 93 117 215 93 117 215 93 117 17 11 56 0 32 0 8 25 0 0 128 184 146 140 78 67 201 79 79 6 63 220 60 121 255 128 3 130 165 24 228 18 65 193 160 138 117 55 79 224 1 216 15 169 4 83 188 19 241 5 199 1 222 27 186 111 192 181 192 162 72 196 160 44 12 228 49 148 40 147 0 83 172 175 58 224 1 2 1 212 74 24 54 27 66 39 71 159 75 104 64 36 103 8 0 138 148 66 69 203 63 239 212 13 147 252 63 164 32 151 160 231 162 103 106 253 253 80 53 228 168 9 11 248 164 222 11 168 0 230 21 81 0 196 0 22 72 207 24 201 106 12 204 192 7 211 136 205 205 129 0 1 24 253 192 0 171 1 64 153 204 89 228 148 205 138 210 30 0 48 8 29 210 57 16 210 201 180 124 160 33 247 192 24 7 5 237 217 176 69 190 172 22 88 149 151 6 180 210 96 130 52 240 230 138 150 109 237 140 229 229 15 3 145 56 65 9 4 48 71 175 85 72 192 0 155 18 0 11 128 0 130 60 189 0 1 48 56 46 58 23 33 150 184 9 192 137 1 172 26 16 27 157 173 5 141 140 19 118 113 145 152 148 165 34 176 175 37 36 0 67 10 150 64 64 2 128 0 129 212 176 225 0 10 0 2 7 82 195 128 67 10 150 28 2 24 84 176 192 0 64 20 10 84 12 0 2 1 192 24 187 251 143 66 12 142 255 211 61 76 114 168 205 95 245 167 30 130 46 68 23 88 247 252 64 0 17 224 13 47 74 85 129 123 78 10 180 191 238 36 243 17 175 153 129 206 118 139 41 134 110 238 19 158 83 254 32 NALU Unit Type : 5 TimeStamp : 10020 0 0 0 1 37 1 164 224 16 0 20 134 34 0 1 0 0 248 0 8 13 128 36 176 68 104 48 216 135 133 108 154 124 39 2 136 0 161 91 142 199 27 131 60 56 128 0 16 10 224 0 32 111 112 128 0 50 0 80 46 88 3 226 17 206 31 164 74 172 199 92 0 75 8 197 10 212 24 80 13 16 247 30 24 114 154 52 140 155 5 193 188 64 0 62 0 2 7 12 96 14 1 99 28 79 224 38 129 66 88 82 0 10 89 133 0 38 24 112 0 52 0 96 17 44 128 0 52 0 96 17 44 66 0 2 0 51 0 0 129 115 116 24 16 168 68 32 200 142 41 132 56 48 128 66 20 0 160 130 7 22 15 128 27 105 146 54 95 178 164 214 8 25 114 174 248 64 0 17 224 4 151 79 38 194 99 12 135 122 188 0 41 48 250 163 206 100 86 78 100 112 12 5 116 19 255 8 0 2 88 0 121 116 161 166 59 138 75 73 245 120 47 248 76 128 0 32 33 128 160 238 229 133 197 192 144 162 8 35 80 250 99 12 79 15 0 1 0 60 112 0 16 60 89 170 105 163 50 198 192 16 0 183 255 236 0 32 30 40 56 8 140 168 120 2 197 0 89 0 8 3 0 6 203 14 0 128 48 0 108 176 36 107 195 244 33 179 33 184 30 102 233 32 127 148 20 25 179 193 15 181 255 254 16 0 20 5 29 240 128 0 232 8 9 81 255 2 7 146 41 224 122 156 131 74 120 90 67 87 223 61 246 3 3 9 191 239 192 245 149 230 120 36 170 22 216 125 226 57 210 226 111 190 251 239 190 249 49 64 0 85 230 251 239 190 251 239 184 136 252 0 16 1 2 152 97 166 152 105 166 26 105 134 26 103 128 7 128 0 128 24 109 40 4 55 44 21 25 205 162 191 128 143 255 228 237 9 215 93 117 215 93 117 215 93 117 215 93 117 215 93 117 215 93 117 215 93 117 215 93 117 215 93 117 215 93 117 215 93 117 215 93 117 215 93 117 215 93 117 215 93 117 215 93 117 215 93 117 215 93 117 215 93 117 215 93 117 215 93 117 215 93 117 215 93 117 215 93 117 215 93 117 215 93 117 215 93 117 215 93 117 215 93 117 215 93 117 215 93 117 215 93 117 215 93 117 215 93 117 215 93 117 215 93 117 215 93 117 215 93 117 215 93 117 215 93 117 215 93 117 224 Access Unit Length : 1871 ################################# End Access Unit ################################## Questions : 1. Access unit pasted above have NAL unit 6 , 7 , 8 , 5 respectively. The NAL Unit 8 is ended with ?0?. So , will that confuse the decoder to identify the start code of NAL Unit 5? I can see lots of patterns like this. 2. Access unit have two consecutive NAL Unit - 5. Is it valid? because, I am getting errors while decoding NAL Unit - 5. Please find the pasted FFMPEG Error logs below. [h264 @ 035BB000]prefix too large at 10 9 [h264 @ 035BB000]error while decoding MB 10 9 [h264 @ 035BB000]concealing 50 DC, 50 AC, 50 MV errors [h264 @ 035BB000]prefix too large at 21 0 [h264 @ 035BB000]error while decoding MB 21 0 [h264 @ 035BB000]prefix too large at 21 1 [h264 @ 035BB000]error while decoding MB 21 1 ................................ ................................ [h264 @ 035BB000]decode_slice_header error [h264 @ 035BB000]get_buffer() failed (stride changed) [h264 @ 035BB000]decode_slice_header error [h264 @ 035BB000]get_buffer() failed (stride changed) [h264 @ 035BB000]decode_slice_header error ................................ ................................ [h264 @ 035BB000]get_buffer() failed (0 -1073752596 1 00000000) [h264 @ 035BB000]decode_slice_header error [h264 @ 035BB000]get_buffer() failed (stride changed) [h264 @ 035BB000]decode_slice_header error .............................................. .............................................. To resolve the issue, I am trying to merge two consecutive NAL units 5 into one single NAL unit 5. Not sure, I am going in a right path. Please give your valuable suggestion for this. Thank in Advance, Chandrasekar. Unlimited freedom, unlimited storage. Get it now The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com Unlimited freedom, unlimited storage. Get it now The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com 5, 50, 500, 5000 - Store N number of mails in your inbox. Click here. Once upon a time there was 1 GB storage in your inbox. To know the happy ending go to http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html -------------- next part -------------- An HTML attachment was scrubbed... URL: /pipermail/mp4-tech/attachments/20070829/15204265/attachment.html ------------------------------ _______________________________________________ Please use clear subject lines for your posts. Include [audio, [video], [systems], [general] or another apppropriate identifier to indicate the type of question you have. Conduct on the mailing list is subject to the Antitrust guidelines found at http://www.mpegif.org/public/documents/vault/mp-out-30042-Antitrust.php End of Mp4-tech Digest, Vol 49, Issue 22 ****************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/mp4-tech/attachments/20070831/8edcd6c2/attachment-0001.html


More information about the Mp4-tech mailing list