GStreamer encoding profile for the Meizu M6 player
- From: Luis Menina <liberforce freeside fr>
- To: gnome-multimedia gnome org
- Subject: GStreamer encoding profile for the Meizu M6 player
- Date: Wed, 10 Feb 2010 02:26:24 +0100
Hi list !
I'm still investigating on why videos encoded with gstreamer fail to
play on my Meizu M6 digital player, while converting them with mencoder
works.
I had since last time [1] tried to generate with gstreamer :
- avi files with a video stream only (no audio stream)
- avi files with an audio stream only (no video stream)
...but they all failed to play too.
So I tried something else : creating a sample file with gstreamer with
only a video stream, and encoding the file with mencoder with direct
copy of the video stream.
The fast is that the video produced by mencoder, and based on the
gstreamer-generated one, works ! As the video stream was untouched
during the process, that means IMHO that the container is the one at
fault here.
You can generate the gstreamer test file with this command :
gst-launch-0.10 videotestsrc num-buffers=100 !
'video/x-raw-yuv,framerate=(fraction)20/1,width=320,height=240' !
videoflip method=clockwise ! xvidenc bitrate=384000 max-bframes=0 !
queue ! avimux name=mux ! progressreport ! filesink location=gstreamer.avi
Then, you can generate the mencoder test file with this command :
mencoder gstreamer.avi -ovc copy -o mencoder.avi
You'll find attached both logs generated (and cleaned up a bit) with the
following syntax :
GST_DEBUG=avidemux:3,riff:3 gst-launch-0.10 playbin2 uri=file:///.....
But you may prefer read directly the attached diff.log file, containing
the diff of both files, and showing the fields that are different
between both avi files.
I'd be grateful if someone could tell me which field causes the problem,
or how I can change those fields values. Even just knowing if the
problem comes from the firmware of my player or from gstreamer would be
useful !
Thanks in advance,
--
Luis
[1]
http://mail.gnome.org/archives/gnome-multimedia/2009-October/msg00018.html
[32;01mINFO [00m [00m avidemux gstavidemux.c:977:gst_avi_demux_parse_avih:<avidemux0>[00m avih tag found:
[32;01mINFO [00m [00m avidemux gstavidemux.c:978:gst_avi_demux_parse_avih:<avidemux0>[00m us_frame 50000
[32;01mINFO [00m [00m avidemux gstavidemux.c:979:gst_avi_demux_parse_avih:<avidemux0>[00m max_bps 4608000
[32;01mINFO [00m [00m avidemux gstavidemux.c:980:gst_avi_demux_parse_avih:<avidemux0>[00m pad_gran 0
[32;01mINFO [00m [00m avidemux gstavidemux.c:981:gst_avi_demux_parse_avih:<avidemux0>[00m flags 0x00000010
[32;01mINFO [00m [00m avidemux gstavidemux.c:982:gst_avi_demux_parse_avih:<avidemux0>[00m tot_frames 100
[32;01mINFO [00m [00m avidemux gstavidemux.c:983:gst_avi_demux_parse_avih:<avidemux0>[00m init_frames 0
[32;01mINFO [00m [00m avidemux gstavidemux.c:984:gst_avi_demux_parse_avih:<avidemux0>[00m streams 1
[32;01mINFO [00m [00m avidemux gstavidemux.c:985:gst_avi_demux_parse_avih:<avidemux0>[00m bufsize 0
[32;01mINFO [00m [00m avidemux gstavidemux.c:986:gst_avi_demux_parse_avih:<avidemux0>[00m width 240
[32;01mINFO [00m [00m avidemux gstavidemux.c:987:gst_avi_demux_parse_avih:<avidemux0>[00m height 320
[32;01mINFO [00m [00m avidemux gstavidemux.c:988:gst_avi_demux_parse_avih:<avidemux0>[00m scale 0
[32;01mINFO [00m [00m avidemux gstavidemux.c:989:gst_avi_demux_parse_avih:<avidemux0>[00m rate 0
[32;01mINFO [00m [00m avidemux gstavidemux.c:990:gst_avi_demux_parse_avih:<avidemux0>[00m start 0
[32;01mINFO [00m [00m avidemux gstavidemux.c:991:gst_avi_demux_parse_avih:<avidemux0>[00m length 0
[32;01mINFO [00m [00m riff riff-read.c:307:gst_riff_parse_strh:<avidemux0>[00m strh tag found:
[32;01mINFO [00m [00m riff riff-read.c:309:gst_riff_parse_strh:<avidemux0>[00m type vids
[32;01mINFO [00m [00m riff riff-read.c:311:gst_riff_parse_strh:<avidemux0>[00m fcc_handler XVID
[32;01mINFO [00m [00m riff riff-read.c:312:gst_riff_parse_strh:<avidemux0>[00m flags 0x00000000
[32;01mINFO [00m [00m riff riff-read.c:313:gst_riff_parse_strh:<avidemux0>[00m priority 0
[32;01mINFO [00m [00m riff riff-read.c:314:gst_riff_parse_strh:<avidemux0>[00m init_frames 0
[32;01mINFO [00m [00m riff riff-read.c:315:gst_riff_parse_strh:<avidemux0>[00m scale 1
[32;01mINFO [00m [00m riff riff-read.c:316:gst_riff_parse_strh:<avidemux0>[00m rate 20
[32;01mINFO [00m [00m riff riff-read.c:317:gst_riff_parse_strh:<avidemux0>[00m start 0
[32;01mINFO [00m [00m riff riff-read.c:318:gst_riff_parse_strh:<avidemux0>[00m length 100
[32;01mINFO [00m [00m riff riff-read.c:319:gst_riff_parse_strh:<avidemux0>[00m bufsize 0
[32;01mINFO [00m [00m riff riff-read.c:320:gst_riff_parse_strh:<avidemux0>[00m quality 0
[32;01mINFO [00m [00m riff riff-read.c:321:gst_riff_parse_strh:<avidemux0>[00m samplesize 0
[32;01mINFO [00m [00m avidemux gstavidemux.c:1563:gst_avi_demux_parse_stream:[00m Stream duration according to header: 0:00:05.000000000
[32;01mINFO [00m [00m riff riff-read.c:398:gst_riff_parse_strf_vids:<avidemux0>[00m strf tag found in context vids:
[32;01mINFO [00m [00m riff riff-read.c:399:gst_riff_parse_strf_vids:<avidemux0>[00m size 40
[32;01mINFO [00m [00m riff riff-read.c:400:gst_riff_parse_strf_vids:<avidemux0>[00m width 240
[32;01mINFO [00m [00m riff riff-read.c:401:gst_riff_parse_strf_vids:<avidemux0>[00m height 320
[32;01mINFO [00m [00m riff riff-read.c:402:gst_riff_parse_strf_vids:<avidemux0>[00m planes 1
[32;01mINFO [00m [00m riff riff-read.c:403:gst_riff_parse_strf_vids:<avidemux0>[00m bit_cnt 24
[32;01mINFO [00m [00m riff riff-read.c:405:gst_riff_parse_strf_vids:<avidemux0>[00m compression XVID
[32;01mINFO [00m [00m riff riff-read.c:406:gst_riff_parse_strf_vids:<avidemux0>[00m image_size 76800
[32;01mINFO [00m [00m riff riff-read.c:407:gst_riff_parse_strf_vids:<avidemux0>[00m xpels_meter 0
[32;01mINFO [00m [00m riff riff-read.c:408:gst_riff_parse_strf_vids:<avidemux0>[00m ypels_meter 0
[32;01mINFO [00m [00m riff riff-read.c:409:gst_riff_parse_strf_vids:<avidemux0>[00m num_colors 0
[32;01mINFO [00m [00m riff riff-read.c:410:gst_riff_parse_strf_vids:<avidemux0>[00m imp_colors 0
[32;01mINFO [00m [00m avidemux gstavidemux.c:1910:gst_avi_demux_parse_odml:<avidemux0>[00m dmlh tag found:
[32;01mINFO [00m [00m avidemux gstavidemux.c:1911:gst_avi_demux_parse_odml:<avidemux0>[00m totalframes: 100
[32;01mINFO [00m [00m avidemux gstavidemux.c:2188:gst_avi_demux_stream_index:[00m will parse index chunk size 1600 for tag idx1
[32;01mINFO [00m [00m avidemux gstavidemux.c:1989:gst_avi_demux_parse_index:[00m Parsing index, nr_entries = 100
[32;01mINFO [00m [00m avidemux gstavidemux.c:2102:gst_avi_demux_parse_index:[00m Parsed index, 100 entries, 1 keyframes, entry size = 48, total size = 4800
[32;01mINFO [00m [00m avidemux gstavidemux.c:2882:gst_avi_demux_calculate_durations_from_index:[00m Stream 0 duration according to index: 0:00:05.000000000
[32;01mINFO [00m [00m avidemux gstavidemux.c:2912:gst_avi_demux_calculate_durations_from_index:[00m Setting total duration to: 0:00:05.000000000
[32;01mINFO [00m [00m avidemux gstavidemux.c:4400:gst_avi_demux_loop:[00m stream_movi flow: unexpected
[32;01mINFO [00m [00m avidemux gstavidemux.c:4446:gst_avi_demux_loop:<avidemux0>[00m sending eos
[32;01mINFO [00m [00m avidemux gstavidemux.c:977:gst_avi_demux_parse_avih:<avidemux0>[00m avih tag found:
[32;01mINFO [00m [00m avidemux gstavidemux.c:978:gst_avi_demux_parse_avih:<avidemux0>[00m us_frame 50000
[32;01mINFO [00m [00m avidemux gstavidemux.c:979:gst_avi_demux_parse_avih:<avidemux0>[00m max_bps 0
[32;01mINFO [00m [00m avidemux gstavidemux.c:980:gst_avi_demux_parse_avih:<avidemux0>[00m pad_gran 0
[32;01mINFO [00m [00m avidemux gstavidemux.c:981:gst_avi_demux_parse_avih:<avidemux0>[00m flags 0x00000910
[32;01mINFO [00m [00m avidemux gstavidemux.c:982:gst_avi_demux_parse_avih:<avidemux0>[00m tot_frames 100
[32;01mINFO [00m [00m avidemux gstavidemux.c:983:gst_avi_demux_parse_avih:<avidemux0>[00m init_frames 0
[32;01mINFO [00m [00m avidemux gstavidemux.c:984:gst_avi_demux_parse_avih:<avidemux0>[00m streams 1
[32;01mINFO [00m [00m avidemux gstavidemux.c:985:gst_avi_demux_parse_avih:<avidemux0>[00m bufsize 0
[32;01mINFO [00m [00m avidemux gstavidemux.c:986:gst_avi_demux_parse_avih:<avidemux0>[00m width 240
[32;01mINFO [00m [00m avidemux gstavidemux.c:987:gst_avi_demux_parse_avih:<avidemux0>[00m height 320
[32;01mINFO [00m [00m avidemux gstavidemux.c:988:gst_avi_demux_parse_avih:<avidemux0>[00m scale 0
[32;01mINFO [00m [00m avidemux gstavidemux.c:989:gst_avi_demux_parse_avih:<avidemux0>[00m rate 0
[32;01mINFO [00m [00m avidemux gstavidemux.c:990:gst_avi_demux_parse_avih:<avidemux0>[00m start 0
[32;01mINFO [00m [00m avidemux gstavidemux.c:991:gst_avi_demux_parse_avih:<avidemux0>[00m length 0
[32;01mINFO [00m [00m riff riff-read.c:307:gst_riff_parse_strh:<avidemux0>[00m strh tag found:
[32;01mINFO [00m [00m riff riff-read.c:309:gst_riff_parse_strh:<avidemux0>[00m type vids
[32;01mINFO [00m [00m riff riff-read.c:311:gst_riff_parse_strh:<avidemux0>[00m fcc_handler XVID
[32;01mINFO [00m [00m riff riff-read.c:312:gst_riff_parse_strh:<avidemux0>[00m flags 0x00000000
[32;01mINFO [00m [00m riff riff-read.c:313:gst_riff_parse_strh:<avidemux0>[00m priority 0
[32;01mINFO [00m [00m riff riff-read.c:314:gst_riff_parse_strh:<avidemux0>[00m init_frames 0
[32;01mINFO [00m [00m riff riff-read.c:315:gst_riff_parse_strh:<avidemux0>[00m scale 1
[32;01mINFO [00m [00m riff riff-read.c:316:gst_riff_parse_strh:<avidemux0>[00m rate 20
[32;01mINFO [00m [00m riff riff-read.c:317:gst_riff_parse_strh:<avidemux0>[00m start 0
[32;01mINFO [00m [00m riff riff-read.c:318:gst_riff_parse_strh:<avidemux0>[00m length 100
[32;01mINFO [00m [00m riff riff-read.c:319:gst_riff_parse_strh:<avidemux0>[00m bufsize 6621
[32;01mINFO [00m [00m riff riff-read.c:320:gst_riff_parse_strh:<avidemux0>[00m quality 0
[32;01mINFO [00m [00m riff riff-read.c:321:gst_riff_parse_strh:<avidemux0>[00m samplesize 0
[32;01mINFO [00m [00m avidemux gstavidemux.c:1563:gst_avi_demux_parse_stream:[00m Stream duration according to header: 0:00:05.000000000
[32;01mINFO [00m [00m riff riff-read.c:398:gst_riff_parse_strf_vids:<avidemux0>[00m strf tag found in context vids:
[32;01mINFO [00m [00m riff riff-read.c:399:gst_riff_parse_strf_vids:<avidemux0>[00m size 40
[32;01mINFO [00m [00m riff riff-read.c:400:gst_riff_parse_strf_vids:<avidemux0>[00m width 240
[32;01mINFO [00m [00m riff riff-read.c:401:gst_riff_parse_strf_vids:<avidemux0>[00m height 320
[32;01mINFO [00m [00m riff riff-read.c:402:gst_riff_parse_strf_vids:<avidemux0>[00m planes 1
[32;01mINFO [00m [00m riff riff-read.c:403:gst_riff_parse_strf_vids:<avidemux0>[00m bit_cnt 24
[32;01mINFO [00m [00m riff riff-read.c:405:gst_riff_parse_strf_vids:<avidemux0>[00m compression XVID
[32;01mINFO [00m [00m riff riff-read.c:406:gst_riff_parse_strf_vids:<avidemux0>[00m image_size 76800
[32;01mINFO [00m [00m riff riff-read.c:407:gst_riff_parse_strf_vids:<avidemux0>[00m xpels_meter 0
[32;01mINFO [00m [00m riff riff-read.c:408:gst_riff_parse_strf_vids:<avidemux0>[00m ypels_meter 0
[32;01mINFO [00m [00m riff riff-read.c:409:gst_riff_parse_strf_vids:<avidemux0>[00m num_colors 0
[32;01mINFO [00m [00m riff riff-read.c:410:gst_riff_parse_strf_vids:<avidemux0>[00m imp_colors 0
[32;01mINFO [00m [00m avidemux gstavidemux.c:2188:gst_avi_demux_stream_index:[00m will parse index chunk size 1600 for tag idx1
[32;01mINFO [00m [00m avidemux gstavidemux.c:1989:gst_avi_demux_parse_index:[00m Parsing index, nr_entries = 100
[32;01mINFO [00m [00m avidemux gstavidemux.c:2102:gst_avi_demux_parse_index:[00m Parsed index, 100 entries, 1 keyframes, entry size = 48, total size = 4800
[32;01mINFO [00m [00m avidemux gstavidemux.c:2882:gst_avi_demux_calculate_durations_from_index:[00m Stream 0 duration according to index: 0:00:05.000000000
[32;01mINFO [00m [00m avidemux gstavidemux.c:2912:gst_avi_demux_calculate_durations_from_index:[00m Setting total duration to: 0:00:05.000000000
[32;01mINFO [00m [00m avidemux gstavidemux.c:4400:gst_avi_demux_loop:[00m stream_movi flow: unexpected
[32;01mINFO [00m [00m avidemux gstavidemux.c:4446:gst_avi_demux_loop:<avidemux0>[00m sending eos
--- gstreamer.log 2010-02-10 02:09:02.000000000 +0100
+++ mencoder.log 2010-02-10 02:08:42.000000000 +0100
@@ -1,8 +1,8 @@
[32;01mINFO [00m [00m avidemux gstavidemux.c:977:gst_avi_demux_parse_avih:<avidemux0>[00m avih tag found:
[32;01mINFO [00m [00m avidemux gstavidemux.c:978:gst_avi_demux_parse_avih:<avidemux0>[00m us_frame 50000
-[32;01mINFO [00m [00m avidemux gstavidemux.c:979:gst_avi_demux_parse_avih:<avidemux0>[00m max_bps 4608000
+[32;01mINFO [00m [00m avidemux gstavidemux.c:979:gst_avi_demux_parse_avih:<avidemux0>[00m max_bps 0
[32;01mINFO [00m [00m avidemux gstavidemux.c:980:gst_avi_demux_parse_avih:<avidemux0>[00m pad_gran 0
-[32;01mINFO [00m [00m avidemux gstavidemux.c:981:gst_avi_demux_parse_avih:<avidemux0>[00m flags 0x00000010
+[32;01mINFO [00m [00m avidemux gstavidemux.c:981:gst_avi_demux_parse_avih:<avidemux0>[00m flags 0x00000910
[32;01mINFO [00m [00m avidemux gstavidemux.c:982:gst_avi_demux_parse_avih:<avidemux0>[00m tot_frames 100
[32;01mINFO [00m [00m avidemux gstavidemux.c:983:gst_avi_demux_parse_avih:<avidemux0>[00m init_frames 0
[32;01mINFO [00m [00m avidemux gstavidemux.c:984:gst_avi_demux_parse_avih:<avidemux0>[00m streams 1
@@ -23,7 +23,7 @@
[32;01mINFO [00m [00m riff riff-read.c:316:gst_riff_parse_strh:<avidemux0>[00m rate 20
[32;01mINFO [00m [00m riff riff-read.c:317:gst_riff_parse_strh:<avidemux0>[00m start 0
[32;01mINFO [00m [00m riff riff-read.c:318:gst_riff_parse_strh:<avidemux0>[00m length 100
-[32;01mINFO [00m [00m riff riff-read.c:319:gst_riff_parse_strh:<avidemux0>[00m bufsize 0
+[32;01mINFO [00m [00m riff riff-read.c:319:gst_riff_parse_strh:<avidemux0>[00m bufsize 6621
[32;01mINFO [00m [00m riff riff-read.c:320:gst_riff_parse_strh:<avidemux0>[00m quality 0
[32;01mINFO [00m [00m riff riff-read.c:321:gst_riff_parse_strh:<avidemux0>[00m samplesize 0
[32;01mINFO [00m [00m avidemux gstavidemux.c:1563:gst_avi_demux_parse_stream:[00m Stream duration according to header: 0:00:05.000000000
@@ -39,8 +39,6 @@
[32;01mINFO [00m [00m riff riff-read.c:408:gst_riff_parse_strf_vids:<avidemux0>[00m ypels_meter 0
[32;01mINFO [00m [00m riff riff-read.c:409:gst_riff_parse_strf_vids:<avidemux0>[00m num_colors 0
[32;01mINFO [00m [00m riff riff-read.c:410:gst_riff_parse_strf_vids:<avidemux0>[00m imp_colors 0
-[32;01mINFO [00m [00m avidemux gstavidemux.c:1910:gst_avi_demux_parse_odml:<avidemux0>[00m dmlh tag found:
-[32;01mINFO [00m [00m avidemux gstavidemux.c:1911:gst_avi_demux_parse_odml:<avidemux0>[00m totalframes: 100
[32;01mINFO [00m [00m avidemux gstavidemux.c:2188:gst_avi_demux_stream_index:[00m will parse index chunk size 1600 for tag idx1
[32;01mINFO [00m [00m avidemux gstavidemux.c:1989:gst_avi_demux_parse_index:[00m Parsing index, nr_entries = 100
[32;01mINFO [00m [00m avidemux gstavidemux.c:2102:gst_avi_demux_parse_index:[00m Parsed index, 100 entries, 1 keyframes, entry size = 48, total size = 4800
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]