1
mirror of https://code.videolan.org/videolan/vlc synced 2024-10-07 03:56:28 +02:00
Commit Graph

188 Commits

Author SHA1 Message Date
Antoine Cellerier
62fffadfea Rename all sout_Cfg* stuff to config_Chain* (as it isn't really sout specific) 2006-10-01 16:08:37 +00:00
Clément Stenac
2d0f9f3e6d Fix typo 2006-09-10 20:20:21 +00:00
Clément Stenac
8dde0ccc90 Use the "video filter2" capability for transcode's vfilter option so we don't get vfilter1.
We need to fix the --video-filter option to accept both vfilter1 and vfilter2 and react correctly
2006-09-06 21:32:39 +00:00
Antoine Cellerier
72d2a5b460 subpicture_t now has a b_pausable attribute. When set to VLC_TRUE (default value is VLC_FALSE), this will keep displaying the subpicture_t when the parent input is paused. This means that subtitles should now be paused when clicking on pause. (refs #29) 2006-09-02 17:03:36 +00:00
Jean-Paul Saman
d9c2c0936b Try to reopen the audio encoder when channels dimensions have changed. 2006-08-28 12:27:59 +00:00
Jean-Paul Saman
d17c0dbe2f Don't force s16l as fourcc but let that depend on the stream chain 2006-08-20 20:46:40 +00:00
Gildas Bazin
03c6c68659 * modules/stream_out/transcode.c: couple of small fixes. 2006-08-17 20:07:13 +00:00
Jean-Paul Saman
416c065180 enabled check for p_sys->i_channels>2 again for mp3 audio. It was wrongly disabled. 2006-08-06 13:40:11 +00:00
Jean-Paul Saman
c27768fc58 Implement afilter transcode filters and renamed vfilter to ufilter (userfilter) so only one extra entry in sout_stream_id_t is needed and not one for every ES type. 2006-08-06 13:27:58 +00:00
Jean-Paul Saman
afee2b7a19 Some cleanup of whitespace 2006-08-04 15:17:15 +00:00
Antoine Cellerier
cbf60127d7 #transcode{vfilter=...} only works with video filter2 filters. 2006-07-09 15:01:13 +00:00
Clément Stenac
3ebf4f3016 Fix some crashes 2006-07-08 11:16:20 +00:00
Sam Hocevar
868ae7e32b * modules/stream_out/transcode.c: improve error message verbosity. 2006-07-04 12:28:23 +00:00
Clément Stenac
50b018487b Strings review in stream_out (Refs:#438). Please review these once more as I changed some quite heavily 2006-03-25 10:57:34 +00:00
Christophe Mutricy
5e7871bbf0 stream_out/*: String review (refs #438) 2006-03-19 01:27:21 +00:00
Clément Stenac
32438ffbc0 Transcode cropping/padding patch by Udo Richter < udo underscore richter at gmx d0t de> (with added round-to-16 fix) . Many thanks for this.
Seems to work neatly, please test nevertheless.

Closes:#448
2006-03-18 11:27:10 +00:00
Clément Stenac
0236ff18d1 only round width and scale height accordingly 2006-02-11 15:21:21 +00:00
Clément Stenac
89e1637e4e Round scaled sizes to 16 (Closes:#524) 2006-02-11 14:50:37 +00:00
Clément Stenac
0b44cb999e Stop using strings to index stats, use integers. The list is not sorted yet, though 2006-02-04 16:26:23 +00:00
Clément Stenac
26d5b73864 * Avoid useless stats_Get calls
* Reduce vlc_object_find calls
2006-02-04 11:04:42 +00:00
Clément Stenac
a838001a28 Gather some sout stats (Refs:#473) 2006-01-23 21:21:19 +00:00
Jean-Paul Saman
baf1fd79bc Whitespace cleanup 2006-01-16 21:32:56 +00:00
Antoine Cellerier
2cb472dba0 FSF address change. 2006-01-12 23:10:04 +00:00
Gildas Bazin
77609b74c1 * modules/stream_out/transcode.c: fixed small memleak. 2005-10-31 23:26:56 +00:00
Gildas Bazin
f8c5996f0e * modules/stream_out/transcode.c, src/input/decoder.c, src/input/control.c: fixed a bunch of memory leaks. Patch courtesy of Wallace Wadge (wwadge at gmail) + modifications by me. 2005-08-31 20:37:23 +00:00
Jean-Paul Saman
a92603f209 Merged OSD functionality on the same core functions. All OSD functionality is described in include/vlc_osd.h now, which entirely replace include/osd.h. The file src/video_output/video_widgets.c uses functionality from src/osd/osd_widgets.c now. 2005-08-27 16:40:23 +00:00
Christophe Massiot
265e634c74 * modules/stream_out/transcode.c: New --sout-transcode-max-width and
--sout-transcode-maxheight options, recommended to enforcea particular
   level of a video codec. Fixed --sout-transcode-fps when used in
   conjunction with --sout-transcode-threads=1.
2005-08-12 15:51:18 +00:00
Jean-Paul Saman
854dec19be Fix revision 12116 which broke other transcode options. The commandline for streaming the OSD menu has changed into a boolean option --sout-transcode-osd: ./vlc dvdsimple:///dev/dvd --sub-filter=osdmenu --osdmenu-file=share/osdmenu/default.cfg --extraintf rc --sout '#transcode{osd}:std{url=127.0.0.1:1234,access=udp,mux=ts}' 2005-08-11 20:13:01 +00:00
Jean-Paul Saman
26e6004689 Forward port of branches/0.8.1-jpsaman-thedj revision 12070. The OSD menu subsystem consists of two parts a core part (src/osd, include/vlc_osd.h) and a subfilter (modules/video_filter/osdmenu.c). The OSD menu can be used locally or it can be streamed. It depends on the way the functionality is called from the vlc commandline. Currently there is only one way to make the subpictures appear on the video and that is through the rc-interface. The following commands are supported by it: "menu on" (show OSD menu), "menu off" (hide OSD menu), "menu left" (highlight button on the left), "menu right" (highlight button on the right), "menu up" (highlight button above), "menu down" (highlight button below) or "menu select" (perform hotkey action). When there is no button on the left, right, up or down then the menu-command will be ignored.
To stream use a commandline similar to this:

./vlc dvdsimple:///dev/dvd --sub-filter=osdmenu --osdmenu-file=share/osdmenu/default.cfg --extraintf rc --sout '#transcode{sfilter=osdmenu}:std{mux=ts,access=udp,url=127.0.0.1:1234}' -vvvv

For local playback a commandline like this is needed:

./vlc dvdsimple:///dev/dvd --sub-filter=osdmenu --osdmenu-file=share/osdmenu/default.cfg -vvvv

Have fun with the basic functionality - jpsaman.
2005-08-10 22:08:50 +00:00
Christophe Massiot
96377d38b5 * modules/stream_out/transcode.c: Fixed DTS madness after pausing when
--sout-transcode-fps is in use.
2005-08-05 14:46:20 +00:00
Christophe Massiot
91b6f3261f * modules/stream_out/transcode.c: Attempt at having --sout-transcode-fps
output correct timestamps.
2005-07-27 16:53:25 +00:00
Sam Hocevar
07d9dbd15b * modules/stream_out/transcode.c: fixed an uninitialised variable. 2005-07-11 08:33:01 +00:00
Rémi Denis-Courmont
fe087a3828 Make Zorglub less unhappy 2005-07-09 06:17:09 +00:00
Rémi Denis-Courmont
85b29bdc28 Copyright fixes
(da big courmischage)
2005-07-08 18:12:44 +00:00
Derk-Jan Hartman
5fe479dd10 * Fix some configuration options declerations and strings 2005-06-28 23:46:33 +00:00
Christophe Massiot
f0317c3fa0 * modules/stream_out/transcode.c: Really fixed the latest segfault this time... 2005-06-08 14:36:19 +00:00
Gildas Bazin
1c44e3e2a3 * modules/stream_out/transcode.c: fixed crash with multithread encoding. 2005-06-08 12:06:06 +00:00
Christophe Massiot
b53369a9f0 * modules/stream_out/transcode.c: Fixed a segfault introduced in the last
changeset.
2005-06-07 16:37:42 +00:00
Gildas Bazin
2ca7bcd820 * modules/stream_out/transcode.c: better picture heap leaking detection when encoding in multithreaded mode (needed if the encoder doesn't remove the pictures as fast as the decoder put them). 2005-06-07 10:28:09 +00:00
Christophe Massiot
1ae199c082 * modules/stream_out/transcode.c: Bail out when no audio filter is available. 2005-06-06 17:08:48 +00:00
Christophe Massiot
433cc84973 * modules/stream_out/transcode.c: New --sout-transcode-vfilter option.
Allows to run video filter2 modules just before the encoding (and
   after the SPU rendering). New --sout-transcode-high-priority option
   to run the optional encoder thread at the same priority as the output.
2005-06-03 10:11:58 +00:00
Gildas Bazin
8665fe8b6a * modules/stream_out/transcode.c: got rid of useless nearbyint(). 2005-05-20 17:58:06 +00:00
Christophe Massiot
9d44913e8c * ALL : ported the deinterlace module to video filter2. New
--sout-transcode-deinterlace-module and --sout-deinterlace-mode options.
2005-05-20 15:02:25 +00:00
Gildas Bazin
6dd481eb32 * modules/stream_out/transcode.c: lowered the hurry-up treshold a bit. 2005-04-26 12:44:03 +00:00
Gildas Bazin
488d59cc29 * modules/stream_out/transcode.c: new hurry-up option that drops video frames if encoder is late. 2005-04-26 12:40:02 +00:00
Christophe Massiot
b4400ea47e * modules/stream_out/transcode.c : Cleaned up the downmixing/upmixing
facilities. Fixed a few incoherences with
   i_original_channels/i_physical_channels.
2005-04-08 17:44:14 +00:00
Mark Moriarty
5beb50f209 reintroduce nearbyint, but use the 1001 multiplier. adding 0.5 wasn't transforming 29.97 fps properly, and the earlier nearbyint was a hack for mpeg1/2. the preceding mods were all partially right, partially wrong -- needed to combine the two change concepts. 2005-03-22 13:29:30 +00:00
Gildas Bazin
ce1d1aebb5 * modules/stream_out/transcode.c: reverted previous commit which didn't belong here and was also completely wrong. 2005-03-22 09:53:11 +00:00
Mark Moriarty
dd2be923bd transcode -- round fps to full integer value (eg, 25, 30) for ffmpeg mpeg1/2 2005-03-20 17:48:27 +00:00
Mark Moriarty
56d4e0d55f transcode nit -- use nearbyint to get accurate conversion of user-supplied fps 2005-03-19 17:37:10 +00:00