Hi, i want convert-optimize my podcasts mp4 o mvk files downloaded with
Miro Player or
Youtube-dl to mp4 files to be streaming with
VLC Player without Activate Transcoding within VLC Player to save RAM, bandwitdth an playback quality and speed on playing.
The VLC default streaming settings are:
Code:
:sout=#transcode{vcodec=h264,scale=0.75,acodec=mpga,ab=128,channels=2,samplerate=44100}:rtp{dst=192.168.1.100,port=5004,mux=ts} :sout-keep
I tried match these settings with ffmpmpeg, but the streaming via UDP or RTP hangs. I have some other good files that have good streaming.
Code:
ffmpeg -hide_banner -i linuxactionshowep397-432p.mp4 -c:v libx264 -preset slow -crf 18 -c:a copy -pix_fmt yuv420p linuxactionshowep397-432p-002.mp4
and after, I tried
Code:
ffmpeg -hide_banner -i linuxactionshowep397-432p-002.mp4 -movflags faststart -acodec copy -vcodec copy linuxactionshowep397-432p-003.mp4
Result = Bad Streaming, VLC Instance acts as server hangs after beggining playing.
End of question.
Other info collected from tests sample files:
Streaming-
No-OK-Lavf56h264High(avc1)-aac(mp4a)-VLCHangs
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'linuxactionshowep397-432p.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf56.40.101
Duration: 01:31:15.84, start: 0.042667, bitrate: 466 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 768x432 [SAR 1:1 DAR 16:9], 330 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
Metadata:
handler_name : SoundHandler
At least one output file must be specified
Streaming-No-OK-Lavf56h264High(____)-opus(____)-
VideoOK-AudioNoOK
Input #0, matroska,webm, from '001-youtube-137_-_1080p_DASH_video.mkv':
Metadata:
COMPATIBLE_BRANDS: iso6avc1mp41
MAJOR_BRAND : dash
MINOR_VERSION : 0
ENCODER : Lavf56.36.100
Duration: 00:00:35.06, start: 0.007000, bitrate: 2065 kb/s
Stream #0:0(und): Video: h264 (High), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 1k tbn, 59.94 tbc (default)
Metadata:
CREATION_TIME : 2016-02-13 13:16:10
LANGUAGE : und
HANDLER_NAME : VideoHandler
Stream #0:1(eng): Audio: opus, 48000 Hz, stereo, fltp (default)
At least one output file must be specified
Streaming-OK-Lavf56h264Constrained Baseline(avc1)-aac(mp4a)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'ud_092815_449470_440.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf56.15.102
Duration: 00:02:38.50, start: 0.000000, bitrate: 461 kb/s
Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 400x224 [SAR 1:1 DAR 25:14], 388 kb/s, 59.94 fps, 59.94 tbr, 11988 tbn, 119.88 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 22050 Hz, stereo, fltp, 39 kb/s (default)
Metadata:
handler_name : SoundHandler
Stream #0:2(und): Data: none (rtp / 0x20707472), 20 kb/s (default)
Metadata:
creation_time : 2015-09-28 20:33:11Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '01_01-Introduction To AutoCAD Electrical 2015.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: mp42isomavc1
creation_time : 2014-03-31 14:12:12
compilation : 0
encoder :
Sorenson Squeeze
comment : Encoded by
Duration: 00:01:31.60, start: 0.000000, bitrate: 289 kb/s
Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 64 kb/s (default)
Metadata:
creation_time : 2014-03-31 14:12:12
handler_name : soun
Stream #0:1(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1280x720, 220 kb/s, 15 fps, 15 tbr, 600 tbn, 30 tbc (default)
Metadata:
creation_time : 2014-03-31 14:12:12
handler_name : vide
encoder : AVC Coding
Stream #0:2(und): Data: none (mp4s / 0x7334706D), 0 kb/s (default)
Metadata:
creation_time : 2014-03-31 14:12:13
handler_name : sdsm
Stream #0:3(und): Data: none (mp4s / 0x7334706D), 0 kb/s (default)
Metadata:
creation_time : 2014-03-31 14:12:13
handler_name : odsm
At least one output file must be specified
Streaming-OK-Sorenson Squeezeh264(Main)-aac(mp4a)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '01_01-Introduction To AutoCAD.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: mp42isomavc1
creation_time : 2014-03-31 14:12:12
compilation : 0
encoder : Sorenson Squeeze
comment : Encoded by
Duration: 00:01:31.60, start: 0.000000, bitrate: 289 kb/s
Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 64 kb/s (default)
Metadata:
creation_time : 2014-03-31 14:12:12
handler_name : soun
Stream #0:1(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1280x720, 220 kb/s, 15 fps, 15 tbr, 600 tbn, 30 tbc (default)
Metadata:
creation_time : 2014-03-31 14:12:12
handler_name : vide
encoder : AVC Coding
Stream #0:2(und): Data: none (mp4s / 0x7334706D), 0 kb/s (default)
Metadata:
creation_time : 2014-03-31 14:12:13
handler_name : sdsm
Stream #0:3(und): Data: none (mp4s / 0x7334706D), 0 kb/s (default)
Metadata:
creation_time : 2014-03-31 14:12:13
handler_name : odsm
At least one output file must be specified
Thanks,