<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX ProcessorsのトピックRe: Incorrect MJPEG stream</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Incorrect-MJPEG-stream/m-p/161564#M3480</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, i am also facing this problem:&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.5pt; font-family: 'Calibri','sans-serif';"&gt;i am using vpu mjpeg encoder features on mx51 linux, but the format of .jpg file generated from vpu is not correct, so that rtp cannot use mjpeg:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; gst-launch -e videotestsrc ! mfw_vpuencoder codec-type=7 ! multifilesink location=save_%d.jpeg&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.5pt; font-family: 'Calibri','sans-serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.5pt; font-family: 'Calibri','sans-serif';"&gt;&amp;nbsp; use jpegsnoop.exe to check save_x.jpg, there are lots of errors, can any people help me? thanks.&lt;span class="lia-inline-image-display-wrapper" image-alt="snoop_show_errors.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/118833i57F6648B12EBB768/image-size/large?v=v2&amp;amp;px=999" role="button" title="snoop_show_errors.JPG" alt="snoop_show_errors.JPG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Dec 2012 04:58:50 GMT</pubDate>
    <dc:creator>weideding</dc:creator>
    <dc:date>2012-12-05T04:58:50Z</dc:date>
    <item>
      <title>Incorrect MJPEG stream</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Incorrect-MJPEG-stream/m-p/161554#M3470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I work with iMX53 Quick Start Board.&lt;/P&gt;&lt;P&gt;Server pipeline: gst-launch -v -v4l2src device=/dev/video0 ! video/x-raw-yuv,width=320,height=240 !&amp;nbsp; mfw_ipucsc ! mfw_vpuencoder width=320 height=240 codec-type=std_mjpg ! rtpjpegpay ! udpsink host=192.168.255.1 auto-multicast=true port=5000 sync=false&lt;/P&gt;&lt;P&gt;Client pipeline: gst-launch -vvv&amp;nbsp; udpsrc port=5000 ! 'application/x-rtp, media=video, payload=96, clock-rate=90000, encoding-name=JPEG' ! rtpjpegdepay ! ffdec_mjpeg ! xvimagesink&lt;/P&gt;&lt;P&gt;I see next &lt;A _jive_internal="true" href="https://community.nxp.com/discussions/173-stream.jpg" target="_self"&gt;stream.jpg&lt;/A&gt;&lt;/P&gt;&lt;P&gt;As you can see image incorrect, but if I change mfw_vpuencoder on jpegenc I get correct image.&lt;/P&gt;&lt;P&gt;I try encode jpeg and save it to file:&lt;/P&gt;&lt;P&gt;gst-launch -v v4l2src device=/dev/video0 num-buffers=1 ! video/x-raw-yuv,width=640,height=480 ! mfw_ipucsc ! mfw_vpuencoder width=640 height=480 codec-type=std_mjpg ! filesink location=q.jpg&lt;/P&gt;&lt;P&gt;And I get correct image &lt;A _jive_internal="true" href="https://community.nxp.com/discussions/174-q.jpg" target="_self"&gt;q.jpg&lt;/A&gt;&lt;/P&gt;&lt;P&gt;How can I configure mfw_vpuencoder or rtpjpegpay for get correct MJPEG stream?&lt;/P&gt;&lt;P&gt;Thank you and excuse me my bad english.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2012 07:56:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Incorrect-MJPEG-stream/m-p/161554#M3470</guid>
      <dc:creator>BrilliantovKiri</dc:creator>
      <dc:date>2012-05-16T07:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect MJPEG stream</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Incorrect-MJPEG-stream/m-p/161555#M3471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like USB cam provides jpeg data, whereas &amp;nbsp;"mfw-" codecs are intended for raw image. &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 09:48:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Incorrect-MJPEG-stream/m-p/161555#M3471</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2012-05-21T09:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect MJPEG stream</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Incorrect-MJPEG-stream/m-p/161556#M3472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If mfw_vpuencoder intended for raw image how I get correct image in file?&lt;BR /&gt; &lt;BR /&gt; &lt;CITE&gt;Yuri Muhin said:&lt;/CITE&gt;&lt;/P&gt;&lt;BLOCKQUOTE cite="http://imxcommunity.org/forum/topics/incorrect-mjpeg-stream?groupUrl=multimedia&amp;amp;commentId=4103961%3AComment%3A70507&amp;amp;xg_source=msg_com_gr_forum#4103961Comment70507"&gt;&lt;DIV&gt;&lt;DIV class="xg_user_generated"&gt;&lt;P&gt;Looks like USB cam provides jpeg data, whereas &amp;nbsp;"mfw-" codecs are intended for raw image. &amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 10:50:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Incorrect-MJPEG-stream/m-p/161556#M3472</guid>
      <dc:creator>BrilliantovKiri</dc:creator>
      <dc:date>2012-05-21T10:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect MJPEG stream</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Incorrect-MJPEG-stream/m-p/161557#M3473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check if the camera works in host Linux: &lt;BR /&gt;&lt;BR /&gt;gst-launch v4l2src ! 'video/x-raw-yuv, format=(fourcc)YUY2, width=640, height=480, framerate=(fraction)25/1' ! &lt;BR /&gt;ffmpegcolorspace ! ximagesink&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2012 04:00:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Incorrect-MJPEG-stream/m-p/161557#M3473</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2012-05-22T04:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect MJPEG stream</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Incorrect-MJPEG-stream/m-p/161558#M3474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;$ gst-launch v4l2src ! 'video/x-raw-yuv, format=(fourcc)YUY2, width=640, height=480, framerate=(fraction)25/1' ! ffmpegcolorspace ! ximagesink&lt;BR /&gt;Setting pipeline to PAUSED ...&lt;BR /&gt;ERROR: Pipeline doesn't want to pause.&lt;BR /&gt;ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Could not negotiate format&lt;BR /&gt;Additional debug info:&lt;BR /&gt;gstbasesrc.c(2755): gst_base_src_start (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:&lt;BR /&gt;Check your filtered caps, if any&lt;BR /&gt;Setting pipeline to NULL ...&lt;BR /&gt;Freeing pipeline ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without framerate I get correct image.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2012 06:21:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Incorrect-MJPEG-stream/m-p/161558#M3474</guid>
      <dc:creator>BrilliantovKiri</dc:creator>
      <dc:date>2012-05-22T06:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect MJPEG stream</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Incorrect-MJPEG-stream/m-p/161559#M3475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can anyone help me to resolve the issue i.e., am able to stream the video with incorrect image on the client side.&lt;/P&gt;&lt;P&gt;I followed the above&lt;/P&gt;&lt;P&gt;Server pipeline: gst-launch -v -v4l2src device=/dev/video0 ! video/x-raw-yuv,width=320,height=240 !&amp;nbsp; mfw_ipucsc ! mfw_vpuencoder width=320 height=240 codec-type=std_mjpg ! rtpjpegpay ! udpsink host=192.168.255.1 auto-multicast=true port=5000 sync=false&lt;/P&gt;&lt;P&gt;client pipeline:gst-launch -vvv&amp;nbsp; udpsrc port=5000 ! 'application/x-rtp, media=video, payload=96, clock-rate=90000, encoding-name=JPEG' ! rtpjpegdepay ! ffdec_mjpeg ! xvimagesink&lt;/P&gt;&lt;P&gt;Are there any properties to be changed or anything else...&lt;/P&gt;&lt;P&gt;Please help me out..&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Prannoy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2012 06:18:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Incorrect-MJPEG-stream/m-p/161559#M3475</guid>
      <dc:creator>Bhavana</dc:creator>
      <dc:date>2012-05-25T06:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect MJPEG stream</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Incorrect-MJPEG-stream/m-p/161560#M3476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am also facing same problem.&lt;/P&gt;&lt;P&gt;Host linux pc:&lt;/P&gt;&lt;P&gt;gst-launch v4l2src ! 'video/x-raw-yuv, format=(fourcc)YUY2, width=640, height=480, framerate=(fraction)25/1' ! ffmpegcolorspace ! ximagesink&lt;/P&gt;&lt;P&gt;This command is working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am still facing streaming problem(Incorrect image on host linux pc).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2012 12:16:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Incorrect-MJPEG-stream/m-p/161560#M3476</guid>
      <dc:creator>Bhavana</dc:creator>
      <dc:date>2012-05-25T12:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect MJPEG stream</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Incorrect-MJPEG-stream/m-p/161561#M3477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can anyone please help me out in live streaming ..By using the gstreamer (or) ffserver.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2012 10:50:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Incorrect-MJPEG-stream/m-p/161561#M3477</guid>
      <dc:creator>Bhavana</dc:creator>
      <dc:date>2012-05-28T10:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect MJPEG stream</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Incorrect-MJPEG-stream/m-p/161562#M3478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As some kind of workaround (insert additional encode / decode elements) :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;gst-launch v4l2src ! mfw_ipucsc ! mfw_vpuencoder codec-type=std_mjpg ! mfw_vpudecoder&amp;nbsp; ! mfw_vpuencoder ! rtph264pay ! udpsink host=192.168.2.113 auto-multicast=true port=5000 sync=false&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2012 05:01:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Incorrect-MJPEG-stream/m-p/161562#M3478</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2012-08-15T05:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect MJPEG stream</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Incorrect-MJPEG-stream/m-p/161563#M3479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Yuri!&lt;/P&gt;&lt;P&gt;This is not solve problem because you change output stream on H264.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2012 06:28:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Incorrect-MJPEG-stream/m-p/161563#M3479</guid>
      <dc:creator>BrilliantovKiri</dc:creator>
      <dc:date>2012-09-03T06:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect MJPEG stream</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Incorrect-MJPEG-stream/m-p/161564#M3480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, i am also facing this problem:&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.5pt; font-family: 'Calibri','sans-serif';"&gt;i am using vpu mjpeg encoder features on mx51 linux, but the format of .jpg file generated from vpu is not correct, so that rtp cannot use mjpeg:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; gst-launch -e videotestsrc ! mfw_vpuencoder codec-type=7 ! multifilesink location=save_%d.jpeg&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.5pt; font-family: 'Calibri','sans-serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.5pt; font-family: 'Calibri','sans-serif';"&gt;&amp;nbsp; use jpegsnoop.exe to check save_x.jpg, there are lots of errors, can any people help me? thanks.&lt;span class="lia-inline-image-display-wrapper" image-alt="snoop_show_errors.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/118833i57F6648B12EBB768/image-size/large?v=v2&amp;amp;px=999" role="button" title="snoop_show_errors.JPG" alt="snoop_show_errors.JPG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Dec 2012 04:58:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Incorrect-MJPEG-stream/m-p/161564#M3480</guid>
      <dc:creator>weideding</dc:creator>
      <dc:date>2012-12-05T04:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect MJPEG stream</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Incorrect-MJPEG-stream/m-p/161565#M3481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FreeScale answer:&lt;/P&gt;&lt;P&gt;The following is the reply from CnM (regarding the restart markers in JPEG):&lt;/P&gt;&lt;P&gt; "stuffing bits value is fixed in jpeg rtl HW. It means Rita [i.MX53 - Yuri] has no way &lt;/P&gt;&lt;P&gt; to have 1's for stuffing value. For the time being, we were eagerly looking for any &lt;/P&gt;&lt;P&gt; workaround in fw side. But we found that there was no path in order to control the &lt;/P&gt;&lt;P&gt; value of stuff. Sorry for this unpleasant news."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; So, VPU designers are aware of the issue but they don't have a solution. The app will &lt;/P&gt;&lt;P&gt; need ignore this stuffing or disable restart marker encoding.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2012 10:16:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Incorrect-MJPEG-stream/m-p/161565#M3481</guid>
      <dc:creator>BrilliantovKiri</dc:creator>
      <dc:date>2012-12-06T10:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect MJPEG stream</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Incorrect-MJPEG-stream/m-p/161566#M3482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Problem solving with gst-plugins-good-0.10.31&lt;/P&gt;&lt;P&gt;One moment - I see correct image only via VLC 1.1.3 and GStreamer 0.10.30, my host system Debian GNU/Linux 6.0.7.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2013 10:26:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Incorrect-MJPEG-stream/m-p/161566#M3482</guid>
      <dc:creator>BrilliantovKiri</dc:creator>
      <dc:date>2013-02-18T10:26:00Z</dc:date>
    </item>
  </channel>
</rss>

