Skip to content

2.1 regression: transcoding several mkv files from the mkv test suite crashes vlc

tested on vlc 2.1.0 nightly Feb 8th tested on mac and windows

using mkv test files from http://www.matroska.org/downloads/test_w1.html

in vlc 2.0.5, transcode works for all except sample 7 (although video is corrupted for several on windows).

in vlc 2.1.0 transcode causes a crash after the warning:

faad warning: decoded zero sample

crash happens both when transcoding to livehttp and to mp4

mac transcode to livehttp

"/Applications/VLCStreamer.app/Contents/Resources/VLC/VLC.app/Contents/MacOS/VLC" --ignore-config -I dummy  "/Users/rob/Dropbox/MovieSamples/MKV Sample Collection/matroska_test_w1_1/test2.mkv" vlc://quit --sout='#transcode{vcodec=h264,soverlay,acodec=mp3,channels=2,venc=x264{profile=baseline,level=2.2,keyint=90,bframes=0,ref=1,nocabac},width=640,vb=600,ab=40,audio-sync,deinterlace}:std{access=livehttp{seglen=10,index="/Users/rob/Library/Application Support/VLCStreamer/Streams/test2/stream.m3u8",index-url=stream-###.ts},mux=ts{use-key-frames},dst="/Users/rob/Library/Application Support/VLCStreamer/Streams/test2/stream-###.ts"}' -vvv

output log attached

mac transcode to mp4

"/Applications/VLCStreamer.app/Contents/Resources/VLC/VLC.app/Contents/MacOS/VLC" --ignore-config -I dummy  "/Users/rob/Dropbox/MovieSamples/MKV Sample Collection/matroska_test_w1_1/test1.mkv" vlc://quit --sout='#transcode{vcodec=h264,soverlay,acodec=mp3,channels=2,venc=x264{profile=baseline,level=2.2,keyint=90,bframes=0,ref=1,nocabac},width=640,vb=600,ab=40,audio-sync,deinterlace}:std{access=file,mux=ps,dst="/Users/rob/Library/Application Support/VLCStreamer/Streams/test2/stream.mp4"}' -vvv

win transcode to livehttp

"C:\Program Files (x86)\Hobbyist Software\VLC Streamer\VLC\vlc.exe" --ignore-config -I dummy "C:\Users\Rob\Dropbox\MovieSamples\MKV Sample Collection\matroska_test_w1_1\test2.mkv" vlc://quit --sout=#transcode{vcodec=h264,soverlay,acodec=mp3,channels=2,venc=x264{profile=baseline,level=2.2,keyint=90,bframes=0,ref=1,nocabac},width=640,fps=25,deinterlace,vb=600,ab=60}:std{access=livehttp{seglen=10,index="C:\Users\Rob\AppData\Roaming\Hobbyist Software\VLC Streamer\Root\test2/stream.m3u8",index-url=stream-###.ts},mux=ts{use-key-frames},dst="C:\Users\Rob\AppData\Roaming\Hobbyist Software\VLC Streamer\Root\test2/stream-###.ts"}  -vvv  --file-logging --logfile file_log.txt

output log attached

Edited by Rémi Denis-Courmont
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information