maemo.org Bugzilla – Bug 10400
Media Player does not detect the correct aspect ratio in ASF (h264 encoded) Streams. (Maybe an asf demuxer problem)
Last modified: 2010-07-23 12:14:18 UTC
You need to log in before you can comment on or make changes to this bug.
SOFTWARE VERSION: 10.2010.19-1 EXACT STEPS LEADING TO PROBLEM: 1. transcode a mpeg2 ts stream to h264 with asf muxer for example with following vlc transcode options (I used VLC 1.0.5 on win7) --sout="#transcode{venc=x264{profile=baseline,level=3.0},vcodec=h264,vb=800,width=800,height=480,acodec=mp4a,ab=128,audio-sync }:std{access=file,mux=asf,dst=C:\\out.mp4}" or for http live streaming: --sout="#transcode{venc=x264{profile=baseline,level=3.0},vcodec=h264,vb=800,width=800,height=480,acodec=mp4a,ab=128,audio-sync }:std{access=http,mux=asf,dst=:8080/out.mp4}" 2. open transcoded video file/stream 3. aspect ratio is not detected correctly EXPECTED OUTCOME: video file/stream is played with correct aspect ratio ACTUAL OUTCOME: video is played with wrong aspect ratio (stretched to whole screen) REPRODUCIBILITY: always OTHER COMMENTS: I have created two test files. First transcoded with asf muxer. http://www.nanohcv.de/asf4_3.mp4 Second transcoded wiht mp4 muxer. http://www.nanohcv.de/mp4_4_3.mp4 The second one is played with correct aspect ratio with the fix from Felipe Contreras (https://bugs.maemo.org/show_bug.cgi?id=7465) I have also made some tests with other media players on different systems. - VLC (Windows and Linux) on PC detects the correct aspect ratio - MPlayer on PC detects the correct aspect ratio - MPlayer on N900 detects the correct aspect ratio - Totem Player (ubuntu 10.4) detects the correct aspect ratio - Media Player on N900 does not detect the correct aspect ratio User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
Hi, what is the output on the device when opening the videofile via gst-launch playbin2 uri=file:///home/user/MyDocs/.videos/videoname.foo
Hi, Output from gst-launch on N900: http://nanohcv.de/gstout_n900.txt Maybe helpful: The output from gst-launch in Ubuntu where the file is played with correct aspect ratio. http://nanohcv.de/gstout_ubuntu.txt