<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[how can i find the file saved by Qmediarecorder]]></title><description><![CDATA[<p dir="auto">all codes are following,I want to know how to find the video 1.mp4, hope your answers，because the qt example  can't press the vidio menu,it is disabled！</p>
<pre><code class="language-c++">viewFinder = new QCameraViewfinder();
    camera = new QCamera;
    recorder = new QMediaRecorder(camera);
    camera-&gt;setCaptureMode(QCamera::CaptureVideo);
    camera-&gt;setViewfinder(viewFinder);
    camera-&gt;start();
    viewFinder-&gt;show();
    QAudioEncoderSettings audioSettings;
    audioSettings.setCodec("audio/amr");
    audioSettings.setQuality(QMultimedia::HighQuality);
    recorder-&gt;setAudioSettings(audioSettings);
    QVideoEncoderSettings videoSettings;
    videoSettings.setCodec("video/mpeg2");
    videoSettings.setResolution(640, 480);
    recorder-&gt;setVideoSettings(videoSettings);
    recorder-&gt;setOutputLocation(QUrl::fromLocalFile("1.mp4"));
    recorder-&gt;record();
</code></pre>
<p dir="auto">the example picture:<img src="https://ddgobkiprc33d.cloudfront.net/b4a97fcd-4b5e-4662-a9b2-07d2fede84b2.png" alt="0_1557496457716_批注 2019-05-10 215405.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.qt.io/topic/102651/how-can-i-find-the-file-saved-by-qmediarecorder</link><generator>RSS for Node</generator><lastBuildDate>Sat, 09 May 2026 16:44:21 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/102651.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 10 May 2019 13:54:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to how can i find the file saved by Qmediarecorder on Sat, 11 May 2019 08:55:30 GMT]]></title><description><![CDATA[<p dir="auto">Hi<br />
Yes it seems on windows,  recording is not really supported. still.</p>
]]></description><link>https://forum.qt.io/post/528301</link><guid isPermaLink="true">https://forum.qt.io/post/528301</guid><dc:creator><![CDATA[mrjj]]></dc:creator><pubDate>Sat, 11 May 2019 08:55:30 GMT</pubDate></item><item><title><![CDATA[Reply to how can i find the file saved by Qmediarecorder on Sat, 11 May 2019 08:19:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mrjj">@<bdi>mrjj</bdi></a> sorry sir,i can't reply you immediately，because i am a  new member<br />
, i find isCaptureModeSupported(QCamera::CaptureVideo) is false, you are right，I do use Windows platforms, thank you ,It seems that I can only use other methods.</p>
]]></description><link>https://forum.qt.io/post/528299</link><guid isPermaLink="true">https://forum.qt.io/post/528299</guid><dc:creator><![CDATA[Flame]]></dc:creator><pubDate>Sat, 11 May 2019 08:19:33 GMT</pubDate></item><item><title><![CDATA[Reply to how can i find the file saved by Qmediarecorder on Sat, 11 May 2019 08:06:23 GMT]]></title><description><![CDATA[<p dir="auto">Hi<br />
Can you try to qDebug()  &lt;&lt; camera-&gt;isCaptureModeSupported(QCamera::CaptureVideo);.</p>
<p dir="auto">I got this feeling recording is not supported.<br />
<a href="https://doc.qt.io/qt-5/qtmultimedia-windows.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://doc.qt.io/qt-5/qtmultimedia-windows.html</a><br />
"Video recording is currently not supported. "</p>
]]></description><link>https://forum.qt.io/post/528298</link><guid isPermaLink="true">https://forum.qt.io/post/528298</guid><dc:creator><![CDATA[mrjj]]></dc:creator><pubDate>Sat, 11 May 2019 08:06:23 GMT</pubDate></item><item><title><![CDATA[Reply to how can i find the file saved by Qmediarecorder on Sat, 11 May 2019 07:59:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mrjj">@<bdi>mrjj</bdi></a> thank you very much for your advise, but sorry , i think i will bother you again,today i try to obtain the signal error,i find there is not error signal emited,but i  find the state and status is : QMediaRecorder::StoppedState and  QMediaRecorder::UnavailableStatus ,after i using the "record" function,i don't konw how to handle this problem,hope your advise</p>
]]></description><link>https://forum.qt.io/post/528297</link><guid isPermaLink="true">https://forum.qt.io/post/528297</guid><dc:creator><![CDATA[Flame]]></dc:creator><pubDate>Sat, 11 May 2019 07:59:48 GMT</pubDate></item><item><title><![CDATA[Reply to how can i find the file saved by Qmediarecorder on Fri, 10 May 2019 14:41:02 GMT]]></title><description><![CDATA[<p dir="auto">Hi<br />
It looks ok, but you should hook up the error handling signals to catch any errors.<br />
void QMediaRecorder::error(QMediaRecorder::Error error)</p>
]]></description><link>https://forum.qt.io/post/528191</link><guid isPermaLink="true">https://forum.qt.io/post/528191</guid><dc:creator><![CDATA[mrjj]]></dc:creator><pubDate>Fri, 10 May 2019 14:41:02 GMT</pubDate></item><item><title><![CDATA[Reply to how can i find the file saved by Qmediarecorder on Fri, 10 May 2019 14:34:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mrjj">@<bdi>mrjj</bdi></a>  sorry sir, I think I may let you misunderstand，i  do this don't use qt  example,all codes show as following;</p>
<pre><code class="language-c++">viewFinder = new QCameraViewfinder();
    camera = new QCamera;
    recorder = new QMediaRecorder(camera);
    camera-&gt;setCaptureMode(QCamera::CaptureVideo);
    camera-&gt;setViewfinder(viewFinder);
    camera-&gt;start();
    viewFinder-&gt;show();
    QAudioEncoderSettings audioSettings;
    audioSettings.setCodec("audio/amr");
    audioSettings.setQuality(QMultimedia::HighQuality);
    recorder-&gt;setAudioSettings(audioSettings);
    QVideoEncoderSettings videoSettings;
    videoSettings.setCodec("video/mpeg2");
    videoSettings.setResolution(640, 480);
    recorder-&gt;setVideoSettings(videoSettings);
    recorder-&gt;setOutputLocation(QUrl::fromLocalFile("1.mp4"));
    recorder-&gt;record();
</code></pre>
<p dir="auto">i want these codes will have the function which can save the video from camera,i mean “Are there any missing steps”</p>
]]></description><link>https://forum.qt.io/post/528190</link><guid isPermaLink="true">https://forum.qt.io/post/528190</guid><dc:creator><![CDATA[Flame]]></dc:creator><pubDate>Fri, 10 May 2019 14:34:24 GMT</pubDate></item><item><title><![CDATA[Reply to how can i find the file saved by Qmediarecorder on Fri, 10 May 2019 14:25:39 GMT]]></title><description><![CDATA[<p dir="auto">Hi<br />
That seems like a deplyment folder and not so much a build folder.<br />
However, i assume you mean when you just run it then.<br />
Maybe the tab is grey as it cant save the video.<br />
You should check the sample code under what condition, it won't allow the tab.<br />
You could also try with path in setOutputLocation</p>
]]></description><link>https://forum.qt.io/post/528186</link><guid isPermaLink="true">https://forum.qt.io/post/528186</guid><dc:creator><![CDATA[mrjj]]></dc:creator><pubDate>Fri, 10 May 2019 14:25:39 GMT</pubDate></item><item><title><![CDATA[Reply to how can i find the file saved by Qmediarecorder on Fri, 10 May 2019 14:21:32 GMT]]></title><description><![CDATA[<p dir="auto">i can't find the video file in the file include exe file,do  i need use the other function to execute the save  command ?<br />
this is the file tree：<br />
<img src="https://ddgobkiprc33d.cloudfront.net/e7f298ae-69e5-4597-9a6e-419b2ed96180.png" alt="0_1557498070590_批注 2019-05-10 222027.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.qt.io/post/528183</link><guid isPermaLink="true">https://forum.qt.io/post/528183</guid><dc:creator><![CDATA[Flame]]></dc:creator><pubDate>Fri, 10 May 2019 14:21:32 GMT</pubDate></item><item><title><![CDATA[Reply to how can i find the file saved by Qmediarecorder on Fri, 10 May 2019 14:07:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/flame">@<bdi>Flame</bdi></a> said in <a href="/post/528173">how can i find the file saved by Qmediarecorder</a>:</p>
<blockquote>
<p dir="auto">setOutputLocation</p>
</blockquote>
<p dir="auto">Try to look in your build folder.</p>
]]></description><link>https://forum.qt.io/post/528175</link><guid isPermaLink="true">https://forum.qt.io/post/528175</guid><dc:creator><![CDATA[mrjj]]></dc:creator><pubDate>Fri, 10 May 2019 14:07:34 GMT</pubDate></item></channel></rss>