Can't transcode to MP4

About encoding, codec settings, muxers and filter usage
nickj6282
New Cone
New Cone
Posts: 3
Joined: 16 Apr 2008 03:53

Can't transcode to MP4

Postby nickj6282 » 16 Apr 2008 04:12

Hey all,

I'm having an issue converting a file. I've got a Matroshka video file that plays fine in VLC but I can't transcode it to MP4 for my Xbox 360. When I start the encode, I get this error:

Code: Select all

ffmpeg: cannot open encoder stream_out_transcode: cannot find encoder ((null))
I set encapsulation method to mpeg 4, video to mp4v 2048k, audio to mp4a 128k 2 channels. This is on a fresh install of VLC 0.8.6f on Mac OSX 10.4.11. I have screenshots available if anyone would need to see them.

Does anyone have any ideas?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Can't transcode to MP4

Postby Jean-Baptiste Kempf » 16 Apr 2008 07:19

More details!!!

What are the complete messages?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

nickj6282
New Cone
New Cone
Posts: 3
Joined: 16 Apr 2008 03:53

Re: Can't transcode to MP4

Postby nickj6282 » 16 Apr 2008 08:17

Hi, thanks for the reply. Here's what I got from the messages window:

Code: Select all

main debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU main debug: looking for memcpy module: 3 candidates main debug: using memcpy module "memcpymmxext" main debug: waiting for thread completion main debug: thread 42913792 (playlist) created at priority -47 (playlist/playlist.c:184) main debug: waiting for thread completion main debug: thread 42906624 (preparser) created at priority -47 (playlist/playlist.c:210) main debug: looking for interface module: 1 candidate main debug: using interface module "hotkeys" main debug: thread 42153984 (interface) created at priority -47 (interface/interface.c:198) main debug: looking for interface module: 3 candidates main debug: using interface module "macosx" main debug: thread 42051072 (manage) created at priority -47 (interface/interface.c:164) main debug: adding playlist item `mymovie.mkv' ( file:///Users/nick/Movies/mymovie.mkv ) main debug: creating new input thread main debug: waiting for thread completion main debug: thread 43450880 (input) created at priority 37 (input/input.c:265) main debug: creating statistics handler main debug: stream=`transcode' main debug: looking for sout stream module: 1 candidate main debug: stream=`std' main debug: looking for sout stream module: 1 candidate main debug: set sout option: sout-standard-access to file main debug: set sout option: sout-standard-mux to mp4 main debug: set sout option: sout-standard-dst to /Users/nick/Desktop/vlc-output.mp4 stream_out_standard debug: creating `file/mp4:///Users/nick/Desktop/vlc-output.mp4' stream_out_standard debug: extension is mp4 stream_out_standard debug: extension -> mux=mp4 stream_out_standard debug: using `file/mp4:///Users/nick/Desktop/vlc-output.mp4' main debug: looking for sout access module: 1 candidate access_output_file debug: file access output opened (`/Users/nick/Desktop/vlc-output.mp4') main debug: using sout access module "access_output_file" stream_out_standard debug: access opened main debug: looking for sout mux module: 1 candidate macosx debug: input has changed, refreshing interface mux_mp4 debug: Mp4 muxer opened main debug: using sout mux module "mux_mp4" stream_out_standard debug: mux opened main debug: using sout stream module "stream_out_standard" main debug: set sout option: sout-transcode-vcodec to mp4v main debug: set sout option: sout-transcode-vb to 2048 main debug: set sout option: sout-transcode-scale to 1 main debug: set sout option: sout-transcode-acodec to mp4a main debug: set sout option: sout-transcode-ab to 128 main debug: set sout option: sout-transcode-channels to 2 stream_out_transcode debug: codec audio=mp4a 0Hz 2 channels 128Kb/s stream_out_transcode debug: codec video=mp4v 0x0 scaling: 1.000000 2048kb/s main debug: using sout stream module "stream_out_transcode" main debug: `file:///Users/nick/Movies/mymovie.mkv' gives access `file' demux `' path `/Users/nick/Movies/mymovie.mkv' main debug: creating demux: access='file' demux='' path='/Users/nick/Movies/mymovie.mkv' main debug: looking for access_demux module: 0 candidates main warning: no access_demux module matched "file" main debug: creating access 'file' path='/Users/nick/Movies/mymovie.mkv' main debug: looking for access2 module: 6 candidates access_file debug: opening file `/Users/nick/Movies/mymovie.mkv' main debug: using access2 module "access_file" main debug: pre-buffering... main debug: received first data for our buffer main debug: pre-buffering done 1408981 bytes in 0s - 26871 kbytes/s main debug: creating demux: access='file' demux='' path='/Users/nick/Movies/mymovie.mkv' main debug: looking for demux2 module: 44 candidates mkv debug: | + Seek head mkv debug: | | | = cues at 1152953284 mkv debug: | + Unknown (N7libebml8EbmlVoidE) mkv debug: | + Information mkv debug: | | + TimecodeScale=1000000 mkv debug: | | + Muxing Application=libebml v0.7.8 + libmatroska v0.8.1 mkv debug: | | + Writing Application=mkvmerge v1.7.0 ('What Do You Take Me For') built on Mar 9 2008 14:06:58 mkv debug: | | + Duration=2578304 mkv debug: | | + Unknown (N11libmatroska10KaxDateUTCE) mkv debug: | | + UID=1549682026 mkv debug: | + Tracks mkv debug: | | + Track Entry mkv debug: | | | + Track Number=1 mkv debug: | | | + Track UID=1 mkv debug: | | | + Track Type=video mkv debug: | | | + Unknown (N11libmatroska19KaxTrackFlagEnabledE) mkv debug: | | | + Track Default=1 mkv debug: | | | + Unknown (N11libmatroska18KaxTrackFlagForcedE) mkv debug: | | | + Track Lacing=0 mkv debug: | | | + Track MinCache=1 mkv debug: | | | + Track TimeCodeScale=1.000000 mkv debug: | | | + Unknown (N11libmatroska21KaxMaxBlockAdditionIDE) mkv debug: | | | + Track CodecId=V_MPEG4/ISO/AVC mkv debug: | | | + Unknown (N11libmatroska17KaxCodecDecodeAllE) mkv debug: | | | + Track CodecPrivate size=39 mkv debug: | | | + Track Default Duration=41708332 mkv debug: | | | + Track Language=`eng' mkv debug: | | | + Track Video mkv debug: | | | | + width=1280 mkv debug: | | | | + height=720 mkv debug: | | | | + Unknown (N11libmatroska22KaxVideoFlagInterlacedE) mkv debug: | | | | + display width=16 mkv debug: | | | | + display height=9 mkv debug: | | + Track Entry mkv debug: | | | + Track Number=2 mkv debug: | | | + Track UID=3219776757 mkv debug: | | | + Track Type=audio mkv debug: | | | + Unknown (N11libmatroska19KaxTrackFlagEnabledE) mkv debug: | | | + Track Default=1 mkv debug: | | | + Unknown (N11libmatroska18KaxTrackFlagForcedE) mkv debug: | | | + Track Lacing=1 mkv debug: | | | + Track MinCache=0 mkv debug: | | | + Track TimeCodeScale=1.000000 mkv debug: | | | + Unknown (N11libmatroska21KaxMaxBlockAdditionIDE) mkv debug: | | | + Track CodecId=A_AC3 mkv debug: | | | + Unknown (N11libmatroska17KaxCodecDecodeAllE) mkv debug: | | | + Track Default Duration=32000000 mkv debug: | | | + Track Language=`und' mkv debug: | | | + Track Audio mkv debug: | | | | + afreq=48000 mkv debug: | | | | + achan=6 mkv debug: | + Unknown (N7libebml8EbmlVoidE) mkv debug: | + Cluster mkv warning: cannot find any cluster, damaged file ? mkv debug: loading cues mkv debug: loading cues done. mkv debug: found 2 es main debug: selecting program id=0 mkv debug: Starting the UI Hook main debug: thread 44169728 (mkv event thread handler) created at priority -47 (mkv.cpp:2523) main debug: using demux2 module "mkv" main debug: looking for a subtitle file in /Users/nick/Movies/ main debug: looking for packetizer module: 17 candidates packetizer_h264 debug: found NAL_SPS packetizer_h264 debug: found NAL_PPS packetizer_h264 debug: avcC length size=4, sps=1, pps=1 main debug: using packetizer module "packetizer_h264" main debug: stream out mode -> no decoder thread main debug: looking for packetizer module: 17 candidates main debug: using packetizer module "a52" main debug: stream out mode -> no decoder thread main debug: starting in async mode main debug: `file:///Users/nick/Movies/mymovie.mkv' successfully opened main debug: adding a new input stream_out_transcode debug: creating video transcoding from fcc=`h264' to fcc=`mp4v' main debug: looking for decoder module: 25 candidates ffmpeg debug: libavcodec initialized (interface 3349504 ) ffmpeg debug: postprocessing disabled ffmpeg debug: ffmpeg codec (h264) started main debug: using decoder module "ffmpeg" main debug: looking for encoder module: 8 candidates ffmpeg debug: libavcodec already initialized ffmpeg debug: found encoder MPEG-4 Video main debug: using encoder module "ffmpeg" main debug: removing module "ffmpeg" main warning: trying to send non-dated packet to stream output! stream_out_transcode debug: decoder aspect is 768000:432000 stream_out_transcode debug: source pixel aspect is 1.000000:1 stream_out_transcode debug: scaled pixel aspect is 1.000000:1 stream_out_transcode debug: source 1280x720, crop 1280x720, destination 1280x720, padding 1280x720 stream_out_transcode debug: encoder aspect is 768000:432000 main debug: looking for encoder module: 8 candidates ffmpeg debug: libavcodec already initialized ffmpeg warning: timebase not supported by mpeg 4 standard (mpeg4@0x2a3be10) ffmpeg error: cannot open encoder stream_out_transcode error: cannot find encoder ((null)) ffmpeg debug: ffmpeg codec (h264) stopped main debug: removing module "ffmpeg" a52: A/52 channels:6 samplerate:48000 bitrate:384000 main debug: adding a new input stream_out_transcode debug: creating audio transcoding from fcc=`a52 ' to fcc=`mp4a' main debug: looking for decoder module: 25 candidates main debug: using decoder module "a52" main debug: looking for encoder module: 8 candidates ffmpeg debug: libavcodec already initialized ffmpeg debug: found encoder MPEG AAC Audio main debug: using encoder module "ffmpeg" main debug: looking for audio filter2 module: 5 candidates main debug: using audio filter2 module "a52tofloat32" main debug: looking for audio filter2 module: 5 candidates audio_format debug: fl32->s16l, bits per sample: 32 main debug: using audio filter2 module "audio_format" main debug: adding a new input mux_mp4 debug: adding input a52: A/52 channels:6 samplerate:48000 bitrate:384000
If you need the CrashLog I can zip it up and post it somewhere as well. Thanks for your help!

johansyd
Blank Cone
Blank Cone
Posts: 25
Joined: 27 Feb 2008 11:10

Re: Can't transcode to MP4

Postby johansyd » 16 Apr 2008 17:01

Use MpegStreamClip:

http://www.squared5.com/

nickj6282
New Cone
New Cone
Posts: 3
Joined: 16 Apr 2008 03:53

Re: Can't transcode to MP4

Postby nickj6282 » 19 Apr 2008 03:20

Johansyd,

Thanks for the input. I tried MpegStreamClip and it doesn't recognize the input format. It won't open the .mkv file.

Does anyone have any other ideas? I tried doing the same thing in both Windows and Linux but I either get an audio-only file or I get nothing. Not even an error message.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 6 guests