Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Linux, Mac OS X, & Co
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 30th October 2013, 09:54   #641  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,844
ChangeLog for version 9.7.1
Code:
* Enabled multi-channel support for Opus audio
* Moved the MKV audio filters metadata after the audio codec/language metadata
* Fixed copy and pcm audio encoding
* If user chooses PCM for subsequent audio tracks, don't error out but just skip the track
* Some minor clean-ups
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 31st October 2013, 13:06   #642  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,844
ChangeLog for version 9.7.2
Code:
* Fixed exporting of the NERORMAUD variable to the batch file
* Implemented support for virtually an infinite amount of subtitles. This introduces a new variable,
MAX_AMOUNT_SUBS, to the config file where the user can set the amount of subtitles he/she wants h264enc to support
* Added output name to the message of the mail notification feature
* Fixed the nosound audio option
* renamed the rmtemp() function to exit_func()
* Return proper exit codes. 0 on success, 1 on error and 2 on user interrupt
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 1st November 2013, 07:30   #643  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,844
ChangeLog for version 9.7.3
Code:
* Merged the file and dvd audio detection/selection code
* Merged the audio code for the first and subsequent tracks
* Set a default audio ID based on input (ie, 0 for file and 128 for DVD)
* Use -demuxer lavf for file and dir input
* Small improvements to the subtitles code
* Renamed the -help switch to -h
* Improved the way audio tracks information is presented to the user
* Make destination dir if it doesn't exist for saving to the batchfile
* Updated the man page
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 2nd November 2013, 19:36   #644  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,844
ChangeLog for version 9.7.4
Code:
* Fixed copying of E-AC-3 audio
* Set default value for 3D frame packing to 3 (side by side)
* Moved some audio selection code into the new set_audio_codec_func() function.
Reduces some code duplication and removes the default_audio_codec_func() function
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 8th November 2013, 15:02   #645  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,844
ChangeLog for version 9.7.5
Code:
* Added support for importing a chapters file for MKV/MP4/OGM when input is file
* Added support for setting the audio language code for MKV/MP4/OGM/TS when input is file
* Added support for setting the subtitle language code when importing subs into MKV/MP4/OGM
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 15th November 2013, 13:12   #646  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,844
ChangeLog for 9.7.6
Code:
* Allow importing of PGS subtitles into the MKV container
* Improved chapters file handling for MKV/MP4/OGM when input is file
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 3rd January 2014, 23:09   #647  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,844
ChangeLog for version 9.7.7
Code:
* Allow relative paths when storing options to the batchfile
* Updated copyright dates
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 18th January 2014, 19:59   #648  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,844
ChangeLog for version 9.7.8
Code:
* New variable in the config file, DELETE_AVI_AFTER_REMUX, to automatically delete the AVI file after remuxing. This updates the config file version to 27
* Renamed the 480 and 576 params of the colorprim_func() function to ntsc and pal
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 2nd February 2014, 21:18   #649  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,844
ChangeLog for version 9.7.9
Code:
* Added support for hardcoding embedded subtitles in files
* Use -nosub for hadrcoding an external subtitle to prevent auto-loading of any embedded subtitles in the input
* Use -ao null instead of -nosound
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 4th February 2014, 19:43   #650  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
Quote:
Use -ao null instead of -nosound
Shouldn't they do different things?
"-ao null" = should dump the audio output to null, but still do audio processing (scanning for audio streams)
"-nosound" = disable all audio processing
since '-ao null' is an mplayer only option, don't you also use mencoder?
__________________
Hybrid here in the forum, homepage

Last edited by Selur; 4th February 2014 at 19:55.
Selur is offline   Reply With Quote
Old 4th February 2014, 20:06   #651  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,844
Quote:
Originally Posted by Selur View Post
Shouldn't they do different things?
"-ao null" = should dump the audio output to null, but still do audio processing (scanning for audio streams)
"-nosound" = disable all audio processing
since '-ao null' is an mplayer only option, don't you also use mencoder?
Current SVN mplayer, when used with -nosound, seems to process the whole input even though I told it to just process 1 frame (-frames 1). I accidentally found this while trying to "unlock" a DVD disc. It was trying to process the whole disc while the intended behavior should be to just process 1 frame. Replacing -nosound with -ao null brought back the intended behavior

-ao null is only used in the mplayer code, not mencoder
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 5th February 2014, 04:51   #652  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
Yeah, latest mplayer is broken in a lot of place, see: https://trac.mplayerhq.hu/ticket/2172#comment:5 (seems like trac.mplayerhq.hu is down atm.)
Quote:
-ao null is only used in the mplayer code, not mencoder
ah okay, if you find a way in mencoder to avoid -nosound and still disable audio processing, please let me know.
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 13th February 2014, 03:04   #653  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,844
ChangeLog for version 9.8.0
Code:
* Bugfix: dumping subs did not work when input is a VIDEO_TS DVD folder. Patch by Harry Gunnarsson
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 28th February 2014, 21:35   #654  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
Stumbled over https://sourceforge.net/p/opencore-amr/mailman/message/31945744/ (I'm also interested to include aac-enc into Hybrid on MacOSX and would also require pipe support) and read:
Quote:
This means that you're trying to write a 32 bit float wav. It only supports 16 bit integer wav files. I'm not sure how to specify this in mplayer syntax though.
If you add "-af format=s16le" to your mplayer call the output should be 16bit.
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 28th February 2014, 21:59   #655  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,844
Quote:
Originally Posted by Selur View Post
Stumbled over https://sourceforge.net/p/opencore-amr/mailman/message/31945744/ (I'm also interested to include aac-enc into Hybrid on MacOSX and would also require pipe support) and read:

If you add "-af format=s16le" to your mplayer call the output should be 16bit.
Ah, thanks! But I'm waiting until the named pipe support is available in upstream before I add support for fdk-aac, so users don't have to compile a "special" branch from git
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 1st March 2014, 09:22   #656  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
Did it work for you?
I just tested:
1. created fifo:
Code:
mkfifo -m 777 /Users/selur/Desktop/temp/HybridTempPipe_08_04_53_9610_02_audio.wav
2. connected main process to pipe:
Code:
"/Users/selur/aac-enc" -r 128000 -t 2 "/Users/selur/TempPipe_08_04_53_9610_02_audio.wav" "/Users/selur/Desktop/temp/iId_1_aid_0_DELAY_-43ms_08_04_53_9610_02.aac"
3. feed pipe:
Code:
"/Users/selur/ ffmpeg" -y -threads 2 -v -10 -i "/Users/selur/Desktop/temp/iId_1_aid_0_DELAY_-43ms_08_04_53_9610_01.aac" -ac 2 -ar 44100 -f sox - | "/Users/selur/sox" --multi-threaded --ignore-length --temp "/Users/selur/Desktop/temp" --buffer 524288 -S -t sox - -b 16 -t wav "/Users/selur/Desktop/temp/TempPipe_08_04_53_9610_02_audio.wav" rate 48k
problem is that the output is only 682 byte large.
(the sox part is used to make sure the output is 16 bit wav)

My guess is that something like 'ignore length' might be needed. (since the header of the wave sox will output, will have a wrong length)
If I don't use the named pipe but simply use intermediate files everything works, so seems to me that the pipe support isn't working.

Cu Selur

Ps.: open an issue in the bug tracker
__________________
Hybrid here in the forum, homepage

Last edited by Selur; 1st March 2014 at 09:33.
Selur is offline   Reply With Quote
Old 1st March 2014, 10:32   #657  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,844
Doesn't work here either, get a 512 bytes output and a message "Could not seek to start, WAV size headers not updated!"
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 1st March 2014, 19:03   #658  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
Got some feedback to the issue in the bug tracker and sox seems to use slightly other wav headers than ffmpeg -> I'll have to wait for sox wave header support
Update:
-> sox problem got fixed by using normal and not named pipes
But now I found a new problem, aac-enc doesn't like wav files with more than 2 channels.
__________________
Hybrid here in the forum, homepage

Last edited by Selur; 6th March 2014 at 16:07. Reason: udpate
Selur is offline   Reply With Quote
Old 12th March 2014, 17:12   #659  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,844
Martin told me to pull the latest from this branch https://github.com/mstorsjo/fdk-aac/commits/read-streamed-wav
So I did and compiled it. It now works when encoding from a named pipe

mkfifo audio.wav
/usr/local/bin/aac-enc -r 96000 -t 2 -a 1 audio.wav output.aac &
mplayer Sample720p60.ts -vo null -vc dummy -af format=s16le -ao pcm:fast:file=audio.wav

This produces a file that can be played by both mplayer and vlc (didn't test others)

So when these changes land in the stable branch, I'll add support for this encoder in h264enc
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 12th March 2014, 18:54   #660  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
Yup, now multi-channel input works fine.
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Reply

Tags
h264enc, ipod, mencoder, ps3, xbox360


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 00:17.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.