【问题标题】:VLC mosaic stops after 10 secondsVLC 马赛克在 10 秒后停止
【发布时间】:2015-11-02 10:54:00
【问题描述】:

我正在尝试将我的视频合并到马赛克中,但我遇到了问题。视频在 10 秒后停止并返回界面(我正在使用 --no-video-deco)

我尝试了什么:

  • 文件更改(其他格式、较低分辨率、每个频道的视频不同)
  • 释放更多 RAM(没有改变任何东西)
  • VLC 更新 (2.1.5 -> 2.2.1)
  • --live-caching=/300-5000/
  • 从 SSD 驱动器开始视频

我的快捷方式

"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" --vlm-conf "C:\mosaic.conf" --mosaic-width=1920 --mosaic-height=1080 --mosaic-keep-picture --mosaic-rows=2 --mosaic-cols=2 --mosaic-position=1 --mosaic-order=1,2,3,4

mosaic.conf

new channel1 broadcast enabled                                                       
setup channel1 input C:\Users\Aramil\Videos\film.mkv
setup channel1 output #duplicate{dst=mosaic-bridge{id=1,height=540}}

new channel2 broadcast enabled                                                       
setup channel2 input C:\Users\Aramil\Videos\film.mkv
setup channel2 output #duplicate{dst=mosaic-bridge{id=2,height=540}}

new channel3 broadcast enabled                                                       
setup channel3 input C:\Users\Aramil\Videos\film.mkv
setup channel3 output #duplicate{dst=mosaic-bridge{id=3,height=540}}

new channel4 broadcast enabled                                                       
setup channel4 input C:\Users\Aramil\Videos\film.mkv
setup channel4 output #duplicate{dst=mosaic-bridge{id=4,height=540}}

new mosaic broadcast enabled
setup mosaic input C:\Users\Aramil\Pictures\TwoWorldsOneSun_Bouic_2683.jpg
setup mosaic output #transcode{sfilter=mosaic,vcodec=mp4v,VB=20000,acodec=none,fps=24,scale=1}:display

control mosaic play
control channel1 play
control channel2 play
control channel3 play
control channel4 play

调试消息

(...)
avcodec warning: almost fed libavcodec with two frames with the same PTS (256245344667)
stream_out_transcode debug: drift is too high (116666, resetting master sync
main warning: original picture size is undefined
main warning: original picture size is undefined
(...)
avcodec warning: almost fed libavcodec with two frames with the same PTS (256245744667)
stream_out_transcode debug: drift is too high (116666, resetting master sync
main warning: original picture size is undefined
main debug: EOF reached
main warning: original picture size is undefined
avcodec warning: almost fed libavcodec with two frames with the same PTS (256245944667)
main debug: removing module "rawvideo"
main debug: killing decoder fourcc `J444', 0 PES in FIFO
main debug: removing a sout input (sout_input:06ae8d70)
main debug: removing module "rawvideo"
main debug: removing module "avcodec"
main debug: Filter 0d318f4c removed from chain
main debug: removing module "swscale"
main debug: removing module "avcodec"
avcodec debug: ffmpeg codec (MPEG-4 Video) stopped
main debug: killing decoder fourcc `mp4v', 0 PES in FIFO
main debug: saving a free vout
main debug: reusing provided vout
main debug: removing module "image"
main debug: removing module "record"
main debug: removing module "filesystem"
main debug: Program doesn't contain anymore ES
main error: Failed to resize display
main debug: destroying useless sout
main debug: destroying chain... (name=transcode)
main debug: removing module "stream_out_transcode"
main debug: removing module "freetype"
main debug: removing module "yuvp"
main debug: removing module "swscale"
main debug: Filter 0d315ff4 removed from chain
main debug: removing module "mosaic"
main debug: removing module "blend"
main debug: destroying chain done
main debug: destroying chain... (name=display)
main debug: removing module "stream_out_display"
main debug: destroying useless vout
main debug: removing module "direct3d"
direct3d debug: Direct3D scene released successfully
direct3d debug: DirectXEventThread terminating
direct3d debug: DirectXCloseWindow
direct3d debug: WinProc WM_DESTROY
main debug: removing module "freetype"
main debug: removing module "yuvp"
main debug: removing module "swscale"
main debug: destroying chain done
main warning: can't get output picture
avcodec warning: disabling direct rendering
swscale warning: can't get output picture
stream_out_mosaic_bridge error: image conversion failed
(...)
main warning: can't get output picture
avcodec warning: disabling direct rendering
swscale warning: can't get output picture
stream_out_mosaic_bridge error: image conversion failed
(...)

还有一个问题:播放马赛克视频时不会全屏显示。我在右边有 65px 的可用空间。视频为 1920x1080,我的桌面分辨率与马赛克尺寸相同。怎么了?

我的系统:

Win 8.1 64-bit
i7-4710HQ
8GB RAM
Intel HD Graphics 4600 + NVidia GTX 850M

【问题讨论】:

    标签: video vlc mosaic


    【解决方案1】:

    我有同样的问题。我相信问题在于默认情况下 VLC 只会“播放”一张图像 10 秒。您可以通过在命令行中添加 --image-duration=-1 来告诉 VLC 永远播放。

    请参阅VLC Mosaic 页面,该页面在第 2 步中使用此页面进行测试。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-03-29
      • 1970-01-01
      • 2018-11-07
      • 2023-02-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多