MadiZone
29th May 2011, 15:49
Thread summary: Compatibility issues between MPEG-4 files recorded on Galaxy S II and PlayStation3 video player.
Hello Doom9. This is my first post after 5 days of patiently waiting - finally it's my turn in the line. :-)
I am the lucky owner of one of the new Samsung Galaxy S II which records H.264 video and AAC audio in both 1080p and 720p. Furthermore it has built-in DLNA sharing support, so I can play the content on other DLNA-enabled devices such as the PlayStation3 - or can I?
When I start the Allshare DLNA-server on my phone, I can access it from my PS3 and while my JPEG-shots display just fine, I am having problems with my video. The PlayStation3 simply refuses to play the file and reports it as unsupported - despite the fact that PS3 supports both H264 and AAC out of the box.
With my limited technical insight into the MPEG-4 format I have isolated the problem and even identified a solution, although it's not ideal.
When opening the recording in MediaInfo, I get the following information:
General
Complete name : D:\Film\Galaxy II samples\road_original.mp4
Format : MPEG-4
Format profile : 3GPP Media Release 4
Codec ID : 3gp4
File size : 4.20 MiB
Duration : 3s 508ms
Overall bit rate : 10.0 Mbps
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Baseline@L3.1
Format settings, CABAC : No
Format settings, ReFrames : 1 frame
Format settings, GOP : M=1, N=30
Muxing mode : Container profile=Unknown@1.1
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 3s 508ms
Bit rate mode : Variable
Bit rate : 9 980 Kbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 30.217 fps
Minimum frame rate : 21.739 fps
Maximum frame rate : 43.478 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.358
Stream size : 4.17 MiB (99%)
Language : English
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 3s 456ms
Bit rate mode : Variable
Bit rate : 50.8 Kbps
Nominal bit rate : 58.5 Kbps
Maximum bit rate : 62.1 Kbps
Channel(s) : 1 channel
Channel positions : Front: C
Sampling rate : 16.0 KHz
Compression mode : Lossy
Stream size : 21.4 KiB (0%)
Language : English
Notice the bold part. Apparently, the PlayStation3 doesn't like 3GP4. But if I open the file in QuickTime only to export it with direct stream copying, I arrive with this file:
General
Complete name : D:\Film\Galaxy II samples\road_remuxed.mp4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42
File size : 4.20 MiB
Duration : 3s 541ms
Overall bit rate : 9 943 Kbps
Encoded date : UTC 2011-05-29 15:21:04
Tagged date : UTC 2011-05-29 15:21:04
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Baseline@L3.1
Format settings, CABAC : No
Format settings, ReFrames : 1 frame
Format settings, GOP : M=1, N=30
Muxing mode : Container profile=Unknown@1.1
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 3s 541ms
Bit rate mode : Variable
Bit rate : 9 886 Kbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 29.935 fps
Minimum frame rate : 21.739 fps
Maximum frame rate : 43.478 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.358
Stream size : 4.17 MiB (99%)
Language : English
Encoded date : UTC 2011-05-29 15:21:04
Tagged date : UTC 2011-05-29 15:21:04
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 3s 520ms
Bit rate mode : Variable
Bit rate : 48.0 Kbps
Nominal bit rate : 58.5 Kbps
Maximum bit rate : 62.1 Kbps
Channel(s) : 1 channel
Channel positions : Front: C
Sampling rate : 16.0 KHz
Compression mode : Lossy
Stream size : 21.4 KiB (0%)
Language : English
Encoded date : UTC 2011-05-29 15:21:04
Tagged date : UTC 2011-05-29 15:21:04
The profile is now MP42, but the streams inside are the same.
This new file is now playable by the PlayStation3. No transcoding, no tricks.
For reference, I have uploaded both of above files for you to examine if you want:
Original version: http://www.nielsbuus.dk/ting/skattekisten/road_original.mp4
Exported from QuickTime Pro: http://www.nielsbuus.dk/ting/skattekisten/road_remuxed.mp4
Now - transfering every video recording I have made to my PC just to manually remux the video in QuickTime is a tedious task. Therefore I would like to ask you:
Do you have any ideas for a smarter way to go around this? Please include pros and cons. I am not interested in anything that involves transcoding.
I have searched the Android Market for an app that can batch remux video on the phone, but it seems that no such app exist.
Any ideas? :thanks:
Hello Doom9. This is my first post after 5 days of patiently waiting - finally it's my turn in the line. :-)
I am the lucky owner of one of the new Samsung Galaxy S II which records H.264 video and AAC audio in both 1080p and 720p. Furthermore it has built-in DLNA sharing support, so I can play the content on other DLNA-enabled devices such as the PlayStation3 - or can I?
When I start the Allshare DLNA-server on my phone, I can access it from my PS3 and while my JPEG-shots display just fine, I am having problems with my video. The PlayStation3 simply refuses to play the file and reports it as unsupported - despite the fact that PS3 supports both H264 and AAC out of the box.
With my limited technical insight into the MPEG-4 format I have isolated the problem and even identified a solution, although it's not ideal.
When opening the recording in MediaInfo, I get the following information:
General
Complete name : D:\Film\Galaxy II samples\road_original.mp4
Format : MPEG-4
Format profile : 3GPP Media Release 4
Codec ID : 3gp4
File size : 4.20 MiB
Duration : 3s 508ms
Overall bit rate : 10.0 Mbps
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Baseline@L3.1
Format settings, CABAC : No
Format settings, ReFrames : 1 frame
Format settings, GOP : M=1, N=30
Muxing mode : Container profile=Unknown@1.1
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 3s 508ms
Bit rate mode : Variable
Bit rate : 9 980 Kbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 30.217 fps
Minimum frame rate : 21.739 fps
Maximum frame rate : 43.478 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.358
Stream size : 4.17 MiB (99%)
Language : English
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 3s 456ms
Bit rate mode : Variable
Bit rate : 50.8 Kbps
Nominal bit rate : 58.5 Kbps
Maximum bit rate : 62.1 Kbps
Channel(s) : 1 channel
Channel positions : Front: C
Sampling rate : 16.0 KHz
Compression mode : Lossy
Stream size : 21.4 KiB (0%)
Language : English
Notice the bold part. Apparently, the PlayStation3 doesn't like 3GP4. But if I open the file in QuickTime only to export it with direct stream copying, I arrive with this file:
General
Complete name : D:\Film\Galaxy II samples\road_remuxed.mp4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42
File size : 4.20 MiB
Duration : 3s 541ms
Overall bit rate : 9 943 Kbps
Encoded date : UTC 2011-05-29 15:21:04
Tagged date : UTC 2011-05-29 15:21:04
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Baseline@L3.1
Format settings, CABAC : No
Format settings, ReFrames : 1 frame
Format settings, GOP : M=1, N=30
Muxing mode : Container profile=Unknown@1.1
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 3s 541ms
Bit rate mode : Variable
Bit rate : 9 886 Kbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 29.935 fps
Minimum frame rate : 21.739 fps
Maximum frame rate : 43.478 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.358
Stream size : 4.17 MiB (99%)
Language : English
Encoded date : UTC 2011-05-29 15:21:04
Tagged date : UTC 2011-05-29 15:21:04
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 3s 520ms
Bit rate mode : Variable
Bit rate : 48.0 Kbps
Nominal bit rate : 58.5 Kbps
Maximum bit rate : 62.1 Kbps
Channel(s) : 1 channel
Channel positions : Front: C
Sampling rate : 16.0 KHz
Compression mode : Lossy
Stream size : 21.4 KiB (0%)
Language : English
Encoded date : UTC 2011-05-29 15:21:04
Tagged date : UTC 2011-05-29 15:21:04
The profile is now MP42, but the streams inside are the same.
This new file is now playable by the PlayStation3. No transcoding, no tricks.
For reference, I have uploaded both of above files for you to examine if you want:
Original version: http://www.nielsbuus.dk/ting/skattekisten/road_original.mp4
Exported from QuickTime Pro: http://www.nielsbuus.dk/ting/skattekisten/road_remuxed.mp4
Now - transfering every video recording I have made to my PC just to manually remux the video in QuickTime is a tedious task. Therefore I would like to ask you:
Do you have any ideas for a smarter way to go around this? Please include pros and cons. I am not interested in anything that involves transcoding.
I have searched the Android Market for an app that can batch remux video on the phone, but it seems that no such app exist.
Any ideas? :thanks: