Search found 12 matches

Go to advanced search

by hedgehog90
06 Mar 2020 00:53
Forum: Scripting VLC in lua
Topic: ordering a playlist, moving items
Replies: 0
Views: 885

ordering a playlist, moving items

hidden away is a lua function - vlc.playlist.move() I assumed this was all I needed to re-order a playlist, but it's broken. If I move the playlist around too much with this function, it eventually crashes, as described in this bug report from over 4 years ago: https://trac.videolan.org/vlc/ticket/1...
by hedgehog90
05 Mar 2020 16:17
Forum: Scripting VLC in lua
Topic: after vlc.volume.set(), vlc.volume.get() returns the previous value!
Replies: 1
Views: 1499

after vlc.volume.set(), vlc.volume.get() returns the previous value!

If I run the following LUA script in VLC I'd expect to print 1 to 10: for i = 1,10 do vlc.volume.set(vlc.volume.get()+1) print(vlc.volume.get()) print(" ") end However, this is my result: 1 1 2 2 3 3 4 4 5 5 On another occasion, I get a different result: 1 1 1 2 2 3 3 4 4 5 If I wait for a...
by hedgehog90
05 Mar 2020 00:46
Forum: VLC media player for Windows Troubleshooting
Topic: LUA - vlc.volume.get() returns previous value before set() (most of the time)
Replies: 0
Views: 172

LUA - vlc.volume.get() returns previous value before set() (most of the time)

Let's say my volume is set to 100% (256 in status.xml) If I do the following to set it to 200%: http://127.0.0.1:9090/requests/status.xml?command=volume&512 The status I receive back however doesn't reflect the changes, although the player has updated the volume to 200%, status.xml still says 10...
by hedgehog90
02 Mar 2020 22:59
Forum: VLC media player for Windows Troubleshooting
Topic: How to change the ordering of a playlist via HTTP interface?
Replies: 1
Views: 274

How to change the ordering of a playlist via HTTP interface?

I can find nowhere in the documentation how to move an existing playlist item in the playlist order. I can do everything else it seems, but mysteriously this simple command appears to be missing... How do I change the order of one or more playlist items in a single command? EDIT: I found all the com...
by hedgehog90
29 Feb 2020 20:02
Forum: VLC media player for Windows Troubleshooting
Topic: RC interface command for getting and setting audio / subtitle delay?
Replies: 1
Views: 228

RC interface command for getting and setting audio / subtitle delay?

In all the documentation I can find nothing about these 2 settings, or how to set them outside of the GUI.

Any idea how to control these somewhat more bespoke settings via the RC interface? (or any interface that isn't the GUI for that matter)
by hedgehog90
28 Feb 2020 22:24
Forum: VLC media player for Windows Troubleshooting
Topic: Buggy results when merging multiple videos in commandline (EVERY TIME)
Replies: 8
Views: 1657

Re: Buggy results when merging multiple videos in commandline (EVERY TIME)

After a bit more testing I realised my above solution didn't work for files with different frame rates, so here's this: vlc -vv 1.mp4 input.mkv --sout "#transcode{vcodec=H264,venc{profile=veryfast,level=40},vfilter=canvas{width=1280,height=720,aspect=16:9},width=1280,height=720,fps=25,vb=1000,a...
by hedgehog90
28 Feb 2020 19:45
Forum: VLC media player for Windows Troubleshooting
Topic: Buggy results when merging multiple videos in commandline (EVERY TIME)
Replies: 8
Views: 1657

Re: Buggy results when merging multiple videos in commandline (EVERY TIME)

Hooray! I think I've finally got this working. Here's what I'm doing now: vlc playlist.m3u vlc://quit --sout "#std{access=file,mux=ts,dst=-}" --ignore-config | ffmpeg -i - -c:v libx264 -preset ultrafast -crf 20 -c:a aac -b:a 160k -ac 2 -ar 44100 -profile:v main -level:v 4.0 -f flv out.mkv ...
by hedgehog90
28 Feb 2020 14:21
Forum: VLC media player for Windows Troubleshooting
Topic: Buggy results when merging multiple videos in commandline (EVERY TIME)
Replies: 8
Views: 1657

Re: Buggy results when merging multiple videos in commandline (EVERY TIME)

Ok, looking at the log closely I've noticed this line cropping up whenever it goes wrong: [00000240478fc6d0] main mux error: cannot add a new stream (unsupported while muxing to this format). You can try increasing sout-mux-caching value And this tends to appear when a file of different dimensions t...
by hedgehog90
28 Feb 2020 13:17
Forum: VLC media player for Windows Troubleshooting
Topic: Buggy results when merging multiple videos in commandline (EVERY TIME)
Replies: 8
Views: 1657

Re: Buggy results when merging multiple videos in commandline (EVERY TIME)

1: Here's a log for when I tried encoding a playlist of videos, all exported from Adobe Media Encoder so presumably 'good' video files: [url]https://gist.github.com/hedgehog90/af4c69c464efff33cda0e7972ffa0c77[/url] (The command I used is first 3 lines of gist) 2: I haven't consulted Task Manager. My...
by hedgehog90
27 Feb 2020 20:57
Forum: VLC media player for Windows Troubleshooting
Topic: Buggy results when merging multiple videos in commandline (EVERY TIME)
Replies: 8
Views: 1657

Re: Buggy results when merging multiple videos in commandline (EVERY TIME)

Thanks for replying. Your last command works a lot better than mine. I've incorporated into it my transcode settings: "C:\Program Files\VideoLAN\VLC\vlc.exe" --no-repeat --no-loop --no-lua playlist.m3u vlc://quit --sout=#transcode{vcodec=h264,venc=x264{profile=main,level=30,keyint=25,min-k...
by hedgehog90
27 Feb 2020 17:58
Forum: VLC media player for Windows Troubleshooting
Topic: Buggy results when merging multiple videos in commandline (EVERY TIME)
Replies: 8
Views: 1657

Buggy results when merging multiple videos in commandline (EVERY TIME)

No matter what I try, I can't get VLC (3.0.8 64bit) to output a decent video file. I have 2 clips, both exactly 5 seconds long, I'm just trying to merge them together as an experiment. Ultimately I want to output directly to a rtmp stream, but in testing I'm simply muxing it into a file to see if it...
by hedgehog90
16 Nov 2018 16:34
Forum: VLC media player for Windows Troubleshooting
Topic: Cropped Blu-ray/DVD rips, graphics-based subtitles squished or stretched
Replies: 1
Views: 456

Cropped Blu-ray/DVD rips, graphics-based subtitles squished or stretched

I'm not sure if this a bug per se or just a certain way of doing things, all I know is - with regards to graphics-based subtitles - Kodi and VLC do things differently and I think Kodi handles it better. VobSub or PGS (graphics-based) subtitles have video dimensions encoded into them. Most people who...

Go to advanced search