How to reproduce exact parameters of a convert profile to a transcode command line ??

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
Oxalite
New Cone
New Cone
Posts: 2
Joined: 20 Jan 2018 22:15

How to reproduce exact parameters of a convert profile to a transcode command line ??

Postby Oxalite » 20 Jan 2018 22:34

Hello everybody,

I used the "Vidéo - H. 264 + MP3 (MP4)" profile from the interface to convert a .m3u8 stream in a MP4 file on HDD.
The result is about 14 MB, and a thumbnail preview appears instead of the icon of VLC in the folder.

I tried to use the command line to get the same result, but I only manage to obtain a vidéo which weight is about 50 MB and without any thumbnail.

Here is the command line I used after looking at parameters in VLC :

Code: Select all

vlc.exe http://example.com/stream.m3u8 :sout=#transcode{venc=x264{profile=high,preset=ultrafast,tune=film,level=0},vb=0,acodec=mpga,ab=128,channels=2,samplerate=44100} :std{access=file,mux=mp4,dst=PATH+FILENAME}
I tried to change the "vb" parameter to get the same data rate, but failed.

My file data rate is about 1340 Kbits/s and the file generated with the profile from the interface is about 245 Kbits/s.

Does someone know how I could get the exacts parameters to transcode the vidéo the way the profile does (and for the thumbnail too) ?
I checked the vlc-help.txt file, the Wiki and Google during hours, but with no luck

Thanks for your help

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: How to reproduce exact parameters of a convert profile to a transcode command line ??

Postby mederi » 21 Jan 2018 22:19

You can use the streaming wizard (Media > Stream...) where you can see the streaming output string in the last step there.

Oxalite
New Cone
New Cone
Posts: 2
Joined: 20 Jan 2018 22:15

Re: How to reproduce exact parameters of a convert profile to a transcode command line ??

Postby Oxalite » 24 Jan 2018 00:12

You can use the streaming wizard (Media > Stream...) where you can see the streaming output string in the last step there.

Thank you mederi for your response.
Indeed, I can see the command line used by the profile (slightly different than mine) BUT, I still get a file within 30 MB instead of 19 MB (due to the data bitrate higher than the one of the file generated by the interface).

I suppose that the difference is that in one case I use stream to a file, and in the other case I use a "conversion" (certainly with some compression).

Does anyone have another idea please ?

Good news ! => this way I have a thumbnail of the vidéo instead of an icon from VLC...

PS : maybe my english is not perfect, I'm sorry, I'm French.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 45 guests