I'm trying to convert an h265 video to h264, but my stream is only converting the audio.
I'm not very experienced with how to set this up, as I rarely have to transcode videos.
Below is the generated stream output string:
Code: Select all
:sout=#transcode{vcodec=h264,scale=Auto,acodec=mpga,ab=128,channels=2,samplerate=8000}:file{dst=C:\\Users\\scott\\Documents\\GoTs2\\s2e1.mp4,no-overwrite} :sout-keep
Here's some info from the log:
Code: Select all
core debug: Stream buffering done (313 ms in 0 ms)
core debug: using decoder module "faad"
core debug: looking for encoder module matching "any": 21 candidates
avcodec debug: CPU flags: 0x010053db
core debug: no encoder modules matched
stream_out_transcode error: cannot find audio encoder (module:any fourcc:none). Take a look few lines earlier to see possible reason.
core debug: removing module "faad"
stream_out_transcode error: cannot create audio chain
core error: cannot create packetizer output (mp4a)
core debug: Decoder wait done in 222 ms
core debug: adding a new sout input (sout_input:0805e718)
stream_out_transcode debug: creating video transcoding from fcc=`hevc' to fcc=`h264'
core debug: looking for decoder module matching "any": 43 candidates
avcodec debug: CPU flags: 0x010053db
avcodec debug: trying to use direct rendering
avcodec debug: allowing 4 thread(s) for decoding
avcodec debug: avcodec codec (MPEG-H Part2/HEVC (H.265)) started
avcodec debug: using frame thread mode with 4 threads
core debug: using decoder module "avcodec"
core debug: looking for encoder module matching "any": 21 candidates
x264 debug: version x264 0.142.X
x264 info: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 info: profile High, level 4.0
core debug: using encoder module "x264"
core debug: removing module "x264"
x264 debug: framecount still in libx264 buffer: 0
packetizer_hevc error: Forbidden zero bit not null, corrupted NAL
packetizer_hevc error: Forbidden zero bit not null, corrupted NAL
avcodec warning: cannot decode one frame (644 bytes)
avcodec warning: cannot decode one frame (327 bytes)
packetizer_hevc error: Forbidden zero bit not null, corrupted NAL
packetizer_hevc error: Forbidden zero bit not null, corrupted NAL
packetizer_hevc error: Forbidden zero bit not null, corrupted NAL
Thanks!
Scott