Transocde MP4 output failure

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
mikedawson
New Cone
New Cone
Posts: 1
Joined: 07 Apr 2024 17:22

Transocde MP4 output failure

Postby mikedawson » 07 Apr 2024 18:18

I am trying to use the VLC (version 3.0.18 on Ubuntu) command line to transcode video as per https://wiki.videolan.org/Transcode/#Command-line . When I run:

Code: Select all

/usr/bin/vlc -I dummy --no-repeat --no-loop -vv /home/mike/Videos/ustad_mobile.mp4 --sout='#transcode{vcodec=h264,acodec=mpga,deinterlace,fps=12,vb=170,ab=64,width=320,height=240}:standard{access=file,mux=mp4,dst=/tmp/b3612dac-b9a9-473d-b964-4d1060ca64b713309670644110641593.mp4}' vlc://quit
Output (PasteBin): https://pastebin.com/jqqQCVwg

If I open the video in Chrome it plays as expected. If I open the video using VLC itself or Firefox, it takes about 30 seconds for the video to start (audio plays).

All seems pretty weird. I see some prior discussion regarding buggy output when concatenating video ( https://forum.videolan.org/viewtopic.php?f=14&p=500917 ), but the answers seemed to require using ffmpeg (which sort of defeats the point of transcoding using VLC).

I want to use VLC to transcode video because the (open source) desktop learning app I'm developing is already using VLC (via VLCJ) for play back. Using VLC would enable me to avoid adding an additional requirement when users want to add a new video.

Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 12 guests