I used TEncoder about 6 months ago to change the audio codec on four x265 movies, setting the video codec to Direct Copy. It worked flawlessly. The output was an x265 video with zero quality loss and a different audio codec in perfect sync with the video. I tried to use it the same way yesterday and now, even on Direct Copy of the video, the conversion file has sound only, no video. If I start over and click "Preview", the app freezes. It seems to work ok on files with other video codecs like mp4. The problem seems to be with x265, even on Direct Copy of video. Other apps, like VLC, will play the x265 files fine on my PC. Does anyone have any ideas on what has changed, either in the app, settings, or my PC? Thanks in advance for any advice.
+ Reply to Thread
Results 1 to 12 of 12
-
-
-
I'll rephrase it. The video is already x265 and I want to change the audio codec. The x265 file, before conversion, plays fine with VLC and also Media Player Classic on my PC. Then I use TEncoder. TEncoder accepts the file, I set the video codec at "Direct Copy" and choose the audio codec, and choose FFMpeg as the encoder . TEncoder goes through the conversion process, but the resulting file plays a converted audio stream but no video stream. If I start over and set things as before, and before I start the conversion I select "Preview", then TEncoder freezes. However, 6 months ago it worked perfectly. I am still using the same Win 7 PC. I use TEncoder 64 bit portable. I also tried older versions and the 32 bit version, all behave exactly the same. I just ran MediaInfo, it reports there is a converted video stream giving the results I expect, 59.94 FPS, HEVC, 1920x1080, 2hr 18min, 1.86G file size. However this converted file will not play in VLC (or Media Player Classic). MPC reports an error, I am attaching the MPC report.
-
It seems that this conversion did not produce any recognized container. Did you select any target container in TEncoder? Also, which is your target audio codec?
It would be useful to see an extended MediaInfo report (you could use MediaInfo.NET by stax76 as GUI), or have two small sample files (original and converted).Last edited by LigH.de; 30th Oct 2019 at 08:05.
-
Here are the mediainfo results.The first one, mi.txt, which says "Opus" in the complete name, is the unconverted file that plays fine. The second one, mi2.txt, has AAC in the complete name, and is the one giving the video problem. Hope they tell you something. I sincerely appreciate your help.
-
That is, mi2.txt is the converted file with TEncode, which has the video codec as "Direct Copy". The container is mkv, but changing it to mp4 didn't make a difference.
-
Have you tried opening the file in Graphstudio? Do you get a valid graph and does it play?
-
I just tried Graaphstudio as suggested. The converted file does not give a graph, just one square with the file name and it does not play. The unconverted original does show a graph and does play
-
Have you tried remuxing the file in MKVtoolnix and see if the resultant file works?
If not, perhaps you can provide a small sample for the forum to investigate
Perhaps you should check the log. I downloaded Tencoder and tried the x265 > copy, vorbis > aac and it worked OK
here's my log
Code:Encoder 1 log Encoder 1 command lines: -y -itsoffset 0 -threads 4 -i "F:\Documents and Settings\Dave Xnet\Desktop\Dave video shortcuts\x265Beatles Blackpool 1965\I Feel Fine (Blackpool).mkv" -c:v copy -map 0:0 -map 0:1 -strict experimental -c:a aac -ab 128k -af aresample=resampler=soxr -ar 44100 -ac 2 "F:\Documents and Settings\Dave Xnet\Desktop\Dave video shortcuts\tenc\x265Beatles Blackpool 1965\I Feel Fine (Blackpool).mkv" Encoder 1 console outputs: ffmpeg version N-76860-g72eaf72 Copyright (c) 2000-2015 the FFmpeg developers built with gcc 5.2.0 (GCC) configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib libavutil 55. 9.100 / 55. 9.100 libavcodec 57. 16.100 / 57. 16.100 libavformat 57. 19.100 / 57. 19.100 libavdevice 57. 0.100 / 57. 0.100 libavfilter 6. 15.100 / 6. 15.100 libswscale 4. 0.100 / 4. 0.100 libswresample 2. 0.101 / 2. 0.101 libpostproc 54. 0.100 / 54. 0.100 Input #0, matroska,webm, from 'F:\Documents and Settings\Dave Xnet\Desktop\Dave video shortcuts\x265Beatles Blackpool 1965\I Feel Fine (Blackpool).mkv': Metadata: COMPATIBLE_BRANDS: isomavc1mp42 MAJOR_BRAND : mp42 MINOR_VERSION : 0 ENCODER : Lavf57.19.100 Duration: 00:02:37.99, start: 0.000000, bitrate: 619 kb/s Stream #0:0: Video: hevc (Main), yuv420p(tv), 352x288 [SAR 12:11 DAR 4:3], 24.99 fps, 24.99 tbr, 1k tbn, 24.99 tbc (default) Metadata: CREATION_TIME : 2008-10-20 03:44:28 HANDLER_NAME : (C) 2007 Google Inc. v08.13.2007. ENCODER : Lavc57.16.100 libx265 DURATION : 00:02:37.565000000 Stream #0:1: Audio: vorbis, 44100 Hz, stereo, fltp (default) Metadata: CREATION_TIME : 2008-10-20 03:44:28 HANDLER_NAME : (C) 2007 Google Inc. v08.13.2007. ENCODER : Lavc57.16.100 libvorbis DURATION : 00:02:37.991000000 [matroska @ 018f7020] Codec for stream 0 does not use global headers but container format requires global headers Output #0, matroska, to 'F:\Documents and Settings\Dave Xnet\Desktop\Dave video shortcuts\tenc\x265Beatles Blackpool 1965\I Feel Fine (Blackpool).mkv': Metadata: COMPATIBLE_BRANDS: isomavc1mp42 MAJOR_BRAND : mp42 MINOR_VERSION : 0 encoder : Lavf57.19.100 Stream #0:0: Video: hevc, yuv420p, 352x288 [SAR 12:11 DAR 4:3], q=2-31, 24.99 fps, 24.99 tbr, 1k tbn, 1k tbc (default) Metadata: CREATION_TIME : 2008-10-20 03:44:28 HANDLER_NAME : (C) 2007 Google Inc. v08.13.2007. ENCODER : Lavc57.16.100 libx265 DURATION : 00:02:37.565000000 Stream #0:1: Audio: aac ([255][0][0][0] / 0x00FF), 44100 Hz, stereo, fltp, 128 kb/s (default) Metadata: CREATION_TIME : 2008-10-20 03:44:28 HANDLER_NAME : (C) 2007 Google Inc. v08.13.2007. DURATION : 00:02:37.991000000 encoder : Lavc57.16.100 aac Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (vorbis (native) -> aac (native)) Press [q] to stop, [?] for help frame= 3937 fps=252 q=-1.0 Lsize= 12423kB time=00:02:38.01 bitrate= 644.1kbits/s video:9879kB audio:2468kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.621767% [aac @ 0190ac20] Qavg: 660.653
Last edited by davexnet; 30th Oct 2019 at 17:37.
-
It doesn't run. Here is the MKVToolNix output.
I have a second HD on my PC with Win XP on it and nothing else installed. I ran the 32 bit portable version of TEncoder and it did exactly the same thing. Is there any setting I could have wrong? I'm doing Direct Copy, AAC audio, FFMped encoder, and same video size and aspect ratio in the options, although with Direct Copy i don't why that would matter. I tried mkv and mp4 containers. -
matroska @ 018f7020] Codec for stream 0 does not use global headers but container format requires global headers
On top of that there is the error message from mkvmerge. Those I've seen happen when files become corrupted (e.g. hardware errors from RAM or buggy USB).
So there may be multiple problems with the files.
Similar Threads
-
Question about TEncoder
By TheRandomOne in forum Video ConversionReplies: 1Last Post: 22nd Feb 2018, 11:54 -
Problem with SubtitleWorkshop & x265
By Moralez in forum Newbie / General discussionsReplies: 4Last Post: 8th Apr 2017, 23:31 -
x265 crf/cqp problem
By nixiejames in forum Video ConversionReplies: 4Last Post: 28th Feb 2016, 23:38 -
Is x265 ready for Primetime.. Migrating From x264 to x265..
By RazorBurn in forum Video ConversionReplies: 83Last Post: 31st Jan 2016, 07:14 -
MeGUI x265 Problem With Audio ..
By ashvolcano99 in forum Video ConversionReplies: 1Last Post: 18th Dec 2015, 12:47