Difference between revisions of "VLC HowTo/Play on Yan Micro"

From VideoLAN Wiki
Jump to navigation Jump to search
m (DoesItReallyMatter moved page Play on Yan Micro to VLC HowTo/Play on Yan Micro: Renaming how-to articles per Talk:VLC HowTo (permalink))
m (syntaxhighlight)
Line 22: Line 22:
 
To make the video the correct size, you can edit the [[preferences]], or run vlc from a [[command prompt]]. For Windows, make a batch file as shown:
 
To make the video the correct size, you can edit the [[preferences]], or run vlc from a [[command prompt]]. For Windows, make a batch file as shown:
  
:set INPUT=V:\media\sample.avi
+
<!-- The correct language is "winbatch" but the \ and : characters are misinterpreted. -->
:set OUTPUT=V:\transcode output\sample.mp4
+
<syntaxhighlight lang="dos">
:set VLC=F:\app\VideoLAN\VLC\vlc.exe
+
set INPUT=V:\media\sample.avi
:%VLC% "%INPUT%" :sout=#transcode{vcodec=mp4v,vb=1024,scale=1,acodec=mp4a,audio-sync}:std{access=file,mux=mp4,url="%OUTPUT%"} --sout-transcode-width=240 --sout-transcode-height=176 --aspect-ratio=16:9
+
set OUTPUT=V:\transcode output\sample.mp4
 +
set VLC=F:\app\VideoLAN\VLC\vlc.exe
 +
%VLC% "%INPUT%" :sout=#transcode{vcodec=mp4v,vb=1024,scale=1,acodec=mp4a,audio-sync}:std{access=file,mux=mp4,url="%OUTPUT%"} --sout-transcode-width=240 --sout-transcode-height=176 --aspect-ratio=16:9
 +
</syntaxhighlight>
  
 
Fill in the input and output filenames. (FIXME: Aspect Ratio does not seem to be working){{Check}}
 
Fill in the input and output filenames. (FIXME: Aspect Ratio does not seem to be working){{Check}}
  
 
Note: Some videos can be transcoded, some can't. This info is still a work in progress.
 
Note: Some videos can be transcoded, some can't. This info is still a work in progress.

Revision as of 02:25, 26 March 2019

This page describes how to make your Video Files playable on an Play-Yan Micro. Other "how to" pages

A Play-Yan Micro is a Nintendo peripheral for Nintendo portable game devices. See Nintendo's official page for more info.

(The rest of the page follow the format/tone set by the Ipod howto article.)

To play on this device, the file you copy to it needs to be of the correct format. This format is summarised below:

Video Codec mp4v
Audio Codec mp4a (MP4 audio), aac (AAC)
Container mp4 (MPEG4/MOV)
Size 240x174

To make the video the correct size, you can edit the preferences, or run vlc from a command prompt. For Windows, make a batch file as shown:

set INPUT=V:\media\sample.avi
set OUTPUT=V:\transcode output\sample.mp4
set VLC=F:\app\VideoLAN\VLC\vlc.exe
%VLC% "%INPUT%" :sout=#transcode{vcodec=mp4v,vb=1024,scale=1,acodec=mp4a,audio-sync}:std{access=file,mux=mp4,url="%OUTPUT%"} --sout-transcode-width=240 --sout-transcode-height=176 --aspect-ratio=16:9

Fill in the input and output filenames. (FIXME: Aspect Ratio does not seem to be working)[Please check this]

Note: Some videos can be transcoded, some can't. This info is still a work in progress.