Make WordPress Core

Opened 12 years ago

Closed 10 years ago

#23380 closed enhancement (fixed)

3gp mime support

Reported by: m_uysl's profile m_uysl Owned by: wonderboymusic's profile wonderboymusic
Milestone: 4.0 Priority: normal
Severity: minor Version: 3.5
Component: Media Keywords: has-patch
Focuses: Cc:

Description

Some devices using 3gp format for wp mobile app.

Attachments (3)

functions.php (120.5 KB) - added by m_uysl 12 years ago.
functions.php.patch (377 bytes) - added by m_uysl 12 years ago.
23380.patch (1.5 KB) - added by azaozz 10 years ago.

Download all attachments as: .zip

Change History (10)

@m_uysl
12 years ago

#1 @m_uysl
12 years ago

  • Type changed from defect (bug) to enhancement

#2 @SergeyBiryukov
12 years ago

  • Component changed from General to Media
  • Milestone changed from Awaiting Review to 3.6
  • Version changed from trunk to 3.5

#3 follow-up: @georgestephanis
12 years ago

Looks like some phones upload 3gpp videos as .mp4 files? As it's an extension of mp4, would we need some other testing to catch that?

#4 in reply to: ↑ 3 @m_uysl
12 years ago

Replying to georgestephanis:

Looks like some phones upload 3gpp videos as .mp4 files? As it's an extension of mp4, would we need some other testing to catch that?

No, They are using 3gp and try to upload 3gp but mime not defined in core. People can add 3gp mime support but it should be in the core. (my thought)

#5 @ocean90
11 years ago

  • Milestone changed from 3.6 to Future Release

#6 @azaozz
10 years ago

  • Milestone changed from Future Release to 4.0

Seems 3gp, 3g2 and 3gpp are fairly popular. For example KitKat (Android 4.4) tries to upload a "recording-*.3gpp" file when the user selects "Sound Recording" as the upload source.

The proper mime types seems to be video/3gpp and video/3gpp2 despite that the files can contain only audio. Both RFC 3839 and RFC 4393 state that:

The type "audio/3gpp" may be used for files containing audio but no
visual presentation (neither video nor timed text, for example).
...
The type "video/3gpp" is valid for all files. It is valid to serve
an audio-only file as "video/3gpp".

Last edited 10 years ago by azaozz (previous) (diff)

@azaozz
10 years ago

#7 @wonderboymusic
10 years ago

  • Owner set to wonderboymusic
  • Resolution set to fixed
  • Status changed from new to closed

In 28841:

Add mime support for 3gp, 3g2 and 3gpp video formats. These are not supported by MediaElement or the WP media shortcodes, just an FYI.

Props azaozz, m_uysl.
Fixes #23380.

Note: See TracTickets for help on using tickets.