<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.mediawiki.compulab.com/w/index.php?action=history&amp;feed=atom&amp;title=CM-T3530%3A_Linux%3A_Video_playback</id>
	<title>CM-T3530: Linux: Video playback - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.mediawiki.compulab.com/w/index.php?action=history&amp;feed=atom&amp;title=CM-T3530%3A_Linux%3A_Video_playback"/>
	<link rel="alternate" type="text/html" href="https://www.mediawiki.compulab.com/w/index.php?title=CM-T3530:_Linux:_Video_playback&amp;action=history"/>
	<updated>2026-05-03T06:58:03Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://www.mediawiki.compulab.com/w/index.php?title=CM-T3530:_Linux:_Video_playback&amp;diff=1156&amp;oldid=prev</id>
		<title>Ilya: /* Kernel modules */</title>
		<link rel="alternate" type="text/html" href="https://www.mediawiki.compulab.com/w/index.php?title=CM-T3530:_Linux:_Video_playback&amp;diff=1156&amp;oldid=prev"/>
		<updated>2011-07-10T13:05:10Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Kernel modules&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 13:05, 10 July 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l18&quot; &gt;Line 18:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 18:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''Only baseline profile of H.264 and simple profile of MPEG4 formats are supported.''' Please refer to the TI [http://software-dl.ti.com/dsps/dsps_public_sw/codecs/OMAP35xx/index_FDS.html H.264] and [http://software-dl.ti.com/dsps/dsps_public_sw/codecs/C64XPlus_Video/index_FDS.html MPEG-4] codecs Data Sheets.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''Only baseline profile of H.264 and simple profile of MPEG4 formats are supported.''' Please refer to the TI [http://software-dl.ti.com/dsps/dsps_public_sw/codecs/OMAP35xx/index_FDS.html H.264] and [http://software-dl.ti.com/dsps/dsps_public_sw/codecs/C64XPlus_Video/index_FDS.html MPEG-4] codecs Data Sheets.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=== Kernel modules ===&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;OMAP3530 SoC requires the following modules for video playback:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* digital signal processor (DSP) core driver modules&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* 2D/3D graphics accelerator (SGX) driver modules&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The run-time demo Angstrom Linux filesystem including the video modules was created using OpenEmbedded framework.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;If the CM-T3530 Linux kernel image is built outside the OpenEmbedded framework, the pre-built DSP and SGX modules &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;must be installed onto the filesystem separately:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;# Build Linux kernel as described in [[CM-T3530:_Linux:_Kernel#Building_the_kernel|CM-T3530: Linux: Kernel]] article.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;# Copy the pre-built DSP and SGX video modules from the CM-T3530 Linux package to the kernel modules directory (e.g. {{filename|/home/development/cm-t35/rootfs/lib/modules/&amp;lt;kernel version&amp;gt;/}}).&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;# Put the {{filename|depmod.sh}} script from the CM-T3530 Linux package into the {{filename|/etc/init.d/}} directory on the root file system.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;# Install the {{filename|depmod.sh}} to the required runlevel using {{filename|update-rc.d}} utility. Note, that the Angstrom Linux filesystem provided in CM-T3530 Linux package has the script already installed.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Kernel parameters ===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Kernel parameters ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ilya</name></author>
		
	</entry>
	<entry>
		<id>https://www.mediawiki.compulab.com/w/index.php?title=CM-T3530:_Linux:_Video_playback&amp;diff=1012&amp;oldid=prev</id>
		<title>Mike: /* Videos not playing. */</title>
		<link rel="alternate" type="text/html" href="https://www.mediawiki.compulab.com/w/index.php?title=CM-T3530:_Linux:_Video_playback&amp;diff=1012&amp;oldid=prev"/>
		<updated>2010-07-19T13:08:09Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Videos not playing.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Introduction ==&lt;br /&gt;
The OMAP3530 includes a built-in TMS320C64X+ DSP Core that provides advanced hardware acceleration support for media encoding / decoding.&amp;lt;br&amp;gt;&lt;br /&gt;
For further details, refer to the [http://focus.ti.com/general/docs/litabsmultiplefilelist.tsp?literatureNumber=spruf98d OMAP35x Technical Reference Manual].&lt;br /&gt;
&lt;br /&gt;
== GStreamer TI Plugin ==&lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/GStreamer GStreamer] is a pipeline-based multimedia framework that allows to create a variety of media-handling software components. [https://gstreamer.ti.com/gf/project/gstreamer_ti/ GStreamer TI Plugin] for OMAP3 platform enables DSP hardware utilisation for accelerating streaming audio and video processing and image manipulation by using TI DSP codecs. The plugin contains&lt;br /&gt;
[http://processors.wiki.ti.com/index.php?title=GstTIPlugin_Elements GstTIPlugin Elements]  for decoding/encoding audio, video and image and for displaying the video using fbdev.&lt;br /&gt;
&lt;br /&gt;
=== Video formats. ===&lt;br /&gt;
&lt;br /&gt;
Gstreamer TI and TI OMAP35x codecs currently support playback of VGA videos of quality up to [http://en.wikipedia.org/wiki/480p 480p] @ 30 fps of the following formats:&lt;br /&gt;
&lt;br /&gt;
* VGA .AVI VGA file with MPEG-2 or MPEG-4 Video and MP1L2 or MP3 Audio.&amp;lt;br /&amp;gt;&lt;br /&gt;
* VGA .AVI VGA file with H.264 Video and AAC Audio.&amp;lt;br /&amp;gt;&lt;br /&gt;
* VGA .MP4 file with MPEG-2/MPEG-4/H.264 Video and MP1L2/MP3/AAC Audio.&amp;lt;br /&amp;gt;&lt;br /&gt;
* VGA .TS file with H.264 Video and MP1L2 or MP3 Audio.&lt;br /&gt;
&lt;br /&gt;
'''Only baseline profile of H.264 and simple profile of MPEG4 formats are supported.''' Please refer to the TI [http://software-dl.ti.com/dsps/dsps_public_sw/codecs/OMAP35xx/index_FDS.html H.264] and [http://software-dl.ti.com/dsps/dsps_public_sw/codecs/C64XPlus_Video/index_FDS.html MPEG-4] codecs Data Sheets.&lt;br /&gt;
&lt;br /&gt;
=== Kernel parameters ===&lt;br /&gt;
In order to make the GStreamer-TI package work, please ensure that the framebuffer plains 1 and 2 are enabled in your kernel command line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vram=18M omapfb.vram=0:6M,1:6M,2:6M&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Additionally, cmemk kernel module requires a &amp;quot;window&amp;quot; in the kernel memory. It allocates a heap buffer at 0xc9000000 of size 0x53d000. You can leave this memory free by adding for example the following option to the kernel command line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;mem=99M@0x80000000&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Playback pipeline examples ===&lt;br /&gt;
&lt;br /&gt;
Below examples illustrate how to play video samples using GStreamer-TI. For more info please refer to [http://processors.wiki.ti.com/index.php/Example_GStreamer_Pipelines#OMAP35x GStreamer Pipelines Examples for OMAP35x].&lt;br /&gt;
&lt;br /&gt;
* VGA .AVI file with MPEG-2 or MPEG-4 Video and MP1L2 or MP3 Audio.&amp;lt;br /&amp;gt;&lt;br /&gt;
 gst-launch -v filesrc location=sample.avi ! avidemux name=demux demux.audio_00 ! \&lt;br /&gt;
   queue max-size-buffers=1200 max-size-time=0 max-size-bytes=0 ! mad !  alsasink demux.video_00 ! \&lt;br /&gt;
   queue ! TIViddec2 ! queue max-size-buffers=2 max-size-time=0 max-size-bytes=0 ! omapdmaifbsink max-lateness=50000&lt;br /&gt;
&lt;br /&gt;
* VGA .AVI file with H.264 Video and AAC Audio.&lt;br /&gt;
 gst-launch -v filesrc location=sample.avi ! avidemux name=demux demux.audio_00 ! \&lt;br /&gt;
   queue max-size-buffers=8000 max-size-time=0 max-size-bytes=0 ! TIAuddec1 ! alsasink demux.video_00 ! \&lt;br /&gt;
   queue ! TIViddec2 ! omapdmaifbsink max-lateness=50000&lt;br /&gt;
&lt;br /&gt;
* VGA .MP4 file with H.264 Video and MP1L2 or MP3 Audio:&lt;br /&gt;
 gst-launch -v filesrc location=sample.mp4 ! qtdemux name=demux demux.audio_00 ! \&lt;br /&gt;
   queue max-size-buffers=8000 max-size-time=0 max-size-bytes=0 ! mad ! alsasink demux.video_00 ! \&lt;br /&gt;
   queue ! TIViddec2 ! omapdmaifbsink max-lateness=50000&lt;br /&gt;
&lt;br /&gt;
* VGA .MP4 file with H.264 Video and AAC Audio:&lt;br /&gt;
 gst-launch -v filesrc location=sample.mp4 ! qtdemux name=demux demux.audio_00 ! \&lt;br /&gt;
   queue max-size-buffers=8000 max-size-time=0 max-size-bytes=0 ! TIAuddec1 ! alsasink demux.video_00 ! \&lt;br /&gt;
   queue ! TIViddec2 ! omapdmaifbsink max-lateness=50000&lt;br /&gt;
&lt;br /&gt;
* VGA .TS file with H.264 Video and MP1L2 or MP3 Audio:&lt;br /&gt;
 gst-launch filesrc location=sample.ts ! typefind ! mpegtsdemux name=demux demux. ! \&lt;br /&gt;
   queue max-size-buffers=1200 max-size-time=0 max-size-bytes=0 ! typefind ! mad ! alsasink demux. ! \&lt;br /&gt;
   typefind ! TIViddec2 ! queue max-size-buffers=2 max-size-time=0 max-size-bytes=0 ! omapdmaifbsink max-lateness=50000&lt;br /&gt;
&lt;br /&gt;
== Creating Videos ==&lt;br /&gt;
&lt;br /&gt;
Example video clips can be downloaded from [http://www.apple.com/trailers Apple trailers]. Use Quicktime Pro to download and save the trailer videos. Use the [http://www.ffmpeg.org ffmpeg] application to convert the videos to the GStreamer TI compatible formats. Refer to [http://ubuntuforums.org/showthread.php?t=1117283 enabling MP3, MPEG4, AAC, in FFmpeg on Ubuntu].&lt;br /&gt;
&lt;br /&gt;
* Encoding to .AVI file H.264 Video and AAC Audio:&lt;br /&gt;
 ffmpeg -i test.mov -f avi -r 30 -b 1200kb -s 720x480 -vcodec libx264 -vpre hq -vpre baseline \&lt;br /&gt;
   -me_range 8 -crf 22 -acodec aac -ar 22050 -ac 2 -threads 0 test.avi&lt;br /&gt;
Creates a video file with size 720x480, 30 fps, bitrate 1200 kbps, 2 channels audio with 22050 Hz frequency.&lt;br /&gt;
* Encoding to .MP4 file with MPEG-4 Video and MP3 Audio:&lt;br /&gt;
 ffmpeg -i test.mov -r 30 -f mp4  -b 1200kb -s 720x480  -vcodec mpeg4 -flags +aic+cbp+mv0+mv4 \&lt;br /&gt;
   -profile 0 -level 2 -trellis 2 -mbd 2 -cmp 2 -subcmp 2 -g 250 -maxrate 2.5M -bufsize 2M  \&lt;br /&gt;
   -acodec libmp3lame -ar 22050 -ac 2 -threads 0 test.mp4&lt;br /&gt;
&lt;br /&gt;
=== Parameters explanation ===&lt;br /&gt;
&lt;br /&gt;
; '''-f''' : container format&lt;br /&gt;
; '''-b''' : video bitrate&lt;br /&gt;
; '''-s''' : video size&lt;br /&gt;
; '''-r''' : frames per second&lt;br /&gt;
; '''-ar''' : audio frequency&lt;br /&gt;
; '''-ac''' : audio channels&lt;br /&gt;
; '''-threads 0''' : indicates that the algorithm should choose the number of threads to be used.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''H264 specific options''' - please refer for more info to the [http://rob.opendot.cl/index.php/useful-stuff/ffmpeg-x264-encoding-guide/ x264 encoding guide] and [http://rob.opendot.cl/index.php/useful-stuff/x264-to-ffmpeg-option-mapping/ ffmpeg to libx264 options mapping].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
-vpre libx264 presets&lt;br /&gt;
-me_range&lt;br /&gt;
-crf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''MPEG-4 specific options''' - please refer for some explanations [http://rob.opendot.cl/index.php/useful-stuff/ipod-video-guide/ here].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
-profile  -level  :&lt;br /&gt;
- Simple Profile level 0, corresponds to &amp;quot;-profile 0 - level 8&amp;quot;&lt;br /&gt;
- Simple Profile level 1, corresponds to &amp;quot;-profile 0 - level 1&amp;quot;&lt;br /&gt;
- Simple Profile level 2, corresponds to &amp;quot;-profile 0 - level 2&amp;quot;&lt;br /&gt;
&lt;br /&gt;
-flags&lt;br /&gt;
&lt;br /&gt;
-trellis&lt;br /&gt;
&lt;br /&gt;
-mbd&lt;br /&gt;
&lt;br /&gt;
-cmp&lt;br /&gt;
&lt;br /&gt;
-subcmp&lt;br /&gt;
&lt;br /&gt;
-g&lt;br /&gt;
&lt;br /&gt;
-maxrate&lt;br /&gt;
&lt;br /&gt;
-bufsize&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting  ==&lt;br /&gt;
&lt;br /&gt;
=== Videos not playing ===&lt;br /&gt;
&lt;br /&gt;
Try to add to your gstreamer command line the debugging option that will display all warnings regarding the TI elements.&lt;br /&gt;
&amp;lt;pre&amp;gt;-v --gst-debug=TI*:2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If there are no errors shown, but the player still doesn't show up, check if the video is of a compatible format and size (should be up to 480p).&lt;br /&gt;
&lt;br /&gt;
[[Category:Linux|Video Playback]]&lt;br /&gt;
[[Category:CM-T3530|Linux: Video Playback]]&lt;/div&gt;</summary>
		<author><name>Mike</name></author>
		
	</entry>
</feed>