Note that there are some explanatory texts on larger screens.

plurals
  1. POVideo won't play with Android's native MediaPlayer, however it plays with Dropbox's video player
    primarykey
    data
    text
    <p>I'm having trouble playing a certain .3gp file (from a Dropbox link) with Android's MediaPlayer. However the file magically plays without problems from the Dropbox Android app.</p> <p>I'm trying to play it using this:</p> <pre><code>Intent intent = new Intent(android.content.Intent.ACTION_VIEW); intent.setData(Uri.parse("https://www.dropbox.com/s/zpiqwmxka6llavt/SketchyFile.3gp")); startActivity(intent); </code></pre> <p>and my manifest contains</p> <pre><code>&lt;uses-permission android:name="android.permission.INTERNET" /&gt; </code></pre> <p>which gives a "Can't play this video" error.</p> <p><img src="https://i.imgur.com/zc4Xi.png" alt="error-screenshot"></p> <p>Logcat shows:</p> <pre><code>I/NuCachedSource2(89): new range: offset= 2245017 I/ChromiumHTTPDataSource(89): connect to https://dl.dropbox.com/0/view/a1crokuhpprsaeo/SketchyFile.3gp @2245017 I/NuCachedSource2(89): ERROR_END_OF_STREAM E/MediaPlayer(3629): error (1, -2147483648) E/MediaPlayer(3629): Error (1,-2147483648) D/VideoView(3629): Error: 1,-2147483648 </code></pre> <p>If I try to play it from the Dropbox Android app, Dropbox's video player has no problem playing it.</p> <p><img src="https://i.imgur.com/g85r2.png" alt="dropbox-success-screenshot"></p> <p>According to ffmpeg's ffprobe tool I could verify that the media type is not something exotic to Android.</p> <p>Is Dropbox performing some weird transcoding voodoo and is there a way I can make this work in a similar way?</p> <p>EDIT: Here's some more <a href="https://tech.dropbox.com/2014/02/video-processing-at-dropbox/" rel="nofollow noreferrer">insight into DropBox's encoding voodoo</a>.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload