<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>In FRD 0.9u4 YouTube.com plugin v 2.9.5 fails to mux a large .m4v &amp;amp; .m4a</title>
        <description> The video is at https://www.youtube.com/watch?v=zJ7hUvU-d2Q, I think the problem may have to do with the large size of the .m4v file (6 550 033 422 bytes on the &quot;Highest available&quot; preferred quality). In any case, download of the .m4v file finishes normally, and so does that of the .m4a file (it seems), but then, as the program creates the 0 bytes .mp4 file and writes something to the HDD, the reported state of the .m4a file changes from &quot;COMPLETED&quot; to &quot;ERROR - Java heap space&quot; and it goes into an endless loop of restarts.</description>
        <link>https://wordrider.net/forum/10/18291/18291/_subject_#msg-18291</link>
        <lastBuildDate>Sun, 05 Apr 2026 19:40:40 +0000</lastBuildDate>
        <generator>Phorum 5.2.10</generator>
        <item>
            <guid>https://wordrider.net/forum/10/18291/18353/_subject_#msg-18353</guid>
            <title>Re: In FRD 0.9u4 YouTube.com plugin v 2.9.5 fails to mux a large .m4v &amp; .m4a</title>
            <link>https://wordrider.net/forum/10/18291/18353/_subject_#msg-18353</link>
            <description><![CDATA[ Well, I understand that you don't fell it's something worthy of high priority, but still I would appreciate if you investigated the issue when there's no more urgent tasks to do.]]></description>
            <dc:creator>naaloh</dc:creator>
            <category>FreeRapid Downloader - Plugins</category>
            <pubDate>Tue, 01 Nov 2016 13:50:08 +0000</pubDate>
        </item>
        <item>
            <guid>https://wordrider.net/forum/10/18291/18302/_subject_#msg-18302</guid>
            <title>Re: X( In FRD 0.9u4 YouTube.com plugin v 2.9.5 fails to mux a large .m4v &amp; .m4a</title>
            <link>https://wordrider.net/forum/10/18291/18302/_subject_#msg-18302</link>
            <description><![CDATA[ We rely many thing on third-party softwares. In case you don't realize, we rely on objectDB for database stuff, we rely on apache httpclient for http stuff, and so on and so forth.. Otherwise we should/need to (re)write the whole things in-house, which is too much, for obvious reason.<br />
<br />
FRD is a general purpose downloader, IMO it has none or little businesses on media encoding, decoding, merging, etc, as it should be.<br />
<br />
Is it really necessary to have the input files to find the bug? Yes.]]></description>
            <dc:creator>tong2shot</dc:creator>
            <category>FreeRapid Downloader - Plugins</category>
            <pubDate>Sun, 16 Oct 2016 15:21:50 +0000</pubDate>
        </item>
        <item>
            <guid>https://wordrider.net/forum/10/18291/18300/_subject_#msg-18300</guid>
            <title>Re: X( In FRD 0.9u4 YouTube.com plugin v 2.9.5 fails to mux a large .m4v &amp; .m4a</title>
            <link>https://wordrider.net/forum/10/18291/18300/_subject_#msg-18300</link>
            <description><![CDATA[ I think having FRD doing the job would be much better than relying on third-party software.<br />
<br />
By the way, is it really necessary to have the input files to find the bug? I mean, although I know next to nothing about Java programming, a "4GB" issue looks like something related to data type limit (32 bit unsigned)...]]></description>
            <dc:creator>naaloh</dc:creator>
            <category>FreeRapid Downloader - Plugins</category>
            <pubDate>Sun, 16 Oct 2016 14:50:51 +0000</pubDate>
        </item>
        <item>
            <guid>https://wordrider.net/forum/10/18291/18299/_subject_#msg-18299</guid>
            <title>Re: X( In FRD 0.9u4 YouTube.com plugin v 2.9.5 fails to mux a large .m4v &amp; .m4a</title>
            <link>https://wordrider.net/forum/10/18291/18299/_subject_#msg-18299</link>
            <description><![CDATA[ Thanks for the information. I'm not sure whether it has been fixed in the upstream (https://github.com/sannies/mp4parser) or not, I haven't checked it yet, my google-fu fails me this time. Probably related to this issue: [<a href="https://github.com/kimoptina/mp4parser/issues/97" rel="nofollow" >github.com</a>], but I'm not sure.<br />
<br />
To download 6GB file will take ~15 hours with my home connection, I'm not sure I'm going to do that to test and find the bug in the library (mp4parser).<br />
<br />
I think we probably should stick to the ffmpeg method for large files.<br />
<br />
Thanks again, and sorry for the inconvenience.]]></description>
            <dc:creator>tong2shot</dc:creator>
            <category>FreeRapid Downloader - Plugins</category>
            <pubDate>Sun, 16 Oct 2016 11:55:48 +0000</pubDate>
        </item>
        <item>
            <guid>https://wordrider.net/forum/10/18291/18298/_subject_#msg-18298</guid>
            <title>Re: X( In FRD 0.9u4 YouTube.com plugin v 2.9.5 fails to mux a large .m4v &amp; .m4a</title>
            <link>https://wordrider.net/forum/10/18291/18298/_subject_#msg-18298</link>
            <description><![CDATA[ After being started with max heap set to 512MB <b>FreeRapid Downloader</b> was able to combine video and audio into a 6 890 899 025 bytes .mp4 file, but the 5:57:50 hours video stops playing at about 3:42:47 hours, which means (as simple calculation shows) when the player accesses the data beyond 4 gigabytes of the video file, which is surely not a coincidence. Obviously not the player's fault (I tried several), so looks like the mp4parser plugin really can produce corrupt files.<br />
<br />
I have not tried combining the files with FFmpeg yet, because I (obviously) lost both .m4v and .m4a and don't feel like re-downloading right now.]]></description>
            <dc:creator>naaloh</dc:creator>
            <category>FreeRapid Downloader - Plugins</category>
            <pubDate>Sun, 16 Oct 2016 06:59:54 +0000</pubDate>
        </item>
        <item>
            <guid>https://wordrider.net/forum/10/18291/18297/_subject_#msg-18297</guid>
            <title>Re: X( In FRD 0.9u4 YouTube.com plugin v 2.9.5 fails to mux a large .m4v &amp; .m4a</title>
            <link>https://wordrider.net/forum/10/18291/18297/_subject_#msg-18297</link>
            <description><![CDATA[ Producing corrupt files? No, not in my experiences anyway. I have merged hundreds video files (small or medium size, less than 1GB ) with internal mp4parser, and none corrupt file produced.<br />
<br />
I was talking about the amount of time to finish the job. For example (with same sample) from <a href="http://wordrider.net/forum/10/13123/14607/re___updated__about_youtube__1080p_and_480p____#msg-14607" rel="nofollow" >here</a>:<br />
- ~2.5 minutes with 512MB heap.<br />
- ~10 minutes with default configuration (160MB heap).<br />
- ~1.5 minutes with ffmpeg/avconv.]]></description>
            <dc:creator>tong2shot</dc:creator>
            <category>FreeRapid Downloader - Plugins</category>
            <pubDate>Sat, 15 Oct 2016 16:15:25 +0000</pubDate>
        </item>
        <item>
            <guid>https://wordrider.net/forum/10/18291/18296/_subject_#msg-18296</guid>
            <title>Re: X( In FRD 0.9u4 YouTube.com plugin v 2.9.5 fails to mux a large .m4v &amp; .m4a</title>
            <link>https://wordrider.net/forum/10/18291/18296/_subject_#msg-18296</link>
            <description><![CDATA[ Thanks for the "max heap" tip, but in what way do the external programs "perform better"? I hope you don't mean that the mp4parser plugin can in some circumstances produce corrupt files...]]></description>
            <dc:creator>naaloh</dc:creator>
            <category>FreeRapid Downloader - Plugins</category>
            <pubDate>Sat, 15 Oct 2016 15:52:01 +0000</pubDate>
        </item>
        <item>
            <guid>https://wordrider.net/forum/10/18291/18295/_subject_#msg-18295</guid>
            <title>Re: X( In FRD 0.9u4 YouTube.com plugin v 2.9.5 fails to mux a large .m4v &amp; .m4a</title>
            <link>https://wordrider.net/forum/10/18291/18295/_subject_#msg-18295</link>
            <description><![CDATA[ The max size? It depends on java max heap allocation. I think I managed to merge over 1GB video with 512MB max heap, but I forget the details,  it was long time ago. See <a href="http://wordrider.net/forum/10/13123/14607/re___updated__about_youtube__1080p_and_480p____#msg-14607" rel="nofollow" >here</a> to increase java max heap allocation.<br />
<br />
Why will we not fix it? The youtube plugin depends on mp4parser plugin, it is a useful program to handle mp4. There are some limitations with mp4parser. Some were fixed internally by our team, on some problems we use workarounds (you can read the whole conversations about fixes/workarounds <a href="http://wordrider.net/forum/10/13123/_updated__about_youtube__1080p_and_480p____" rel="nofollow" >here</a> if you are interested). But there are still some problems which cannot be fixed, the heap memory problem is one of them.<br />
<br />
The ideal solution IMO is by using external program (ffmpeg, avconv, etc) to do the merging. Not only it's more stable/battle proven, it also performs better than the internal java solution (mp4parser). Also there is no need to reinvent the wheel, even worse when the resulting wheels are square :-) But there are problems with this solution, mainly: distribution.<br />
<br />
My personal solution at this moment is by using a (bash) script to (batch) merge the videos with ffmpeg/avconv. Which then can be used/integrated in file manager.]]></description>
            <dc:creator>tong2shot</dc:creator>
            <category>FreeRapid Downloader - Plugins</category>
            <pubDate>Sat, 15 Oct 2016 15:39:33 +0000</pubDate>
        </item>
        <item>
            <guid>https://wordrider.net/forum/10/18291/18294/_subject_#msg-18294</guid>
            <title>Re: X( In FRD 0.9u4 YouTube.com plugin v 2.9.5 fails to mux a large .m4v &amp; .m4a</title>
            <link>https://wordrider.net/forum/10/18291/18294/_subject_#msg-18294</link>
            <description><![CDATA[ What is the max size that the plugin can handle and why will you not fix?]]></description>
            <dc:creator>naaloh</dc:creator>
            <category>FreeRapid Downloader - Plugins</category>
            <pubDate>Sat, 15 Oct 2016 14:51:55 +0000</pubDate>
        </item>
        <item>
            <guid>https://wordrider.net/forum/10/18291/18293/_subject_#msg-18293</guid>
            <title>Re: X( In FRD 0.9u4 YouTube.com plugin v 2.9.5 fails to mux a large .m4v &amp; .m4a</title>
            <link>https://wordrider.net/forum/10/18291/18293/_subject_#msg-18293</link>
            <description><![CDATA[ For large files, please use the ffmpeg method: [<a href="http://wordrider.net/forum/10/13123/14222/re___updated__about_youtube__1080p_and_480p____#msg-14222" rel="nofollow" >wordrider.net</a>]]]></description>
            <dc:creator>tong2shot</dc:creator>
            <category>FreeRapid Downloader - Plugins</category>
            <pubDate>Sat, 15 Oct 2016 14:18:41 +0000</pubDate>
        </item>
        <item>
            <guid>https://wordrider.net/forum/10/18291/18291/_subject_#msg-18291</guid>
            <title>In FRD 0.9u4 YouTube.com plugin v 2.9.5 fails to mux a large .m4v &amp; .m4a</title>
            <link>https://wordrider.net/forum/10/18291/18291/_subject_#msg-18291</link>
            <description><![CDATA[ The video is at <a href="https://www.youtube.com/watch?v=zJ7hUvU-d2Q" rel="nofollow" >https://www.youtube.com/watch?v=zJ7hUvU-d2Q</a>, I think the problem may have to do with the large size of the .m4v file (6 550 033 422 bytes on the "Highest available" preferred quality). In any case, download of the .m4v file finishes normally, and so does that of the .m4a file (it seems), but then, as the program creates the 0 bytes .mp4 file and writes something to the HDD, the reported state of the .m4a file changes from "COMPLETED" to "ERROR - Java heap space" and it goes into an endless loop of restarts.]]></description>
            <dc:creator>naaloh</dc:creator>
            <category>FreeRapid Downloader - Plugins</category>
            <pubDate>Sat, 15 Oct 2016 13:50:33 +0000</pubDate>
        </item>
    </channel>
</rss>
