Posted
about 13 years
ago
Back in 2005, VLC 0.8.4 included one of my first noticeable contributions to the Mac OS X port: the Streaming and Transcoding Wizard. Since then, VLC moved on quite a bit, but the window and its functionality is still present (with some small
... [More]
additions).
While it was cool and handy at that time, things beyond the VLC universe moved on, too, so we decided it was time for a re-write to enable more users to make use of the nifty included features by making it more easy to access and to configure.Quite a while ago, transcoding presets were added to the Linux and Windows ports. This new panel is an attempt to bring these presets to the Mac along with the flexibility already known from the wizard. Here's a first look at the current draft, which will evolve during the next months in time for VLC's next major release version 2.1 Rincewind. Most importantly, the streaming features will also become part of this panel as well as minor missing features like the ability to extract parts of a media sample.
Permalink
| Leave a comment »
[Less]
|
Posted
about 13 years
ago
According to Wikipedia: "Real Time Messaging Protocol (RTMP) was initially a proprietary protocol developed by Macromedia for streaming audio, video and data over the Internet, between a Flash player and a server. Macromedia is now owned by Adobe
... [More]
, which has released an incomplete version of the specification of the protocol for public use."
The protocol has several variants:
RTMP: the 'original' protocol uses TCP port 1935
RTMPS: the RTMP protocol over a secure SSL connection using HTTPS
RTMPE: an encrypted version of RTMP developed by Adobe
RTMPT: the RTMP protocol encapsulated within HTTP requests to traverse firewalls. It is a cleartext protocol using TCP ports 80 and 443 to bypass corporated firewalls. The encapsulated session may carry plain RTMP, RTMPS, or RTMPE packets within./li>
RTMP Streaming
VLC versions 2.0.x and above support RTMP streaming through ffmpeg/libav. When librtmp support is enabled for ffmpeg/libav then RTMPS might work too. However I have not tested RTMPS streaming yet, so I cannot claim "it works'.
The scenario where VLC and RTMP is mostly used as capture and transcoding application that generates a single stream. Distribution to multiple clients is done by another application. The most popular one for this role is Wowza.
VLC connects directly to a RTMP streamer, such as Wowza, and does not listen for incoming requests. Thus it is not possible to view the RTMP stream directly from VLC. You need to connect to Wowza for viewing the stream. This can be done with VLC:
$ vlc rtmp://rtmp.server.com:1935/path/to/stream
A word of caution is needed here. RTMP streaming towards a Wowza server is not entirely stable from VLC. There is a timing dependant bug that causes Wowza to closes the connection. The issue is related to Audio and Video timestamps. Using the "audio-desync" option in combination with RTMP streamin is not a good idea.
Webcam RTMP streaming
In the following examples a webcam is used for RTMP. Other type of capture devices, devices or files could have been used also.
Windows example
On Windows capture devices are implemented using a DirectShow interface. The VLC module that uses this interface is called "DirectShow" or "dshow" for short. The commandline for RTMP streaming from a webcam (or any dshow devices) is as follows:
$ vlc dshow://"" --sout '#transcode{vcodec=h264,vb=300,fps=25,scale=1,acodec=mp4a,ab=64,channels=2}:std{access=rtmp,mux=ffmpeg{mux=flv},dst=rtmp://rtmp.server.com:1935/path/to/stream}'
The DirectShow options are also available from the QT interface, by opening the menu "Media|Open Capture Device". Advanced options are available directly from this dialog for each DirectShow device.
Linux example
On Linux capture device are implemented with the "video for linux" (v4l2) interface. The commandline for RTMP streaming from a webcam (or any v4l2 devices) is as follows:
$ vlc v4l2:// --v4l2-fps=25 --sout '#transcode{vcodec=h264,vb=300,fps=25,scale=1,acodec=mp4a,ab=64,channels=2}:std{access=rtmp,mux=ffmpeg{mux=flv},dst=rtmp://rtmp.server.com:1935/path/to/stream}'
The example above auto discovers a v4l2 device and selects the first device capable of providing a picture. Usually this is a webcam. Other options like video standard (PAL, NTSC), chroma, width and height are choosen depending on the best match for this session. Be aware that it depends on the device itself which values a capabilities has. VLC its video for linux (v4l2) modules prints the values it discovers when it has been started with debug option on ("-vvv"). The v4l2 module provides the following options to fine tune the capture device:
--v4l2-dev=: specify the video device to use
--v4l2-standard=: the video standard to use, for example: SECAM, PAL, NTSC and more
--v4l2-width=
: video width (in pixels) to use
--v4l2-height=
: video height (in pixels) to use
There are more options to v4l2 then just mentioned. A complete list of options for the v4l2 module can be obtained using the following commandline:
$ vlc -H -p v4l2 --advanced
The list of options is also available from the QT interface, by opening the menu "Media|Open Capture Device". Then press the 'Advanced" button in the dialog.
[Less]
|
Posted
about 13 years
ago
Jean-Baptiste Kempf and me were invited as guest speakers to this year's Fórum Internacional Software Livre in Porto Alegre, Brazil, from July 25 until the 28th.
This is the first time for VideoLAN developers to present at a conference in South
... [More]
America. We will give a talk on VideoLAN and VLC focussing on advanced end-user features and more technical details with in-depth coverage of libvlc's usage in desktop and mobile products.
Of course, we will be there during the entire event for chats and discussions (and beers?).
This is going to be exciting and we hope to see you there.
Permalink
| Leave a comment »
[Less]
|
Posted
about 13 years
ago
About a month after passing the 1,000,000,000th download, we released VLC 2.0.2 last nights. It's now available on videolan.org.
It includes the following security content:
Fixed Ogg Heap buffer overflow
Updated taglib (CVE-2012-2396)
VLC 2.0.2
... [More]
adds further refinements to the new Mac interface. We improved the video playback experience by enhancing the crop features and restoring the highly desired "go automatically to fullscreen" feature. Additionally, the aspect ratio is respected like in the 1.1.x releases. The Retina Display (HiDPI) on the new MacBook Pro is natively supported, too.
Furthermore, you can drag & drop items between the playlist, services and media library. Growl 1.3 is supported for notifications as well (disabled by default). Playing a video in a window without any further UI elements is supported again, too.
Finally, we removed the font cache. VLC for Mac will never ask you to wait for it, but it will still find all your fonts!
This update also includes video output improvements for a vast number of PowerPC-based Macs equipped with an ATI Radeon 7500, an ATI Radeon 9200 or a NVIDIA GeForceFX 5200 Ultra [1] as well as Intel-based Macs with an Intel GMA 950 [2].
Here's the full list of changes:
Enabled drag and drop of playlist items between the temporary playlist and the persistent media library
Various video output improvements, notably for crop, zoom, osd and menu support
Enabled import of playlist items taken from the service discovery modules to the media library or the temporary playlist
Added media key support for keyboards by other manufacturers than Apple. This fix was facilitated through a hardware donation by ZF Friedrichshafen AG manufacturing keyboards under the brand "Cherry".
Added HiDPI / Retina Display save UI artwork
Restored the preferences' fullscreen options, which allows the user to start videos directly in fullscreen mode
Keep Aspect Ratio when resizing is back
Added controls to manipulate the Subtitles Duration to the Track Synchronization panel
Hidden items in the sidebar are being retained for the next launch now
Fixed crash when trying to open an Audio CD by drag & drop
Improve reliability when opening DVDs or BDs by drag & drop
Fixed a crash when attaching harddrives with multiple partitions while VLC is running
Improved OSD rendering in fullscreen mode
Improved fullscreen behavior when using a smartphone remote based upon VLC's http interface
The selected audio device is retained throughout multiple VLC sessions now
Since running the Mac OS X interface as an Extra Interface or Control Interface can lead to undefined results, the respective options will be automatically reset on the first launch, if needed.
This fixes issues with unresponsive playback controls and crashes on quit.
Updated Growl plugin supporting Growl 1.3.
Improved reliablity in detecting VIDEO_TS folders when opened through the "Open Disc" panel.
Re-implemented the "Window Decorations" option, which, if disabled, hides all the UI elements from the video output window to give you the cleanest experience possible.
Improved the window title behavior when using the dark interface mode. It correctly responds to right and double-click events now.
Miscellaneous minor interface improvements
VLC 2.0.2 includes these cross-platform improvements:
Video Output
PCs running Windows XP will use the DirectX mode by default now, like in VLC's 1.1.x release due to a fast number of broken drivers
More accurate colorspace conversions for YUV->RGB in OpenGL
Misc fixes in the OpenGL module, on all platforms
Fixed video output on PowerPC-based Macs equipped with an ATI Radeon 7500, an ATI Radeon 9200 or a NVIDIA GeForceFX 5200 Ultra.[1]
Fixed video output of 10bit encoded contents on Intel-based Macs equipped with an Intel GMA 950 chipset running OS X 10.6 or later.[2]
Access
Reworked Digital TV module for Windows. DVB-T and DVB-C work again
Fixes for RAR compressed files
Fixed DirectShow crashes on exit
Improved PulseAudio input latency
Fixes for HTTP access through a proxy
v4l2 webcam outputting H264 can now be used directly (use --v4l2-chroma=h264)
Fixed Subtitle auto-detection in subfolders
IE http proxy is no longer used by VLC on Windows
Accepts more extensions for DVD images
Fixed crash in VC1 packetizer
Codecs
Fixed crashes in AAC decoder on channels changes, notably in ISDB streams
Fixed compilation with multiple FFmpeg and libav versions
Fixed G726 support
Demuxers
Fixes for MKV segments and MKV title display
Fixed some mp4, voc, midi and au crashes
Fixed Real .ram and .ra files support
Fixed DVB channel file support
Fixes for alac, vorbis, DTS, VC-1 and Dirac in mp4
Encoders
Fix for MPEG audio encoding. Use Layer2 for the FOURCCs "mp2 " and "mp2a"
Fixed JPEG generation when doing snapshots
Audio filters and output
Limitation of the Spatializer output volume
Fixed DirectSound device selection
Correct PulseAudio volume control
Fixed Directsound volume initialization
Volume level is no longer applied to the file output
Fixed sampling rate for the JACK output
Lua Scripts
Fixes for stdin/stdout and for different locale issues
Qt interface
Fixed preferences for audio devices on Windows
Fixed various crashes
Fixed multiple issues in the Open Disc dialog
Fixed playlist search and selector behavior
Miscellaneous fixes in preferences, buttons, EPG, playlist and customize dialog
Fixed tags and file names display
Skins2
Fixed mousewheel on Windows
Fixes for key events and focus loss
Web interface
Fixed display of some buttons
Fixed listing of files in the Open interface
[1] 1st and 2nd generation iBook G4 (PowerBook6,5), a significant number of G4 and G5-based iMacs (PowerMac6,1, PowerMac6,3, PowerMac8,1), an uncertain number of eMac generations (at least the PowerMac4,4 and the PowerMac6,4), some configurations of the 1st generation PowerMac G5 (PowerMac7,2), a single configuration of the PowerMac G4 Quicksilver (PowerMac3,5), the 1st/2nd generation Mac mini (PowerMac10,1 and PowerMac10,2) and the 2nd generation PowerBook G4 (PowerBook3,4)
[2] 1st and 2nd generation MacBook (MacBook1,1 and MacBook2,1), the Mid and Late 2006 iMacs (iMac4,2 and iMac5,2) and Mac minis sold between February 2006 and March 2009 (Macmini1,1 and Macmini2,1).
Permalink
| Leave a comment »
[Less]
|
Posted
about 13 years
ago
VLC's next release, version 2.0.2, will include HiDPI / Retina Display support for its video output. This way, both video and subtitles or other overlays will be rendered at the display's native resolution leading to a greatly improved viewing
... [More]
experience.
If you're one of the lucky guys to have a MacBook Pro with Retina Display already, you're welcome to check out tomorrow night's nightly builds (CEST).
Click on the screenshots to see the differences more in detail.
Permalink
| Leave a comment »
[Less]
|
Posted
over 13 years
ago
We will have a booth at LinuxTag in Berlin, Germany this week along with our friends from libav. It's #167 in hall 7.2a.
We are looking forward to show you the latest developments in VideoLAN's projects and would love to hear your feedback!
The
... [More]
booth will be manned by Hugo and Ludovic on Wednesday and Thursday, while I'll be there on Friday and Saturday. Jean-Paul and Mirsal will be available throughout the week and all of us during LinuxNacht.
We hope to see you there!
Permalink
| Leave a comment »
[Less]
|
Posted
over 13 years
ago
In my previous article, I showed a way to setup and jump into a root file system in order to test a software in this environment.
Using PRoot, such task looks really easy and does not require any privileges. We will now finish this setup in order to
... [More]
build and test VLC media player in this new root file system. Setting up the RootFS
In the previous article we had downloaded and configured a Debian root file system ready to be used with PRoot.
In order to build and test VLC media player in this environment, we must install VLC dependencies. For instance in a Debian system, I already explain the procedure in an article about the compilation for Linux... Read Making VLC at home [Less]
|
Posted
over 13 years
ago
In VLC 2.0, we introduced a brand new interface, which looks quite different to VLC 1.x. We basically did 2 things here:
clean up the code by striping out most of the accumulated hacks of a 10 year old code base
introduce a new interface design
... [More]
, which suits the look and feel of nowadays Mac applications
However, there are quite a few users, who want to customize the UI, which is easily possible. Let me show you how. For sakes of simplicity, I'll demonstrate the gray, default appearance only. However, it works exactly the same way if you prefer the dark style.
Let me start by showing the default view:
So, if you don't want to use the newly introduced sidebar, you can easily get rid of it. Just grab the devider between drop zone and sidebar. Drag it to the left. The sidebar will remain hidden and all you get is this plain window:
Once you started adding items to the playlist, it will look like this:
Please note that in rare occasions, the sidebar will be restored when restarting VLC 2.0.1. This issue is resolved in VLC 2.0.2, which will be available shortly.
Next, there are people who wondered about the "newly introduced playlist". Well, in fact, it was added to VLC 0.5.0 almost 9 years ago. However, it could be easily hidden in the past. Starting with VLC 2.0.1, you can hide it, too:
How to do that? just click on the playlist button while no video is playing. Once you started video playback, the window will expand to make room for the video. Once the playback stopped, it will resize again to show the controller only.
Finally, well, can I see both the playlist and the video output at the same time like it used to be the case all the last 10 years ago? Of course you can:
Additionally, as shown above, you can also hide the playlist while displaying the video in a separate window, so you'll get the following appearance:
So, where can I set that? Go to Preferences, which you can find in the VLC menu, select the "Interface" category and disable "Show video within the main window":
We hope that you enjoy using VLC 2.0 as much as we do.
Permalink
| Leave a comment »
[Less]
|
Posted
over 13 years
ago
A good practice for software developer is to provide a test suite while developing a software. When developing for Linux, it's also a good practice to compile the software and run the test suite on many distributions like Debian, Ubuntu, Fedora
... [More]
, ArchLinux, Centos, Slackware and for both i386 and x86_64.
Usually, softwares are compiled and tested on only one distribution because setting up the right environment is long and painful. Most of the time root privileges are also required to setup such environment.
In this article and the following one, I will show that using PRoot, such testing is quite handy and can be done by any users. Getting PRoot up and running
In order to test PRoot, you can download the latest version on the official website and compile it. You can also grab a package for your distribution on the Open Build Service.
If you choose to compile PRoot, that's just a matter of:
git clone git://github.com/cedric-vincent/PRoot.git
cd PRoot/src
make
[...]... Read PRoot sorcery [Less]
|
Posted
over 13 years
ago
VLC 2.0.2 will include improved support for the media keys on keyboards produced by companies other than Apple, notably the brand Cherry.
VLC uses a piece of code called SPMediaKeyTap developed by Spotify AB to provide this functionality. The fix
... [More]
was contributed back, so all the other client applications will benefit as well once they are updated.
This would not have been possible without the generous and enormously fast donation by ZF Friedrichshafen AG / Cherry, who delived the boards less than a week after our initial contact.
Permalink
| Leave a comment »
[Less]
|