Issue: Ubuntu Kylin 14.04 system is installed by default, SMPlayer play video is normal, but recently may be due to some mis-settings, causing SMPlayer to play any format video is silent.Workaround: Since ALSA is the bottom of the Linux sound system, first change the SMPlayer "preferences, audio-and output driver" setting from PulseAudio to Alsa, to see if there is a sound. If there is no sound, first check the ALSA mixer volume settings, and then check the PulseAudio volume settings.1. Check th
This article illustrates the Web site FLV video playback plug-in code based on JS and flash implementation. Share to everyone for your reference.
The specific implementation code is as follows:
Copy Code code as follows:
Full instance code click here to download the site.
I hope this article will help you with your Web programming.
main (void){/* The following wave file header assignment * *wavehead.a[0]= ' R ';wavehead.a[1]= ' I ';wavehead.a[2]= ' F ';wavehead.a[3]= ' F ';wavehead.b=length*rate*channels*size/8-8;wavehead.c[0]= ' W ';wavehead.c[1]= ' A ';wavehead.c[2]= ' V ';wavehead.c[3]= ' E ';Wavehead.d[0]= ' F ';wavehead.d[1]= ' m ';wavehead.d[2]= ' t ';Wavehead.d[3]= ';wavehead.e=16;wavehead.f=1;Wavehead.g=channels;Wavehead.h=rate;WAVEHEAD.I=RATE*CHANNELS*SIZE/8;WAVEHEAD.J=CHANNELS*SIZE/8;Wavehead.k=size;wavehead.p[0
only able to provide MP3 and so on. The sound quality is closest to the original CD if it can be provided in ape form. Others have also burned ape files downloaded from the Internet to CD. However, it is best not to MP3 such a loss of compressed music files to burn, because the music burned out, the effect is not good.
(4) Playback of ape Files:
If you play on your computer's hard drive, you can play it directly after you install Winamp or foobar2000
1, we click on the phone to open a "Archie art video", and then we in the Archie video interface click "I option" as shown in the following figure.
2, then click "I" to enter after we click "My management" then we find "play record" then here we select it, and then click to open it.
3, we click on the record to open, open and see the film we have played in the previous, such as small series here played a TV series.
4, then we will see in the record interface we have
This example describes the Android implementation that directly plays the sound captured by the microphone. Share to everyone for your reference. Specifically as follows:
This is a direct playback microphone captured by the voice thread class:
Class Recordthread extends thread{static final int frequency = 44100;
static final int channelconfiguration = Audioformat.channel_configuration_mono;
static final int audioencoding = Audioformat.encodi
only able to provide MP3 and so on. The sound quality is closest to the original CD if it can be provided in ape form. Others have also burned ape files downloaded from the Internet to CD. However, it is best not to MP3 such a loss of compressed music files to burn, because the music burned out, the effect is not good.
(4) Playback of ape Files:
If you play on your computer's hard drive, you can play it directly after you install Winamp or foobar2000
Flash Animation
Usually in the production of Flash animation EXE file, in order to make the animation at the beginning of the play into full screen state, we can set the animation of the first frame of the Frame property action event. Add an FS command command in this event and select Fullscreen[true/false in the for Standalone player Drop-down list, when the value in the command is "fullscreen" and the value in arguments is "True".
However, such a setting when the animation is played, the user
Aboutplayer.controls.play (); The front. Where the SMI file address is best to use absolute address (with the media file address is absolute, relative and change). If the media file has the same path as SMI file, the SMI file address can be omitted.
Above is only the single lyrics to play The example, regarding the SMI lyrics to play continuously the classic version please see the bbsvisual for SMIproduced by the music.
RT Lyrics File
Please click the play key to watch the effect. The RT lyrics
window| Solve | The problem
In fact, you first define a WMP playlist:
Dim currentlist as Wmplib.iwmpplaylist = Me.AxWindowsMediaPlayer1.currentPlaylistDim Media as Wmplib.iwmpmedia
' Here you can use an array loop to get a playlistMedia = Me.AxWindowsMediaPlayer1.newMedia ("K:\ Entertainment and leisure \mp3\ lonely season. mp3")Currentlist.appenditem (Media)Media = Me.AxWindowsMediaPlayer1.newMedia ("K:\ Entertainment and Leisure \mp3\ibelieve.mp3")Currentlist.appenditem (Media)
Repeat
Add a Timer control to the interface, and then add the timer's tick to the UpdatePanel1 trigger (implement a timed partial refresh map), set a time interval, and add the following code to the event:
protected void Timer1_Tick (object sender, EventArgs e){/* The following code can realize the dynamic movement of the point, on the basis of the original point longitude offset 0.5 each timeCatalog cat = MapInfo.Engine.Session.Current.Catalog;
MapInfo.Data.Table tbl = MapInfo.Engine.Session.Current.C
Do not say more, the implementation of the method please look at the following code.
The code is as follows:
The above code is to use JS to achieve automatic picture playback and controllable effect, I hope to help.
Recently because of the project needs, the front-end can only use AMR format audio, the latter web page now do not know this format online playback;
Search for a long time two ways to solve:
1, page nesting plug-ins, Deeds is the QuickTime control, Apple's official website download, but do not know why download address is not valid, but also to set up a variety of Tomcat configuration, overall, aborted;
2, before uploading the conversion format int
, you must stop here, or you will always have the beginning, because you have been reading repeatedly} while (loop);
sun.audio.audioplayer;//player
sun.audio.audiostream;//audio stream do
{
InputStream = Url.openstream ();// Get the input stream for the music file
audiostream as = new Audiostream (IS);//create the audio stream
AudioPlayer.player.start (as);/start the While
loop as.available () > 0);//If you want to implement a repeat, you must stop here, or you will always have the
:04.48] [01:21.48] Tide rise and fall never regret true love
[03:11.88] [01:28.95] How many painful struggles are there in the night
[03:19.2] [01:36.29] hold hands and let me and you never get away
[01:59.32] snow-frozen love on the pillow
[02:06.65] The cradle of truth will melt
[02:13.87] The fire on the stove in the wind
[02:21.37] never to extinguish
[02:28.8] waiting for flowers to spring and come again
[02:36.02] Ruthless years laugh at me crazy
[02:43.37] The world is deserted by heart l
change to tmediaplay, enhance its function, the modified Tmediaplay completely compatible with the original.
Original code:
{setting a TWinControl to display video devices' output} procedure TMediaPlayer.SetDisplay( Value: TWinControl ); var AWindowParm: TMCI_Anim_Window_Parms; begin if (Value begin FFlags := mci_Wait or mci_Anim_Window_hWnd; AWindowParm.Wnd := Longint(Value.Handle); ................ end;
After modification
{setting a TWinControl to display video devices' output} procedure
This paper introduces the online playback code of 8 kinds of media file formats such as Mid,mp3,avi,flash,mpg,mov,rm,authware
1,mid
Code:
2,mp3
Code:
3,avi
Code:
4,flash
Code:
5,mpg
Code:
6,mov
Code:
7,rm
Code:
8,authware
Code:
When we insert a video in a Web page , do we find that when the video is not played, the window is dark and ugly, so can you preset some images before the video is played? Here are two ways to add a preset picture to a netizen.
First, get the image from the video
From the video, the main is to let the video jump to the desired frame, and then pause playback. See the code example in WMP and RM below:
Window Media Player:
1, first in the body to add
First, control playback
1.1 Pause/Play/stop
VC + + Code:
////////////////////////////////////////////////////////////////////////////////Funtion:play or change the play speed to normal;///////////////////////////////////////////////////////////////////////////////void Cplayerdlg::onplay (){Todo:add your control notification handler code herePlay ();} void Cplayerdlg::P Lay (){M_nspeed=0;OnThrow0 ();#ifdef _test_callbackif (M_bconvert)Hik_playm4_set
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.