maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   Help please! Not playing support video formats (https://talk.maemo.org/showthread.php?t=59764)

Duncan J Murray 2010-08-04 22:37

Help please! Not playing support video formats
 
Hi there,

I've trawled through threads and threads about this, but I still don't understand why two types of file simply won't play on my N900. The first is a file from get-iplayer (ubuntu) which is:

.mp4
640 x 372
H.264 / AVC
25 frames per second
MPEG-4 AAC audio
Stereo
48000 Hz

and the others are from youtube and are:

flash video
450 x 360
H.264/AVC Video
25 frames per second
MPEG-4 AAC audio
Stereo
44100 Hz

I know there are hundreds of posts like this - but am I not right in thinking that these video formats should play?

Thanks in advance

Duncan.

optimistprime 2010-08-04 22:50

Re: Help please! Not playing support video formats
 
are you saying they dont play with the native player or even with kmplayer they wont play?

TorstenT 2010-08-06 22:59

Re: Help please! Not playing support video formats
 
Quote:

Originally Posted by Duncan J Murray (Post 776004)
.mp4
640 x 372
H.264 / AVC
25 frames per second
MPEG-4 AAC audio

flash video
450 x 360
H.264/AVC Video
25 frames per second
MPEG-4 AAC audio

I know there are hundreds of posts like this - but am I not right in thinking that these video formats should play?

The file extension .mp4 does not tell anything. You need to look into the video files.

Use your computer with Linux and post the output of
Code:

mplayer -identify -frames 0 <movie.mp4>

# e.g. mplayer -identify -frames 0 9.mp4
# and

hexdump -C <movie.mp4> | head

If the header starts with FLV then it is no wonder. The video and audio are in a container. Flash video has two container formats. FLV does not work with the default mediaplayer.

Use mplayer or vlc to play a video in an FLV container. Or you could try decoders-support for the mediaplayer.

Torsten

shadowjk 2010-08-07 13:17

Re: Help please! Not playing support video formats
 
And even "H.264 / AVC" is too vague. The N900 supports h.264 baseline profile only. Most content in the wild is main or high profile. Youtube .mp4 up to 480p is baseline. 720p and higher isn't.

Duncan J Murray 2010-08-10 18:15

Re: Help please! Not playing support video formats
 
Many thanks for the replies - output from the two files below:


MPlayer SVN-r1.0~rc3+svn20090426-4.4.3 (C) 2000-2009 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing Top_Gear_Series_15_-_Episode_1_b00syxz4_default.mp4.
libavformat file format detected.
ID_VIDEO_ID=0
[lavf] Video stream found, -vid 0
ID_AUDIO_ID=1
[lavf] Audio stream found, -aid 1
VIDEO: [avc1] 640x372 24bpp 25.000 fps 0.0 kbps ( 0.0 kbyte/s)
Clip info:
name: Top Gear
ID_CLIP_INFO_NAME0=name
ID_CLIP_INFO_VALUE0=Top Gear
author: Top Gear
ID_CLIP_INFO_NAME1=author
ID_CLIP_INFO_VALUE1=Top Gear
comments: Jeremy Clarkson asks why there aren't more three-wheeled cars in the world.
ID_CLIP_INFO_NAME2=comments
ID_CLIP_INFO_VALUE2=Jeremy Clarkson asks why there aren't more three-wheeled cars in the world.
genre: Factual,Cars & Motors
ID_CLIP_INFO_NAME3=genre
ID_CLIP_INFO_VALUE3=Factual,Cars & Motors
ID_CLIP_INFO_N=4
ID_FILENAME=Top_Gear_Series_15_-_Episode_1_b00syxz4_default.mp4
ID_DEMUXER=lavfpref
ID_VIDEO_FORMAT=avc1
ID_VIDEO_BITRATE=0
ID_VIDEO_WIDTH=640
ID_VIDEO_HEIGHT=372
ID_VIDEO_FPS=25.000
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=255
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
ID_LENGTH=3783.98
ID_SEEKABLE=1
ID_CHAPTERS=0
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
[VO_TDFXFB] Can't open /dev/fb0: Permission denied.
[VO_3DFX] Unable to open /dev/3dfx.
================================================== ========================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
================================================== ========================
ID_VIDEO_CODEC=ffh264
================================================== ========================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
ID_AUDIO_BITRATE=128000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
================================================== ========================
AO: [pulse] 48000Hz 2ch s16le (2 bytes per sample)
ID_AUDIO_CODEC=faad
Starting playback...


Exiting... (End of file)
ID_EXIT=EOF










Playing Newport.
libavformat file format detected.
ID_VIDEO_ID=0
[lavf] Video stream found, -vid 0
ID_AUDIO_ID=1
[lavf] Audio stream found, -aid 1
VIDEO: [H264] 450x360 0bpp 25.000 fps 465.2 kbps (56.8 kbyte/s)
ID_FILENAME=Newport
ID_DEMUXER=lavfpref
ID_VIDEO_FORMAT=H264
ID_VIDEO_BITRATE=465208
ID_VIDEO_WIDTH=450
ID_VIDEO_HEIGHT=360
ID_VIDEO_FPS=25.000
ID_VIDEO_ASPECT=1.2500
ID_AUDIO_FORMAT=255
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=2
ID_LENGTH=216.76
ID_SEEKABLE=1
ID_CHAPTERS=0
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
[VO_TDFXFB] Can't open /dev/fb0: Permission denied.
[VO_3DFX] Unable to open /dev/3dfx.
================================================== ========================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
================================================== ========================
ID_VIDEO_CODEC=ffh264
================================================== ========================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
ID_AUDIO_BITRATE=128000
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=2
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
================================================== ========================
AO: [pulse] 44100Hz 2ch s16le (2 bytes per sample)
ID_AUDIO_CODEC=faad
Starting playback...


Exiting... (End of file)
ID_EXIT=EOF






The first is from bbc iplayer, the second a flash from youtube.

I haven't tried to play through any other player apart from the default.

All best,

Duncan.

Duncan J Murray 2010-08-10 18:19

Re: Help please! Not playing support video formats
 
And the header file...


00000000 00 00 00 20 66 74 79 70 69 73 6f 6d 00 00 02 00 |... ftypisom....|
00000010 69 73 6f 6d 69 73 6f 32 61 76 63 31 6d 70 34 31 |isomiso2avc1mp41|
00000020 00 00 00 08 66 72 65 65 00 3a e4 d2 6d 6f 6f 76 |....free.:..moov|
00000030 00 00 00 6c 6d 76 68 64 00 00 00 00 7c 25 b0 80 |...lmvhd....|%..|
00000040 7c 25 b0 80 00 00 03 e8 00 39 bd 2c 00 01 00 00 ||%.......9.,....|
00000050 01 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 |................|
00000060 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 |................|
00000070 00 00 00 00 00 00 00 00 00 00 00 00 40 00 00 00 |............@...|
00000080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000090 00 00 00 00 00 00 00 00 00 00 00 03 00 16 ae f3 |................|





00000000 46 4c 56 01 05 00 00 00 09 00 00 00 00 12 00 03 |FLV.............|
00000010 4b 00 00 00 00 00 00 00 02 00 0a 6f 6e 4d 65 74 |K..........onMet|
00000020 61 44 61 74 61 08 00 00 00 0f 00 08 64 75 72 61 |aData.......dura|
00000030 74 69 6f 6e 00 40 6b 18 51 eb 85 1e b8 00 09 73 |tion.@k.Q......s|
00000040 74 61 72 74 74 69 6d 65 00 00 00 00 00 00 00 00 |tarttime........|
00000050 00 00 0d 74 6f 74 61 6c 64 75 72 61 74 69 6f 6e |...totalduration|
00000060 00 40 6b 18 51 eb 85 1e b8 00 05 77 69 64 74 68 |.@k.Q......width|
00000070 00 40 7c 20 00 00 00 00 00 00 06 68 65 69 67 68 |.@| .......heigh|
00000080 74 00 40 76 80 00 00 00 00 00 00 0d 76 69 64 65 |t.@v........vide|
00000090 6f 64 61 74 61 72 61 74 65 00 40 7c 64 ed 13 3e |odatarate.@|d..>|





Hmmm, looks like the second is an FLV.

All best,

Duncan.

TorstenT 2010-08-11 22:36

Re: Help please! Not playing support video formats
 
Quote:

Originally Posted by Duncan J Murray (Post 781898)
Hmmm, looks like the second is an FLV.

Yes, the second video file is in an FLV container. mplayer can play this container.

Install kmplayer and vlc.

The first video file seems to be ok. As shadowjk mentioned this can be a problem of the H.264 profile.

The program "avinaptic" can display the profile of the video. There is a section "About H.264 encoding" which contains the profile. For example:

Code:

[ About H.264 encoding ]

SPS id: 0
  Profile: Baseline@L3

The default media player only supports baseline. Mplayer and VLC also support other profiles.

If you need the default player then reencode your videos.

http://wiki.maemo.org/Video_encoding
http://wiki.maemo.org/Manual_video_encoding

brokensmile 2011-07-28 04:25

Re: Help please! Not playing support video formats
 
Is there any codec for .DAT file

demolition 2011-07-28 10:24

Re: Help please! Not playing support video formats
 
Quote:

Originally Posted by brokensmile (Post 1059695)
Is there any codec for .DAT file

No. Do "identify" like above to check though.

".dat" is an arbitrary extn for a data file. If there's any ascii data within, try opening with leafpad. Failing that, save it to your desktop and try with notepad and if that fails, try wordpad. .dat files do not associate with codecs: they are neither standard audio nor standard video files.

Anyone got an idea about the video playback question above?

emorace 2011-07-29 10:34

Re: Help please! Not playing support video formats
 
i thought it would be ok to post my question here:
have some video files (avi) here that have a language selection of 3,
but the standart video player of the n900 only plays the us sound, cant select anything ... is there a player that let me choose?


All times are GMT. The time now is 03:54.

vBulletin® Version 3.8.8