Changeset 5e0ca6827a863059778d55d35d95c2e722302192
- Timestamp:
- 02/05/01 15:30:30
(8 years ago)
- Author:
- Henri Fallon <henri@videolan.org>
- git-committer:
- Henri Fallon <henri@videolan.org> 988810230 +0000
- git-parent:
[f367feacc7afd5a654fc629b82f590d05fd0ea6a]
- git-author:
- Henri Fallon <henri@videolan.org> 988810230 +0000
- Message:
* Corrected vlc-howto thanks to Arnaud Gomes-do-Vale
* Fixed a segfault in TS input. Some stream still do not work, or
work very slowly with many error messages. I'll try to have a look.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rf367fea |
r5e0ca68 |
|
| 4 | 4 | |
|---|
| 5 | 5 | HEAD |
|---|
| 6 | | |
|---|
| | 6 | * Fixed a segfault in TS input (psi packets with adaptation field). |
|---|
| | 7 | * Corrected vlc-howto.sgml thanks to Arnaud Gomes-do-Vale |
|---|
| | 8 | <arnaud@carrosse.frmug.org>. |
|---|
| 7 | 9 | * Fixed a remaining buffer overflow in the Gnome interface and applied |
|---|
| 8 | 10 | the patches to the Gtk+ interface. |
|---|
| reb7f7ca |
r5e0ca68 |
|
| 4 | 4 | <title>VLC HOWTO</title> |
|---|
| 5 | 5 | <author>by the Videolan Team<tt><htmlurl url="mailto:videolan-faq@videlan.org" name="videolan-faq@videlan.org"></tt></author> |
|---|
| 6 | | <date>v0.0.2, 21 apr 2001</date> |
|---|
| | 6 | <date>v0.0.3, 21 apr 2001</date> |
|---|
| 7 | 7 | |
|---|
| 8 | 8 | <abstract> |
|---|
| … | … | |
| 19 | 19 | <heading>What is VideoLAN ?</heading> |
|---|
| 20 | 20 | <p> |
|---|
| 21 | | VideoLAN is a project of sudent of the �ole Centrale Paris which aims |
|---|
| | 21 | VideoLAN is a project of sudents of the �ole Centrale Paris which aims |
|---|
| 22 | 22 | to broadcast video on the campus, and provide the students with a MPEG2 |
|---|
| 23 | 23 | software-only decoder. VideoLAN is an OpenSource project which will thus |
|---|
| … | … | |
| 36 | 36 | Vlc stands for VideoLAN client. It is the name of the program which is |
|---|
| 37 | 37 | capable of decoding MPEG streams, and displaying them onto your screen, |
|---|
| 38 | | so you can watch you favorite movies, confortably sit in your armchair |
|---|
| | 38 | so you can watch you favourite movies, confortably sit in your armchair |
|---|
| 39 | 39 | :-). |
|---|
| 40 | 40 | </p> |
|---|
| … | … | |
| 82 | 82 | <heading>Installing the vlc : the packages</heading> |
|---|
| 83 | 83 | <p> |
|---|
| 84 | | This is certainly the most simple way to intsall the vlc on your system, |
|---|
| | 84 | This is certainly the simplest way to intsall the vlc on your system, |
|---|
| 85 | 85 | especially if you're using a packaged OS. |
|---|
| 86 | 86 | </p> |
|---|
| … | … | |
| 94 | 94 | <heading>Linux/Unix users</heading> |
|---|
| 95 | 95 | <sect2> |
|---|
| 96 | | <heading>What package to chose ?</heading> |
|---|
| 97 | | <p> |
|---|
| 98 | | There are different packages because vlc has "plugins" which provide functionnalities |
|---|
| 99 | | but also enlarges the executable and requires external libs. |
|---|
| | 96 | <heading>Which package to chose ?</heading> |
|---|
| | 97 | <p> |
|---|
| | 98 | There are different packages because vlc has "plugins" which provide features |
|---|
| | 99 | but also enlarge the executable and require external libs. |
|---|
| 100 | 100 | </p> |
|---|
| 101 | 101 | <p> |
|---|
| … | … | |
| 104 | 104 | </p> |
|---|
| 105 | 105 | <p> |
|---|
| 106 | | If you're using the enlighted sound daemon, you may want to try |
|---|
| | 106 | If you're using the enlightened sound daemon, you may want to try |
|---|
| 107 | 107 | the esd-aware vlc. |
|---|
| 108 | 108 | </p> |
|---|
| … | … | |
| 199 | 199 | vlc [file name] |
|---|
| 200 | 200 | </verb> |
|---|
| 201 | | To play a dvd, if you dvd device is "/dev/dvd", you'll type : |
|---|
| | 201 | To play a dvd, if your dvd device is "/dev/dvd", you'll type : |
|---|
| 202 | 202 | <verb> |
|---|
| 203 | 203 | vlc dvd:/dev/dvd |
|---|
| … | … | |
| 394 | 394 | <p> |
|---|
| 395 | 395 | When you're done with Makefile.opts (which also works if you leave it untouched), just |
|---|
| 396 | | make, typing : |
|---|
| | 396 | type: |
|---|
| 397 | 397 | <verb> |
|---|
| 398 | 398 | make |
|---|
| … | … | |
| 419 | 419 | <p> |
|---|
| 420 | 420 | I'll only speak about the vlc here. There will be a howto on the whole network solution. |
|---|
| 421 | | You have to say to the vlc that it'll receive network streams. This can be done either by * |
|---|
| | 421 | You have to tell the vlc that it will receive network streams. This can be done either by |
|---|
| 422 | 422 | using the "network" button of the interface, or in the command line : |
|---|
| 423 | 423 | <verb> |
|---|
| r0a4aeaa |
r5e0ca68 |
|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | 4 | * Copyright (C) 1998, 1999, 2000 VideoLAN |
|---|
| 5 | | * $Id: mpeg_system.c,v 1.52 2001/04/28 03:36:25 sam Exp $ |
|---|
| | 5 | * $Id: mpeg_system.c,v 1.53 2001/05/02 13:30:30 henri Exp $ |
|---|
| 6 | 6 | * |
|---|
| 7 | 7 | * Authors: Christophe Massiot <massiot@via.ecp.fr> |
|---|
| … | … | |
| 1049 | 1049 | * PCR, we pass it along to the PCR decoder. */ |
|---|
| 1050 | 1050 | |
|---|
| 1051 | | if( (p_pgrm_demux->i_pcr_pid == i_pid) && (p[5] & 0x10) ) |
|---|
| | 1051 | if( !b_psi && (p_pgrm_demux->i_pcr_pid == i_pid) && (p[5] & 0x10) ) |
|---|
| 1052 | 1052 | { |
|---|
| 1053 | 1053 | /* There should be a PCR field in the packet, check |
|---|
| … | … | |
| 1485 | 1485 | case MPEG1_AUDIO_ES: |
|---|
| 1486 | 1486 | case MPEG2_AUDIO_ES: |
|---|
| | 1487 | case LPCM_AUDIO_ES : |
|---|
| | 1488 | p_new_es->i_cat = AUDIO_ES; |
|---|
| | 1489 | i_audio_es += 1; |
|---|
| | 1490 | if( i_audio_es == i_required_audio_es ) |
|---|
| | 1491 | input_SelectES( p_input, p_new_es ); |
|---|
| | 1492 | break; |
|---|
| 1487 | 1493 | case AC3_AUDIO_ES : |
|---|
| 1488 | | case LPCM_AUDIO_ES : |
|---|
| | 1494 | p_new_es->i_stream_id = 0xBD; |
|---|
| 1489 | 1495 | p_new_es->i_cat = AUDIO_ES; |
|---|
| 1490 | 1496 | i_audio_es += 1; |
|---|